• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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