procmail
[Top] [All Lists]

Re: Return-Path mangling

2004-01-18 05:39:30
On Sun, 18 Jan 2004, Nils Vogels wrote:

:0
* ^List-Id:.*freebsd-announce.freebsd.org
! user+lists(_dot_)freebsd-announce(_at_)mycyrus-store(_dot_)com

How can I make procmail preserve the  original Return-Path  when
inserting the message into Cyrus ?

:0
* ^List-Id:.*freebsd-announce.freebsd.org
{ INSERT = "user+lists(_dot_)freebsd-announce(_at_)mycyrus-store(_dot_)com" }

# Similarly for other lists ... then

:0
* INSERT ?? @
{
 :0
 * ^Return-Path: \/.+
 ! -f "$MATCH" "$INSERT"

 # The following is just a failsafe

 :0 E
 ! "$INSERT"
}


_______________________________________________
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>