On 12/20/2007 10:44 PM, jikke wrote:
Hi,

I'm new to SpamAssassin and have checked the web on spam rules. I just can't
seem to find the info I'm looking for. I want to create a rule where all
mail to [EMAIL PROTECTED] with a certain text like 'new message' is passed
through and all other mail is considered spam. This quite a different rule
from what I've found so far. All rules I have found just block email and I
need a rule that actually let's just that mail through.

Any ideas?

lots.. but for starters:

header  __TOHELPDESK    To =~ /[EMAIL PROTECTED]/
body    __NEWMSG        /new message/i
meta    PASS_HELPDESK   (__TOHELPDESK && __NEWMSG)
score   PASS_HELPDESK   -50.0

h2h

AXB

Reply via email to