On 20/09/16 12:31, Thomas Barth wrote:
Am 20.09.2016 um 12:23 schrieb Matus UHLAR - fantomas:

Message-Id: 
<20160920154140.f5a976c...@static.vnpt.vn.local><mailto:20160920154140.f5a976c...@static.vnpt.vn.local>

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
       tests=[HTML_MESSAGE=0.001, MESSAGEID_LOCAL=8, MIME_HTML_ONLY=1.105,
       PYZOR_CHECK=1.985, RCVD_IN_BRBL_LASTEXT=1.644, RDNS_NONE=1.274]
       autolearn=no autolearn_force=no

Be aware that there are an awful lot of Microsoft Exchange servers that are set 
up with .local, .lan and .corp TLDs (for a number of reasons).

You may find you're blocking legitimate email from an Exchange server (poorly?) 
configured in this way.

Paul
--
Paul Stead
Systems Engineer
Zen Internet

Reply via email to