procmail
[Top] [All Lists]

newbie recipie question

1996-10-21 09:25:49
Hi,

I am a new procmail user, and I would like to setup a recipie 
that does essentially the following:

If mail is to user jdoe(_at_)company(_dot_)com
then
        save a copy to IN.jdoe on the local machine
        reformat the header to replace the Reply-To header with
        "Reply-To: jdoe(_at_)company(_dot_)com <John Doe>"
        and delete any old "Return-Path" info in the header
        and then forward the reformatted message on to
        real_address(_at_)some(_dot_)other_company(_dot_)com
else
If mail is to user brubble(_at_)company(_dot_)com
then
        save a copy to IN.brubble on the local machine
        reformat the header to replace the Reply-To header with
        "Reply-To: brubble(_at_)company(_dot_)com <Barney Rubble>"
        and delete any old "Return-Path" info in the header
        and then forward the reformatted message on to
        real_address(_at_)some(_dot_)other_company(_dot_)com
else
etc. etc. etc. for a list of other users.

Thanks to all in advance for the help.  I'll repost and
private follow-up messages.  

-Eric Lambert

<Prev in Thread] Current Thread [Next in Thread>
  • newbie recipie question, Eric Lambert <=