I'm looking to have SA and Qmail-Scanner reject emails if their SA score is higher than 11. I am running a Plesk box with Fedora 7, with the ART packages for a manual install of SA, Qmail-scanner, and Spamdyke.
Ok, first I found qmail-scanner.ini in the /etc/ directory and edited that. I changed the --sa-delete feature to 6 (my SA required hit is 5 I believe) and the --sa-reject to yes.
This didn't solve the problem.
So I then did some research and since I have the the wonderful packages provided by ART, I realized that I already have the qmail-scanner patch! Ver 2.02 if I remember. After researching, I got the sense that the qmail-scanner patch utilizes a separate config and so I edited /var/qmail/bin/qmail-scanner-queue.pl and made the same changes to this file that I made to the qmail-scanner.ini. Reject to Yes, the delete threshold to 6.
Now... my problem is that after restarting the server, I'm still getting emails that are marked as SPAM and have scores greater than 14! What did I miss? Where else should I look? And what the heck am I going to have for lunch today?
Any ideas and/or answers would be wonderfully appreciated. Thanks!
Scott
Qmail-scanner Patch not rejecting Spam... how to setup?
-
- Forum User
- Posts: 17
- Joined: Tue Apr 22, 2008 2:12 pm
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
The normal procedure is: install the packages, edit /etc/qmail-scanner.ini to your liking (set SA_DELETE in this case) and run qmail-scanner-reconfigure. That should do it.
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 17
- Joined: Tue Apr 22, 2008 2:12 pm
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Instead of waiting you can also run tail -f /usr/local/psa/var/log/maillog and see what's happening. You should see SPAM-DELETED for messages that score at least required_hits (from SpamAssassin's config) + SA_DELETE (in qmail-scanner's config).
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 17
- Joined: Tue Apr 22, 2008 2:12 pm
Appears to be working! I've received three more spam messages today all with a score lower than 11.
If anyone else is reading/watching this thread... what is a good Spam score required for reject? SA is set to 5 to mark it as ****SPAM****... would it be reasonable to set the Delete(reject in my case) threshold to 3... making anything over 8 get rejected? Or is that a little too much.
Thanks Breun...
If anyone else is reading/watching this thread... what is a good Spam score required for reject? SA is set to 5 to mark it as ****SPAM****... would it be reasonable to set the Delete(reject in my case) threshold to 3... making anything over 8 get rejected? Or is that a little too much.
Thanks Breun...
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Check what legitimate messages are scoring for a while. I like to delete at 6 as well.
Lemonbit Internet Dedicated Server Management
-
- Forum User
- Posts: 17
- Joined: Tue Apr 22, 2008 2:12 pm
You guys rock... have a great weekend.
I didn't mention this in my other post, but I've been running SA with a required hit at 5 for the past 2 months. I have many users on this server, but I alone maintain probably 10 different email addresses and all of them, I haven't seen one ham message come through as spam. So... that tells me, with both of your obvious confirmations, that everything is working very nicely and that I can be comfortable deleting at 6.
Thanks again, gents.
Scott
I didn't mention this in my other post, but I've been running SA with a required hit at 5 for the past 2 months. I have many users on this server, but I alone maintain probably 10 different email addresses and all of them, I haven't seen one ham message come through as spam. So... that tells me, with both of your obvious confirmations, that everything is working very nicely and that I can be comfortable deleting at 6.
Thanks again, gents.
Scott
I'm using tag at 4 and delete at 12 by default on our heavily loaded servers.
On our more specialist anti-spam servers we have delete at 8, however.
Faris
On our more specialist anti-spam servers we have delete at 8, however.
Faris
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>