The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel email filters simply not working

Discussion in 'E-mail Discussions' started by notadoctor, Jan 5, 2016.

  1. notadoctor

    notadoctor Registered

    Joined:
    Jan 5, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Website Owner
    Hi, all.

    Simply as in the thread subject, I'm having trouble getting anything effective out of the cPanel mail filters.

    Some background: I have my own domain on shared hosting with JustHost (who have been otherwise great at hosting but recommended "just enable SpamAssassin" as the solution to my spam problem), up until the last few months everything has been OK, but at some point the spammers have got hold of email addresses on my domain.

    My first attempt was to enable SpamAssassin and gradually up the strength setting until the spam stopped. This didn't work even at the highest setting and spam (and I'm talking really obvious stuff like blue pills, high strength flashlights, garage flooring, what Donald Trump thinks, etc) was still getting through. Legitimate emails were not arriving in my inbox or in my junk folder. When they were sent to two email addresses on the domain, one copy would get through and the other wouldn't.

    I also tried to train SpamAssassin by use of Ham and Spam folders and that didn't work either. I couldn't work out other instructions about running cron jobs. I'm not a sysadmin or particularly technical person in this regard.

    I then disabled SpamAssassin and checked all of the email tools available were disabled and had no rules applied. They have SpamAssassin, Spam Experts and Spam Hammer. There is also Account filtering and User filtering. The same behaviour of absorbing spam but rejecting legitimate emails from hotmail and gmail addresses continued.

    I have in the last few weeks created a rule set under Account filtering, which as far as I'm aware works across the whole domain. The rules were in the form of the below:

    Reply Address ends with .ru or
    Reply Address ends with .pz or
    Reply Address ends with .win
    Actions: Discard message

    This achieved no results. Spam from these domains were still getting through at the same rate. I saw advice online that said to change Reply Address to Any Header. This has not made any difference at all. I am receiving around 150 spam emails a day per email box. As you can imagine, this is a real pain if I don't check email for a couple of days and then have to play 'spot the legitimate message' in among all of that.

    I've seen some solutions around the web talking about examining exim log outputs. I don't know what that is and, to be quite frank, it's a mystery to me.

    The hosting service is running cPanel 11.

    Please can anyone give me some sort of pointer as to where things are going wrong?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Assuming you mean, your Hosting Provider offers these various services inside your cPanel. If that's the case, they've got lots of options for you that you might do better speaking with them about.
     
  3. notadoctor

    notadoctor Registered

    Joined:
    Jan 5, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Website Owner
    Hi, thanks for the reply. Yes, as I said above, I tried SpamAssassin to no avail, and JustHost's support response was "enable SpamAssassin". I've previously looked into getting it to be effective and have had no success.

    These cPanel built-in filters seem to be simple to set up, yet they aren't running in accordance to what I've selected.
    Is there some setting somewhere that I need to enable, either in cPanel or in a config file on the server (which I have access to via ftp) to fire up these filter rules?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    No. As a Website owner, the actual configuration files for preventing spam would not be accessible to you.

    cPanel 11 what, exactly? You should see this on the left side menu, or under Server Information if its enabled on your account.

    Because your Hosting Provider is offering multiple options to you, I still think it best to speak directly with them about this. They can take a closer look at your account, Apache SpamAssassin settings and possibly suggest another option for you using one of those other services, like Spam Experts for example.
     
  5. notadoctor

    notadoctor Registered

    Joined:
    Jan 5, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Website Owner
    It's cPanel 11.48.4

    I couldn't get SpamAssassin to work and they seem reluctant to help in any way other than to tell me to turn it on.

    I'm going to try out SpamExperts but I would still like some pointers as to why the cPanel filters don't appear to be working as set up, if anyone has any hints.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page