Skip to main content

TroubleShooting SpamAssassin without root access

Comments

6 comments

  • GOT
    Take a look at the headers of a message that you think is spam. In there you should see some headers that outline the spam score. These will be there regardless of whether it is spam or not and if they are not there that means spam assassin is not running on the domain.
    0
  • Jeremy-0101
    Take a look at the headers of a message that you think is spam. In there you should see some headers that outline the spam score. These will be there regardless of whether it is spam or not and if they are not there that means spam assassin is not running on the domain.

    Opened up a message that is spam. This appears at the bottom of the headers: X - Spam - Status: No, score = X - Spam - Score: X-Spam-Bar: X-Ham-Report: X-Spam-Flag: NO That is all it shows. It is identical for every email received; whether spam or not. The same appears even when I send a test email to this email account with the GTUBE test string. The only emails that do not show this are the ones that my web host's tier 2 techs produced, which show the following: [SPOILER="Headers of web host tier 2 tech GTUBE test email">X-Spam-Status: Yes, score=1101.3 X-Spam-Score: 11013 X-Spam-Bar: +++++++++++++++++++++++++++++++++++++++++++++++++++ X-Spam-Report: Spam detection software, running on the system "servernumber.au.emailserver.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. Content preview: This is the GTUBE, the Generic Test for Unsolicited Bulk Email If your spam filter supports it, the GTUBE provides a test by which you can verify that the filter is installed correctly and is detectin Content analysis details: (1101.3 points, 4.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 100 USER_IN_BLACKLIST From: address is in the user's black-list 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date X-Spam-Flag: YES
    0
  • GOT
    Sadly it looks like there is something wrong with the SpamAssassin on your hosting account server. You can show this to your provider, but you have no access to fix this.
    0
  • rpvw
    I can only add that you might like to double check that you have actually enabled your Spamassassin in your cPanel cPanel >> EMAIL section >> Spam Filters >> Process New Emails and Mark them as Spam: should be ON If you do not enable this setting, it won't matter what Global filter settings you set up to handle spam - there wont be any data for the filter to act on. Further details can be found at Spam Filters - Version 74 Documentation - cPanel Documentation
    0
  • cPanelMichael
    Hello @Jeremy-0101, If you've confirmed that SpamAssassin is enabled on the account (see the above post), then it seems like an issue with the server your account is hosted on. I recommend explaining to the support team exactly how you are reproducing the problem, and have them complete the same steps that you are using. With root access, they should be able to review /var/log/exim_mainlog to see exactly what's happening. Thank you.
    0
  • Jeremy-0101
    @GOT Thank you. I was hoping someone would be able to confirm whether or not I needed to keep pushing with my provider as I have said all this to them before, and they are saying things like [paraphrased] "it wont assign any spam score information to the email headers unless it is determined to be spam" [SPOILER="Actual response from hosting provider">We understand your frustrations regarding this issue. We have already described the reason why this happens, these ++ will be credited and will appear in the header only if S**pam Assassin** considers it spam. Scoring will not reflect is the Spam Assassin will not consider it as spam. What we can advise is to update your Global Filter and make sure the **Discard Message** is selected. Thank you @rpvw for your advice. That is how I thought it should work. @cPanelMichael I will try to convince them to use the same methods of testing that I am using. I don't know what they did to be able to get their test messages working with Spam Assassin, but before and after I have tried to use the GTUBE test string and no luck. Below I have attached a screenshot of my cPanel interface and the fact that it shows Apache SpamAssassin to be enabled (it was disabled when I first started this processes, and it has been turned off and back on at least once) PS. (I have no idea what "skin" this might be) [SPOILER="Image of my SpamAssassin being 'Enabled'">55241 PS. If I turn off or on Spam Assassin, the only change I can see in file manager is that when Spam Assassin is turned on, there is an empty file under /home#/domain/ that is called '.spamassassinenable'
    0

Please sign in to leave a comment.