On 2005-10-22 15:41:17 -0400, stan wrote:
> Can anyone show me how to write a procmail recipe that adds
> something (like **SPAM** to the To: header in a message?

You can do this with formail. Something like that:

TO=`formail -xTo:`

:0 fhw
* conditions
| formail -I "To: [EMAIL PROTECTED], $TO"

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to