Re: sendmail path [OT]



Tony Houghton <h@xxxxxxxxxxx> wrote:

On Wed, 23 Jul 2008 23:14:05 +0200
Andrzej Adam Filip <anfi@xxxxxxx> wrote:

If the script sends more serious amounts of mail then use Net::SMTP to
send via 127.0.0.1:25 for performance reasons.

It's just for notification on the odd occasion a news posting is
rejected so there isn't really a performance issue. Net::SMTP would
probably be preferable anyway, but I never learnt perl to the extent
that it's a familiar language to me, and I use it even less these days
so I'd rather avoid such a big change.

If you want only occasional notifications via email then forget about
Net::SMTP. *Sometimes* 127.0.0.1:25 is inaccessible (e.g. due to slow
service start or overload protection) so "sendmail (like) binary"
*SHOULD* be used as fall-back anyway.

Executing directly "sendmail (like) binaries" consumer more resources
*but* it "exports" care about many "special cases".

--
[pl>en Andrew] Andrzej Adam Filip : anfi@xxxxxxxxxxxx : anfi@xxxxxxxx
I knew one thing: as soon as anyone said you didn't need a gun, you'd better
take one along that worked.
-- Raymond Chandler
.