procmail
[Top] [All Lists]

Re: sending just the header to a file

2001-03-06 11:12:36
On Tue, Mar 06, 2001 at 09:13:42AM -0500, Eric Krichbaum wrote:
I've got a pretty good recipe for the flavors of the Snow 
White/haha(_at_)sexyfun(_dot_)net/hybris.gen virus but I'd like to log the 
header to a 
file instead of sending the whole email to the file.   Is there a simple 
way to dump just the header portion out?

Eric

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


You mean like this:

:0hc:${HOME}/.mailspool/Procmail.head.lock
| cat >> ${HOME}/headers.cut

Taken from Timo's page, question 6, at

http://www.uwasa.fi/~ts/info/proctips.html

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