LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting unrecognized switch no matter what I try with sendEmail (https://www.linuxquestions.org/questions/linux-software-2/getting-unrecognized-switch-no-matter-what-i-try-with-sendemail-4175452715/)

troyd1 03-04-2013 07:01 PM

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.

Kustom42 03-04-2013 07:06 PM

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.

troyd1 03-04-2013 07:21 PM

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?

Kustom42 03-04-2013 07:25 PM

Read

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


Should be all you need

chrism01 03-04-2013 07:26 PM

Can you post the output of
Code:

cat /etc/*release*

troyd1 03-04-2013 07:29 PM

Fedora Core release 1 (Yarrow)
Fedora Core release 1 (Yarrow)

Showed it twice.

troyd1 03-04-2013 07:35 PM

I will also need to send authentication as well to the isp server.

troyd1 03-04-2013 08:30 PM

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


All times are GMT -5. The time now is 09:39 PM.