procmail autoreplies

From: Charles Louis Steinhardt (cstNOSPAMeinh_at_fas.harvard.edu)
Date: 03/13/05

  • Next message: J.O. Aho: "Re: procmail autoreplies"
    Date: Sun, 13 Mar 2005 19:50:20 +0000 (UTC)
    
    

     I'm trying to do something that *should* be very simple:

    For all email that follows certain procmail rules, I want to send a reply to the address it
    came from. However, I want to do this through procmail because the various perl scripts that
    are written to do this involve libraries that aren't installed on my machine and after
    spending an hour trying to get them all in the right places, I gave up.

    Basically, I want to do something like this:

    :0w
    * ^(To|Cc|Received):.+username
    {
    FROMLINE = ^From
    | mail $FROMLINE < ${HOME}/reply.txt
    }

    But of course that FROMLINE = ^From isn't correct.

    How do I pick out the sender's email address using procmail?


  • Next message: J.O. Aho: "Re: procmail autoreplies"

    Relevant Pages

    • using procmail rules to handle old maildir
      ... I've set up postfix on a new box with maildir support, ... Now i would like to sort all my old mail using the procmail rules i have ...
      (freebsd-questions)
    • Re: using procmail rules to handle old maildir
      ... > using procmail to deliver all my mail, so i now have the rules i've always ... > server, so i have now a Maildir that i use, with all my new mail in it, ... > Now i would like to sort all my old mail using the procmail rules i have ... procmail cannot filter Maildir/ files. ...
      (freebsd-questions)
    • Re: procmail in v4 vs v5
      ... I was sitting on a Solaris machine and ... >> forgot we call our template sendmail.mc file ``freebsd.mc''. ... My procmail executable even has the same size :-) ... I'll take another good look at your procmail rules, ...
      (freebsd-questions)
    • Re: Lost email (from bad procmail scripts)
      ... > Seems I stuffed up my procmail scripts last night adding a heap of ... Procmail errors usually bounce mail. ... I haven't set up procmail rules yet on ...
      (comp.os.linux.networking)
    • Re: procmail autoreplies
      ... Charles Louis Steinhardt wrote: ... > For all email that follows certain procmail rules, I want to send a reply to the address it ... And next time, post in a proper newsgroup, like alt.linux, as procmail has ...
      (comp.os.linux.x)