Henning Makholm <[EMAIL PROTECTED]> writes:
> Scripsit Russ Allbery <[EMAIL PROTECTED]>

>> More generally, Perl modules to send mail rather than using
>> /usr/sbin/sendmail are often useful with web applications (or other
>> applications that need security isolation) that are running in a
>> chroot.  To use /usr/sbin/sendmail in the chroot requires setting up a
>> chroot maildrop, and while there are packages to do this, using some
>> module that can speak SMTP is often the path of least resistance.

> Why not just install some software that can speak SMTP as the chroot's
> /usr/bin/sendmail? E.g. nullmailer.

nullmailer has to run as a daemon so far as I know (it at least does in
the default Debian configuration) and still uses a local maildrop.  It
therefore requires explicit setup and configuration outside of the context
of the CGI script or other application.  A Perl module to send mail via
SMTP is entirely self-contained and doesn't rely on any system service
being installed.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to