I have used neither and I would really look towards exim4 or one of the other mail frontends to do all the queueing etc., especially if this is going to be a hurried replacement.
Later on, you can still implement forwarding rules to a (local) different mailserver written in Perl.
I'd look at qpsmtpd (old, but likely still usable), and AnyEvent::SMTP, but both parse the complete mail before handing it off to you.
Alternatively, as long as you can assume that all incoming mail will be well-behaved, maybe just faking the SMTP protocol from a plain socket is Just Enough - but I'd still look towards a proven mail server first and gradually replace it by forwarding selected mails to other servers.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.