procmail
[Top] [All Lists]

Re: SpamAssassin and Procmail

2003-05-15 06:34:51
Thanks, I will start playing with your answer.
Steve

on a small number of emails I would like to try uping the score
manually. Besides changing the score in the user file in spam
assassin, is there a way I can do this by adding say an X-Field that
would add to the score some points or someting of this nature to up
the score .

You can use formail (man formail) to add and modify headers. You can
also use formail to extract headers into variables, or use procmail
recipes. For example:

:0
* ^X-Spam-Level: \/.*
{ SPAM_LVL = ${MATCH} }

:0fw
* spam_condition
| formail -i "^X-Spam-Level: ${SPAM_LVL}***"

I think it might be easier just to keep the score stored in a variable
than fool around with the headers though.

TFC



____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

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