sendmail or ssmtp or ??

sendmail or ssmtp or ??

Tzafrir Cohen tzafrir at cohens.org.il
Thu Jan 5 15:45:58 IST 2017


On Thu, Jan 05, 2017 at 02:44:00PM +0200, David Suna wrote:
> I have an Ubuntu machine that I am using to develop PHP based web
> application. I now need to configure it so that PHP can send out mail. The
> default seems to be to install sendmail. However, I have seen comments that
> sendmail is overkill and some references to ssmtp.

The main difference is that ssmtp and nullmailer (and other similar
"sendmails") don't queue. This greatly simplifies them.

> 
> What would be the recommended way to configure this? Sendmail, ssmtp or
> something else?

I tried using ssmtp for some servers. It lacked too many basic features.
Nullmailer came closer. I don't recall the specific issues now, though.
But I ended up using either postfix. Or even exim4 in some cases where I
didn't bother.

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend



More information about the Linux-il mailing list