procmail
[Top] [All Lists]

Re: Logging TO field

2003-07-24 11:17:37
On Thu, 24 Jul 2003, Birl wrote:

Q: "Is it possible to log the TO field?"

There may be more elegant solutions, but this should work (the brackets 
contain a space and a tab):

:0
* ^To:[         ]*\/.*
{
        LOG="$MATCH
"
}

HTH,

Andrew



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