procmail
[Top] [All Lists]

Re: [SAtalk] help with procmail script

2003-08-18 12:38:01
On Mon, Aug 18, 2003 at 12:47:00PM -0500, Chris Barnes wrote:
My Question:
What would the procmail script look like that would look at the subject
line and strip out the *****SPAM***** if it exists?  My idea is to put
this into the /etc/procmailrc file (which currently looks like:

Something like this might help:

:0
* ^Subject: \*\*\*\*\*SPAM\*\*\*\*\*\/.*
{
    :0fhw
    |formail -I"Subject:${MATCH}"
}

Scott
-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

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