sendmail or ssmtp or ??

sendmail or ssmtp or ??

Steve Litt slitt at troubleshooters.com
Thu Jan 5 22:34:59 IST 2017


On Thu, 5 Jan 2017 14:45:58 +0100
Tzafrir Cohen <tzafrir at cohens.org.il> wrote:

> 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.

Nullmailer queues. It doesn't perform some other SMTP functionalities,
but it queues. You can see it happen by ls'ing the queue directory
while sending a bunch of email with it.

I've never been able to have Nullmailer deliver messages to my local
machine, probably because I just don't know how.

SteveT

Steve Litt 
December 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21



More information about the Linux-il mailing list