• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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