In <[EMAIL PROTECTED]>, Scott Wiersdorf <[EMAIL PROTECTED]> writes: > 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}" > }
Or shorter :0 fhw * ^Subject: \*\*\*\*\*SPAM\*\*\*\*\*\/.* |formail -I"Subject:${MATCH}" > I want to completely ignore the SA results from my ISP. Running SA on > my own box already replaces the scores and any SA headers that might get > added. But I still have the problem of that pesky mugged subject line. The best way to strip ALL SpamAssassin headers is to use the SpamAssassin function for that: :0 fhw * ^X-Spam- | spamassassin --remove-markup -- Klaus Johannes Rusch [EMAIL PROTECTED] http://www.atmedia.net/KlausRusch/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk