You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matt Florido <ma...@floridonet.com> on 2007/03/30 15:57:49 UTC
Custom Ruleset to Score Specific Subject
I'm testing a firewall that has anti-spam capabilities. When it detects
spam, it adds a label to the subject. ie. "---SPAM---"
I would like to create a simple ruleset that adds certain weight to
mails that have this subject. Please let me know if I'm headed in the
right direction.
header FW_LABELED_SPAM Subject =~ /---SPAM---/
describe FW_LABELED_SPAM subject has been modified by FW as SPAM
score FW_LABELED_SPAM 2.500
--
Regards,
Matt Florido
Re: Custom Ruleset to Score Specific Subject
Posted by Loren Wilton <lw...@earthlink.net>.
Yep, that will do it.
Loren
> I'm testing a firewall that has anti-spam capabilities. When it detects
> spam, it adds a label to the subject. ie. "---SPAM---"
>
> I would like to create a simple ruleset that adds certain weight to
> mails that have this subject. Please let me know if I'm headed in the
> right direction.
>
> header FW_LABELED_SPAM Subject =~ /---SPAM---/
> describe FW_LABELED_SPAM subject has been modified by FW as SPAM
> score FW_LABELED_SPAM 2.500