You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bob George <ma...@ttlexceeded.com> on 2004/03/22 17:50:43 UTC

Re: X-Spam-Status and procmail ????

Chris Santerre wrote:

> Is there a way in procmail to edit the subject of an email if a certain rule
> is hit? I would like any spam that hits a Bigevil rule to have a [BE] added
> to the subject. This would make updating the Bigevil list Sooooooooooo much
> faster.
> 
> I believe formail or something is what I want? Receipes are much welcomed!

Here's along the lines of what I do in procmail:

:0fw
* ^Subject:[ ]+\/.*
* ^X-Spam-Status: Yes,.*BigEvilList_us
| formail -I "Subject: [BE] $MATCH

- Bob