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!

Incoming SMTP Restrictions Per Domain

Discussion in 'E-mail Discussion' started by rvap, Jun 24, 2015.

  1. rvap

    rvap Member

    Jun 20, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello, our server is running 11.50 built 19. Things are great, however, we came across an odd issue with one of the domains on the server. We thought we would pose the scenario and see if there are any possible solutions.

    Example Domain:


    Mike recently stated there has been an increase in SPAM messages being delivered to his inbox. We activated a SPAM Protection Service and forwarded all MX records to the SPAM Protection Organization.

    Mike states, I still get SPAM e-mail. It turns out looking at the source of the e-mail that the incoming e-mail is coming directly to the server and not to the MX record --> SPAM Filter --> back to the server. The SPAM Protection company never sees the bad e-mails to remove them.

    The SPAM protection company does allow for sending to the domain via dedicated IPs and advised us to implement an inbound SMTP Restriction.

    How can we accomplish this in WHM / cPanel?

    We know that will receive safe / clean messages from inbound smtp servers:

    How can it be configured that mail for domain is only accepted from these IPs and the mail from other IPs are ignored?

    Is this possible. Let me know your thoughts.

    PS: We want to handle this on a domain level vs a global level as there are some organizations who are not impacted by this problem or who do have SPAM protection service. Thanks for any assistance / guidance on this matter.
    #1 rvap, Jun 24, 2015
    Last edited by a moderator: Jun 24, 2015
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Did you verify the MX records were properly configured at the DNS host for the domain name through the "dig" command or a website such as IntoDNS?

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

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