This is only a Perl problem once you know how to "hook in" to your eMail software. If you're using sendmail, qmail, procmail, or postfix, there are different mechanisms for doing this. Something like a .forward (or .qmail, or .vacation) file might be what you are looking for.

Check the appropriate manual pages for your OS and/or eMail delivery agent. (Note that the program which delivers eMail, the MDA - e.g. "procmail" - may not be the program which receives eMail from the network, the MTA - e.g. "sendmail")

The next question would be, what do you want to do? Simply replying with a text message can be done by any of the above MDA's. If you want to do something more complex, we'll need to know more about your OS and MDA set-up.


In reply to Re: Looking for Email auto-responder by baku
in thread Looking for Email auto-responder by gambler

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.