On 9/20/2016 7:31 AM, Thomas Barth wrote:
Am 20.09.2016 um 12:23 schrieb Matus UHLAR - fantomas:
you can put this in /etc/spamassassin/local.cf
header MESSAGEID_LOCAL Message-Id =~ /\.local>$/
score MESSAGEID_LOCAL 1
describe MESSAGEID_LOCAL Message-Id contains ".local" TLD
and reload whatever you plug into your MTA.
It works. I already got a mail by ...vn.local
X-Spam-Status: Yes, score=14.009 tag=2 tag2=6.31 kill=6.31
PYZOR_CHECK=1.985, RCVD_IN_BRBL_LASTEXT=1.644, RDNS_NONE=1.274]
The base SA ruleset is optimized to detect spam with a score of 5.0. If
you raise that score, you will allow more spam to come through. If you
lower that score, you will see more legitimate messages blocked as
spam. Make sure you know what you are doing before you change this score.
I would score your MESSAGEID_LOCAL rule closer to 3 or 4 at the most.
This way, it still makes a big contribution to the score, but messages
will not be blocked based on it unless there are other spam signs. The
best idea with new rules is to add them with a low score at first and
keep an eye on them for at least a couple of days to make sure that they
are performing as expected before raising the score.
Remember that Amavis has its own settings for required_score and message
markup. Any of those settings in the SA config files will be ignored.