SpamAssassin Auto-Delete Not Working As Expected
I have set my SpamAssassin Spam Filters to auto-delete all messages that it identifies as spam according to my configurations. But instead of deleting the spam messages, SpamAssassin is sending them to my spam folders, even I have Move to Spam Box turned off.
What the heck is going on? Why does SpamAssassin have a feature that doesn't work? Is there any other way I can get spam to be auto-deleted from the server level via cpanel, since this feature doesn't work?
-
that's depending on spam score of email which you want to delete. Verify your spamscore normally the default is : 5 0 -
Hi @wonderfall I haven't seen any instances in which this isn't working as intended yet and I'm wondering if there isn't a misconfiguration. What's the score set to for autodelete? Can you also provide the spam headers of a message which should have been deleted? Thanks! 0 -
Well, as I said, "I have set my SpamAssassin Spam Filters to auto-delete all messages that it identifies as spam according to my configurations." I have set a score of 4 or greater. I've replaced my email address and domain with X's. ======================= - Removed - 0 -
Hi @wonderfall I asked for the settings because sometimes users will set the autodelete score to something that won't actually delete spam (like 9-10) I'd like to help you but I do need you to provide the information I'm requesting. I can see the message is getting flagged as spam so that's going to rule out that SpamAssassin is not functioning. Can you please show me a screenshot of the following UI at cPanel>>Email>>SpamFilters ->AutoDelete similar to the one I've provided Thank you. 0 -
Thanks, I provided the header of one of the spam messages, as you had requested, but that got removed. (Why is that??) Here is the screenshot you requested. 0 -
Thank you very much! 0 -
Makes sense. If it's still helpful, I'll make a screenshot and black out all those. 0 -
Please feel free to. No need for a ss though, just edit out all the IP's emails etc. Thanks. 0 -
Hi @wonderfall It's ok, I don't need them added - the important part of those headers is: X-Spam-Score: 46 X-Source-Cap: YXVyeW5jaGk7ZWRvYmVydGk7ZXNjb3J0LndlYnNpdGV3ZWxjb21lLmNvbQ== User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:51.0) Gecko/20100101 Thunderbird/51.0 X-Authority-Reason: nr=8 Return-Path: Return-Path: X-Source-Auth: user@REMOVED.tld X-Spam-Flag: YES X-Spam-Bar: ++++ X-Spam-Report: Spam detection software, running on the system "server231.yourdomain.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see root\@localhost for details.
It's clearly marking the mail as spam and as I can see from your screenshot auto delete is set to 4. This message received a spam score of 4.6, therefore, it should have been auto-deleted as well as flagged as spam. It may be that I need you to open a ticket but first i'd like to know the following: 1. Which version of cPanel are you running? 2. What is present in the user prefs for SAcat /home/$user/.spamassassin/user_prefs
Thanks!0
Please sign in to leave a comment.
Comments
10 comments