Hi Monks, i need a little bit of advice.

In 'my' production plant i have a separate network (very limited outside access). Many programs and some of the RAID controllers send status messages (for example "disk failed on server X in array y") via Email.

Our current mailserver is currently dying, so in need to replace it. Of course, i could just set up a new linux box and stuff one of the standard mailserver on it (done that enough times). But, what i actually want to do is set up a Perl based server that stuffs everything into my database. From there, my existing software could just update the computer status database and bugtracker.

Most of it is quite clear to me and i found a number of modules to play SMTP server and parse the mails. But i'm just not sure which ones i should use. Haven't done that for a decade or so.

So i'm hereby asking you for your advice which modules you recommend to use for running a basic SMTP server and to parse the Emails. The mails are all plaintext, i'm mostly need sender, reciever, title and some keywords (=regex) from the body anyway. No SPAM check, no validation.

I'd probably just go and random-test some modules till i find what i like - but my hardware guy assures me the old mail server won't survive next weekend (he's usually right about such things), so i'm in a tiny little bit of a hurry.

You don't need to post example code or anything, a pointer in the right direction will be very much appreciated.

Thank you in advance!

BREW /very/strong/coffee HTTP/1.1
Host: goodmorning.example.com

418 I'm a teapot

In reply to SMTP Server - which module by cavac

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.