Help - Search - Members - Calendar
Full Version: Help with SpamAssassin
The Planet Forums > Control Panels > Plesk
Torgut
Hello !

I was trying to create a rule. However, it's not working.

File edited: /etc/mail/spamassassin/local.cf

Rule Added:

header LR_SUBJECT_WROTE Subject =~ /wroteb/i
score LR_SUBJECT_WROTE 4.5
describe LR_SUBJECT_WROTE Contem Wrote

I restarted SpamAssassin service and after that I sent an email to my account with the following subject:

Ricardo Wrote



I think it should be filtrated. Still, it managed to reach my mailbox. In the the header I noticed SpamAssassin used the rule but it seems it didn't apply the score:

X-Spam-Status: No, score=3.0 required=4.0 tests=AWL,BAYES_00,LR_SUBJECT_WROTE,
MSGID_FROM_MTA_HEADER autolearn=no version=3.0.6



Any ideas ?
NightStorm
Don't know why that one won't work, but try adding this to the bottom of your local.cf file... it seems to have caught them for me.
CODE
## SUPERLATTICE NANO TECHNOLOGY
body NANO_01 /bNSLT/
score NANO_01 1.800
body NANO_02 /bnano/i
score NANO_02 1.800
body NANO_03 /superlattice/i
score NANO_03 1.800
body NANO_04 /symbol/i
score NANO_04 1.800
351 spam messages only to my own personal email box in the last 12 hours. I can't begin to imagine how some others are being beaten into the ground...
Torgut
Hummmm but given the "subject" of received spam I can't imagine how your rules could help. WHat I would like was to really understand why my rule is not beeing trigged. So I can act accordingly in future situations.
newexpos
QUOTE (Torgut)
Rule Added:  

header LR_SUBJECT_WROTE    Subject =~ /wroteb/i


This isn't my area of expertise but shouldnt that be

header LR_SUBJECT_WROTE Subject =~ /bwrote/i

since theres a word break before the word "Wrote" in your test?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.