Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Blocking incoming mail from owned domains

Discussion in 'E-mail Discussion' started by saltydk, May 28, 2016.

Tags:
  1. saltydk

    saltydk Member

    Joined:
    May 28, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
    Hey guys, I would like to know if, and possibly how, it is possible to block incoming mails from owned domains, which are only sending/receiving on the server itself, so that I can "easily" filter away those spam mails at least.

    Most occurrences of this type of spam usually sends a mail with the "sender" as the receiver. I am hoping that cPanel is capable of differentiating between if the mail came from an external source. Thanks for any assistance provided in advance, I am not very experienced in the advanced settings department but if you can point me in the right direction I can probably manage.

    Best regards,
    René.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You could enable the following option in "WHM Home » Service Configuration » Exim Configuration Manager" under the "ACL Options" tab to help prevent these types of emails:

    "Reject SPF failures"

    This will reject mail at SMTP time if the sender fails SPF checks.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. saltydk

    saltydk Member

    Joined:
    May 28, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
    Does this option only reject the domains with SPF setup (hard fail) or does it also reject soft failures?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Exim queries the SPF information to ensure it passes, rather than only checking if the SPF record itself exists.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. saltydk

    saltydk Member

    Joined:
    May 28, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice