SymptomsIt's Parallels Plesk Panel version 9.3 or 9.5.2/9.5.3 installed.
Spam Filter was disabled for mail account through Parallels Plesk Panel (Domains > DOMAIN.COM > Mail Accounts > MAIL@DOMAIN.COM > Spam Filter:
Switch on SpamAssassin spam filtering ).
However received messages still have X-Spam in header. For example:
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on your.server
X-Spam-Status: No, score=0.0 required=3.0 tests=none autolearn=ham version=3.2.5
CauseThe issue is caused by the fact that alias exist for the mail account or domain.
You may check domain alias through Parallels Plesk Panel at Domains > DOMAIN.COM > Domain Aliases. Find mail aliases on page Domains > DOMAIN.COM > Mail Accounts > MAIL@DOMAIN.COM, aliases are listed under Mail aliases.
ResolutionThe issue will be fixed in future update of Parallels Plesk Panel that will be released after version 9.5.3.
Hotfix for Parallels Plesk Panel 9.3, 9.5.2/9.5.3 is in the attachment.
To install the hotfix download the archive and extract CmdManageSA3.pm. Replace existent file /use/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/CmdManageSA3.pm with the fixed file.
Note that file CmdManageSA3.pm may be located in different directory on your servers. Find the file with command "locate CmdManageSA3.pm". If no results was found it is recommended that you update the locate database with "updatedb".