Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Here is what I get when I use the gtube test file using a "from:" address that is whitelisted:
Quote:
pts rule name description
-100 USER_IN_WHITELIST From: address is in the user's white-list
-0.0 NO_RELAYS Informational: message was not relayed via SMTP
1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
For amavisd, you have to add the whitelisted recipients in a file defined in the whitelist_sender directive.
Distribution: Debian PPC/i386/AMD64 5.0(Lenny), Vista, XP , WIN7, Server 03/08
Posts: 713
Thanked: 20
Original Poster
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
to check for syntax errors.
Btw you don't need to use both programs whitelisting options. For me just adding the recipients in spamassassin's local.cf works.
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>
To: Recipient <recipient@example.net>
Subject: Test spam mail (GTUBE)
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
and run:
Code:
spamassassin -t < test.txt
Regarding the lint option, that is used to check rules, you should run just
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.