Why do you need an SMTP server? You need an SMTP client talking to whichever SMTP server your hosting provider provides you. e.g. https://github.com/PHPMailer/PHPMailer (I only remember it because of a security flaw published about it last week, but it's PHP so... meh.)
On 6 January 2017 at 07:34, Steve Litt <sl...@troubleshooters.com> wrote: > On Thu, 5 Jan 2017 14:45:58 +0100 > Tzafrir Cohen <tzaf...@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 > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- <http://au.linkedin.com/in/gliderflyer>
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il