procmail
[Top] [All Lists]

Re: rewriting the subject line

2004-10-06 09:35:36
On Wed, Oct 06, 2004 at 11:37:41AM -0400, Curtis Maurand wrote:
If I spotted something as spam as below, how would I use formail to 
insert the tag into the subject before sending it on to the user.

:0 B:
* yourfirstchoiceitem\.com
{
  TAG = " *** SPAM ***"
}


 :0 fw h
 * B ?? ()\<yourfirstchoiceitem\.com\>
 * H ?? ^Subject:\/.*
 | formail -I "Subject: *** SPAM ***$MATCH"
 
-- 
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

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