DKIM check passes, -30 spam score

Invader Zim

Verified User
Joined
Sep 4, 2004
Messages
171
Now, you'd think it's a good idea to really lower the spam score if the DKIM check passes. That is unless someone has gained access to an email address to send spam from it. One of our customers has been getting a huge load of spam (and it's really obvious spam) but
1767776424532.png


I've set
score DKIM_VALID 0.0
score DKIM_VALID_AU 0.0
in /etc/mail/spamassassin/local.cf, but the screenshot above is from after having done so (and yes, I've restarted spam assassin, and exim).

And it's -30 for the SPF check and -20 for the DKIM check.

I would just like to set the score to 0. That way the rest of the spam properties are not outvoted.
 
Hello,

Those scores are for Easy Spam Fighter only, they do not affect rSpamd/SpamAssassin. And you can adjust them per your needs:

- Defaults are stored in /etc/exim.easy_spam_fighter/variables.conf

Bash:
EASY_LIMIT = 55
EASY_IS_SPAM = 20
EASY_HIGH_SCORE_DROP = 100
EASY_SPF_PASS = -30
EASY_SPF_SOFT_FAIL = 30
EASY_SPF_FAIL = 100
EASY_DKIM_PASS = -20
EASY_DKIM_FAIL = 100
EASY_NO_REVERSE_IP = 100
EASY_FORWARD_CONFIRMED_RDNS = -10
EASY_DNS_BLACKLIST = 50
EASY_SPAMASSASSIN_MAX_SIZE = 200K

for overwriting the values you can use the file /etc/exim.easy_spam_fighter/variables.conf.custom

Related:

- https://docs.directadmin.com/other-...asyspamfilter-threshold-for-rdns-dkim-and-spf
- https://docs.directadmin.com/other-...ing-spam.html#disable-the-esf-high-score-drop

Now, you'd think it's a good idea to really lower the spam score if the DKIM check passes.
 
Back
Top