What does the PHP_ORIG_SCRIPT parameter in SpamAssasin mean? Because of him I lose 2 points of rating. And most importantly how to fix it?
2 answers
These are letters sent by the php function mail . They have in the headlines
X-PHP-Originating-Script: 80:имяскрипта.php Spam-Assassin gives them 2.5 points, considering bots
If you send letters, then remove the header or send it through a normal smtp-server.
If you are a recipient and you want to skip such letters, you can lower the score in the spamAssassin local.cf file by setting the required number or 0 to cancel the rule:
score PHP_ORIG_SCRIPT 0 |
If you have Exim, then in the configuration file, I have it on centOs etc / exim / exim.conf, open this file with a text editor and after remote_smtp: driver = smtp add the line headers_remove = X-PHP-Originating- Script should work So:
#remote_smtp: #driver = smtp #headers_remove = X-PHP-Originating-Script Just remove the grids!
Save the file and reboot exim.
|