http://www.perlmonks.org?node_id=424633


in reply to Exim, for the love of Perl
in thread Which MTA is best to use with Perl....

However, only Exim can save you in the above scenario,
Well, not only Exim can save you. Sendmail can do all of this too. User validity checks, spam filtering, dropping after RCPT TO:, are all supported either natively, or in ways that require some minimal Perl scripting under MIMEDefang or Sendmail::PMilter.

If you're using MIMEDefang you can run your Perl code preforked in a separate process and multiplex across them -- no need to have a 1:1 mapping of incoming SMTP connects to Perl processes. I think Sendmail::PMilter can do this, too, but I've not had the opportunity to look at it in detail.

Exim may be a good MTA, but it's not the only choice for doing this sort of stuff.

Replies are listed 'Best First'.
Re: Other options
by nerfherder (Monk) on Jan 24, 2005 at 18:44 UTC
    Good point - I should specify that in the particular case that I was thinking of, Exim was a drop-in replacement for sendmail, and the mysql check was easily configured. In that instance, BTW, the Perl was daemonized.

    Exim is not the only choice, but like perl, makes easy things easy and hard things possible. This is why I think it's a good match for Perl :-)