procmail
[Top] [All Lists]

Re: remove all headers except Subject, To ?

1998-01-12 15:44:15
On Mon, 12 Jan 1998 18:12:20 +0100 (MET) Calle Aasman wrote
what I want to do is remove all stuff, so the result would be something
like:

From: asdas(_at_)asdsa(_dot_)se
Subject: hi

filter the message through 'formail -k -XFrom -XSubject' before you
store it in the mailbox.

The recipe would go like this --

:0w:
* conditions.....
| formail -k -XFrom -XSubject >> mailbox

-- 
Chris Mikkelson                 
mikk0022(_at_)maroon(_dot_)tc(_dot_)umn(_dot_)edu
U of M Tuba and Student    "Life is too short for windows..."
'94-present

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