procmail
[Top] [All Lists]

Re: Alter subject line and then resend - eeek!

2006-04-14 08:28:13

        Well, hopefully this will help someone down the road who searches the 
archive. Here's a working version of the recipe:

:0fw: spamassassin.lock
| /home/mjohnson/sausr/bin/spamassassin
:0e
{
  EXITCODE=$?
}
SUBJECT=`formail -zx "Subject:"` 
:0fw: mjlock
* ^X-Spam-Status: Yes
| formail -I "Subject: [Spam?] $SUBJECT"

-- 
********************************************************************
Brett Charbeneau
Network Administrator
Williamsburg Regional Library
7770 Croaker Road
Williamsburg, VA 23188-7064
(757)259-4044          www.wrl.org
(757)259-4079 (fax)    brett(_at_)wrl(_dot_)org
********************************************************************


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