hooglwarrior.blogg.se

Spamassassin dns score
Spamassassin dns score















You may wish to configure SpamAssassin reject spam score threshold. Now, navigate to Exim Configuration Manager. It may be worth it to note that we observed unexpected results when using 127.0.0.1. So to disable it, enter the following line in /etc/spamassassin/local. Enter the public IP address of your server as the Primary Resolver and complete the wizard. In other words you may not even need this rule. You may also want to check my previous blogpost on filtering spam with Exim. If your mail server is set up properly, you shouldn’t accept mail from servers without proper reverse DNS. Fixing the issue ▲ Back to top 🔗 Link here By default SpamAssassin considers an e-mail to be spam. Kerio Connect inserts this value as a score into the. SpamAssassin uses a scoring mechanism in order to determine if an e-mail should be considered spam. So, if you have a custom Received header, it won’t work. SpamAssassin evaluates the message against its rules and assigns a numeric value to the message. This file basically contains a big honk of regular expressions for all kinds of mail servers. (For the record: I hate Perl.) After grep‘ing around in the code, I became suspicious of /usr/share/perl5/Mail/Spamassassin/Message/Metadata/Received.pm. Since obviously this whole issue is a bit underdocumented, I went to look at the SA code. 24164 dbg: dns: is Net::DNS::Resolver available yes 24164 dbg: dns: Net::DNS.

spamassassin dns score

SPAMASSASSIN DNS SCORE CODE

Looking at the code ▲ Back to top 🔗 Link here SpamAssassin version 3.2.3 24164 dbg: config: score set 0 chosen. So if you have RDNS_NONE in all your mail, it means that your mail server doesn’t check the reverse DNS properly. In theory Spamassassin checks all Received headers and looks for IP addresses and reverse DNS checks added by the mail server. So let’s go hunting… Theory ▲ Back to top 🔗 Link here

spamassassin dns score

While testing the spam filtering, I ran into a bit of an issue: I encountered a spam score factor in every single e-mail: RDNS_NONE with the score of 1.3.ĭoing a quick Google turns up some less-than-useful documentation pages and a lot of people with the same problem, yet no solution. The information presented here may be out of date.Īfter filtering spam with Exim, I wanted to add Spamassassin to do content based filtering.















Spamassassin dns score