procmail
[Top] [All Lists]

RE: Appending FROM: headers only to a local file

2008-09-14 12:53:42
Shane wrote Sunday, September 14, 2008 6:26 PM:
I am wanting to append only the FROM: headers to a local file 

 :0 : file
 * conditions
 # in the brackets are a caret, space, and tab
 * ^From:.*\/[^         ].*
 | echo "$MATCH" >> file

-- 
dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail