[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#367200: ITP: libemail-send-perl -- Simply Sending Email

Henning Makholm <henning@makholm.net> writes:
> Scripsit Russ Allbery <rra@debian.org>

>> 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 (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: