Hi
I am setting a whitelist with xxx.com to xxx2.com. When user sending email without "To" filed and only "CC" all the email address.
The Whitelist is not work on this situation and spam report 1.21 MISSING_HEADERS Missing To: header. Finally this mail is marked "Spam".
How can i reduce the score of the MISSING_HEADERS ? if there are any idea to bypass the checking with specific email domain?
Hope someone can help. Many thanks.
Whitelist is not work when missing "To" filed
Re: Whitelist is not work when missing "To" filed
to adjust scores, simply create a myadjustedscores.cf file inside /etc/mail/spamassassin/ and add a line like:
X being the score you would like to assign to this rule.
Code: Select all
score MISSING_HEADERS X
X being the score you would like to assign to this rule.
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
-
- Posts: 2
- Joined: 05 May 2016 02:25
Re: Whitelist is not work when missing "To" filed
Thank ovizii!ovizii wrote:to adjust scores, simply create a myadjustedscores.cf file inside /etc/mail/spamassassin/ and add a line like:Code: Select all
score MISSING_HEADERS X
X being the score you would like to assign to this rule.
i hv found a file located at /etc/MailScanner/spam.assassin.prefs.conf
When i add this code to the file.
Code: Select all
score MISSING_HEADERS X
The scoring is work. Hope can help someone in same problem.
Re: Whitelist is not work when missing "To" filed
The best place to put that is in the local.cf. That way it won't be overwritten during an upgrade, and you know that these entries will be loaded last.