• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Help with SpamAssassin

T

Torgut

Guest
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 =~ /\wrote\b/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
 
I can't get Plesk to accept any chanegs I do to SpamAssassin...

I edit the /etc/mail/spamassassin/local.cf file, restart SpamAssassin and nothing changes.

spamassassin --lint shows everything is OK, but the rules never show up.

Right now I'm just trying to get the report headers on all of the email (not just SPAM) so I added:

add_header all Report _REPORT_

I have also tried specific rules (right now trying to kill all the "someopne wrote:" emails I am getting flooded with. I tried this, but nothing changes:

header LOCAL_WROTE_SUBJECT Subject =~ /wrote:/i
score LOCAL_WROTE_SUBJECT 0.1

If anyone knows how to change the rules in SpamAssassin please let me know. It seems like Plesk is doing something strange that prevents changing anything.

- DigDreams
 
Back
Top