amavisd-new / spamassassin whitelist issue
I have a few emails that keep getting tagged by amavisd and spamassassin as spam that are legit emails. I have added the users and their domains where applicable to both the spamassassin whitelist and to softwhitelisting in amavis, neither seems to have an effect the same users keep getting tagged as spam. does anyone have any ideas why this would be happening. I restart amavisd and spamasasin after making changes.
|
How did you add the recipients you want to whitelist? For spamassassin you have to use in local.cf:
Code:
whitelist_from user@domain.com other-user@other-domain.com Code:
spamassassin -t < mail.txt Quote:
|
In the spamassassin file I have *@domain.com for whole domain whitelisting, unless I have the syntax wrong, as far as my soft whitelisting in amavis it is exactly the same syntax as the examples.
|
Did you run a test to see if the whitelisted recipients get a -100 score?
You can run: Code:
spamassassin -D --lint Btw you don't need to use both programs whitelisting options. For me just adding the recipients in spamassassin's local.cf works. |
How do I test the email again, export it as as eml then I forget what code to run to test it. Is it the spamassassin -D --lint email.eml?
|
No you should export it as txt, or use the sample-spam.txt that comes with spamassassin. If you don't have it create a test.txt with the following content:
Code:
From: Sender <sender@example.net> Code:
spamassassin -t < test.txt Code:
spamassassin -D --lint |
All times are GMT -5. The time now is 07:09 PM. |