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!

Stop Incoming Email Except from External Spam Filter

Discussion in 'E-mail Discussion' started by Prathibha gamage, Aug 30, 2016.

  1. Prathibha gamage

    Prathibha gamage Registered

    Joined:
    Aug 30, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    This is related to the following thread.

    Stop Incoming Email Except from External Spam Filter

    But when I add the below code to my exim configuration, it blocks sending emails from outlook as well. How can I allow sending by outlook or webmail, but receive email only from my spam filter IPs?

    accept hosts = :
    deny
    !hosts = @[] : net-iplsearch;/etc/trustedmailhosts
    message = This server does not handle mail directly
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Prathibha gamage

    Prathibha gamage Registered

    Joined:
    Aug 30, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    Thanks Michael,

    I tried this as well. But the same issue, outlook clients also gets blocked. How can I restrict remote emails to be accepted only from my external spam filter + all emails sent by mail clients? maybe I should check the sending email domain?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    This would require a custom Exim configuration. I couldn't find any other examples other than the previously linked threads, but you may find the Exim user's mailing list helpful for this question:

    Exim-users Info Page

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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