LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to use ssmtp or sendmail in ubuntu ? (https://www.linuxquestions.org/questions/linux-server-73/how-to-use-ssmtp-or-sendmail-in-ubuntu-4175465425/)

ronics 06-10-2013 09:28 AM

How to use ssmtp or sendmail in ubuntu ?
 
Dear all,

I can use sendmail easily in RHEL but sendmail package is no avialable for Ubuntu 12. I tried ssmtp but the mail does not work.

the mail sending format is

ssmtp a@yahoo.com
message

^D
I have configured /etc/ssmtp/ssmtp.conf too.

lykwydchykyn 06-10-2013 09:42 AM

Most MTA packages should provide you with a sendmail executable so you can use it transparently as a drop-in replacement. I like postfix myself, very straightforward to configure.

ronics 06-10-2013 09:44 AM

Can you provide me postfix configuration file... and packages....

TB0ne 06-10-2013 10:02 AM

Quote:

Originally Posted by ronics (Post 4968897)
Dear all,
I can use sendmail easily in RHEL but sendmail package is no avialable for Ubuntu 12.

Sorry, that's wrong. ssmtp IS available for Ubuntu 12, as is sendmail:
http://packages.ubuntu.com/search?keywords=ssmtp
http://packages.ubuntu.com/search?keywords=sendmail

You can install either with your software manager easily.
Quote:

I tried ssmtp but the mail does not work.

the mail sending format is

ssmtp a@yahoo.com
message ^D
I have configured /etc/ssmtp/ssmtp.conf too.
Just saying "does not work" tells us nothing. As in your OTHER thread, unless you provide details, there's little anyone can help you with.
Quote:

Originally Posted by ronics
Can you provide me postfix configuration file... and packages....

No, you can get the package as you get the other packages for Ubuntu. Have you even TRIED to look for any of these packages???
http://packages.ubuntu.com/search?keywords=postfix

And no one can give you a configuration for your environment, that's up to you.


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