I'm assuming you are using Linux or Unix. My take is that any of Sendmail, Exim or Postfix are fine as MTAs and as a starting point would consider whichever is a default on your OS or distro, as it's more likely to have a good basic setup out of the box. I've used all 3 at various times. My perception is that as any of these MTAs is more than sufficiently performant for common use cases, the complexity of configuration is a big deciding factor if you are considering choosing a non-default MTA for your OS.

Sendmail, the oldest widely-used MTA, has a notoriously opaque low-level config file, though there are some higher level abstractions available; I therefore rank Sendmail as worst for configuration complexity. When Postfix was supplied with a new (to us) OS version some years ago, I rather fell in love with the comparative simplicity and power of its configuration and so now use Postfix personally, whenever I have a choice. Exim has an intermediate level of difficulty.

So what about MIME::Lite and its use of "sendmail". Well, it so happens that both Exim and Postfix come with a "sendmail" command as standard, which mimics at least the core functionality of Sendmail's CLI. MIME::Lite looks in /usr/bin/sendmail, /usr/sbin/sendmail and then for a sendmail command in your PATH. So it's likely to work just fine with any of these MTAs without any work. I'll leave the question (also mentioned by 1nickt) of whether to use MIME::Lite given the statement these days in its documentation that it's no longer recommended (though I have used it without problem in years gone by).


In reply to Re: MTA for Perl by philipbailey
in thread MTA for Perl by Bod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.