i'm getting really sick of having to babysit the company's mailserver every time some client sends out a bulk mail ... because all of the bounces toss the load average on the box up to something hideous, like 40 ... eventually i'll need to tackle that job, but in the meantime i've been thinking of creating a new alias to handle the bounces ...

a lot of the nodes i've seen deal with parsing mboxes, not with taking the mail off of STDIN. i know i'll hit a bottleneck ... so maybe there's a better way to architect it.

in the meantime, with of the some 10,000 odd Mail::* modules are recommended for:

1. lopping off the attachment ( the orig. message is attached )
2. parsing the message for the bad email address in the To: field.

i was originally looking at Mail::Header ... then I realized the messages have the original mail *attached*.

Mail::Message::Attachment::Stripper looks OK, but i'm wondering (out loud, i guess) if i can just pass the attachment to Mail::Header to yank out the orig. To: field


In reply to [Module recommendation ] parsing incoming email (piped to a script) by geektron

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.