- Plesk for Windows
Messages delivered locally to the same domain on a Windows Server behind the NAT are being marked as SPAM by SpamAssassin.
The following records can be found in mail headers:
CONFIG_TEXT: * 2.4 RDNS_NONE Delivered to internal network by a host with no rDNS
* 2.5 TO_EQ_FM_DIRECT_MX To == From and direct-to-MX
This is expected behavior. Messages are being sent and received using internal network IP address, which has not published reverse DNS record, and the domain name for sender and recipient is the same.
In order to disable these filter, perform the following:
Connect to the server via RDP.
"%plesk_dir%\Additional\SpamAssassin\etc\mail\spamassassin\local.cf"file and add the following lines:
CONFIG_TEXT: score RDNS_NONE 0
score TO_EQ_FM_DIRECT_MXR 0