LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2013, 07:01 PM   #1
troyd1
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Rep: Reputation: Disabled
Getting unrecognized switch no matter what I try with sendEmail


I have been trying to find a simple to use command line client that I can script to send an email to my isp's smtp server. We have a linux server that has out production environment on it and I have tried to configure Mutt to send invoices and quotes using a script, but I keep getting a lot of emails blocked so am looking for alternatives. I thought sendEemail would be perfect, but I cannot get it to work. Even doing sendEmail -h gives me Unrecognized switch -####### many more #'s. Any help or suggestions would be greatly appreciated.
 
Old 03-04-2013, 07:06 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Why arent you just using postfix and relaying email? Super easy and plenty of guides. The centos wiki has an easy guide. All you ahve to do is install and set your ISPs SMTP server in the config file.
 
Old 03-04-2013, 07:21 PM   #3
troyd1
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
I have searched for packages and installs, but am not sure what to choose. I inherited this system and upgrading is not an option at this time. Here is what my uname says: Linux jserver 2.4.22.2115.nptl #1 wed Oct 29 15:42:51 EST 2003 i686 athlon i386 GNU/Linux.

My system uses RPM. I can get around in linux but am not an expert.

Suggestions please?
 
Old 03-04-2013, 07:25 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Read

http://www.linuxquestions.org/questi...oxy-4175451551


Should be all you need
 
Old 03-04-2013, 07:26 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,352

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Can you post the output of
Code:
cat /etc/*release*
 
Old 03-04-2013, 07:29 PM   #6
troyd1
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Fedora Core release 1 (Yarrow)
Fedora Core release 1 (Yarrow)

Showed it twice.
 
Old 03-04-2013, 07:35 PM   #7
troyd1
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
I will also need to send authentication as well to the isp server.
 
Old 03-04-2013, 08:30 PM   #8
troyd1
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ok, I went here: http://postfix.wl0.org/en/available-packages/ based on the release command, I downloaded via ftp the postfix 2.2.3 package and installed it. I changed the relayhost. Not sure how to test. I tried using the mutt command I was using, but it seems to be sending it the same as before. Not sure what to do or where to go from here. Any help would be greatly appreciated.

Thanks, Troy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using sendEmail inside a bash script. Batistuta_g_2000 Linux - Newbie 7 02-20-2013 07:30 AM
setup sendEmail to get alert from Nagios AHUN Linux - Newbie 2 12-19-2012 10:47 PM
sendEmail: Script and Array Kashif_Bash Programming 3 04-22-2012 03:33 AM
email issue for sendemail pattanaikhr General 2 05-20-2011 06:59 AM
Sendemail configuration. ArthurHuang Linux - Networking 2 05-19-2009 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration