procmail
[Top] [All Lists]

Re: Newbie needs Recipe Help

2002-11-26 13:24:18
At 12:52 2002-11-26 -0600, Michael W. Jones did say:
If the message header is From:user(_at_)xyz(_dot_)com rewrite the header so
From:recipient(_at_)zyx(_dot_)com, then forward to user(_at_)xyz(_dot_)com

:0f
* ^From:.*\<user(_at_)xyz\(_dot_)com\>
| formail -I "From: recipient(_at_)zyx(_dot_)com"

:0
! user(_at_)xyz(_dot_)com


You'll need to contend with mail looping issues.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>