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!

Exim with upstream spam filter

Discussion in 'E-mail Discussion' started by SPaul, Aug 27, 2015.

  1. SPaul

    SPaul Registered

    Joined:
    Aug 27, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Seattle
    cPanel Access Level:
    Root Administrator
    Hello, all.

    So, I have the MX records for domain.com pointing to spamexperts which points to my server which hosts the domain's mailboxes. All is well except that nefarious spammers ignore MX records and just connect directly to my server's port 25. So, to keep this from happening, I add this as a custom acl_smtp_rcpt:custom_begin_recipient:

    defer
    domains = domain.com
    !hosts = delivery.antispamcloud.com : localhost
    message = Please deliver mail to the address specified in the MX records for this domain.

    This works great except if a client machine that sends its email through my server (i.e., domain.com) addressed to another user in the same domain. Even though the zone file on my server for domain.com has the proper spamexperts MX entries, they are ignored when sending intra-domain email and, thus, the above custom ACL gets triggered and the email is rejected because such a connection is seen by EXIM not as localhost but, rather, the IP/hostname of the client computer.

    Any ideas other of changing everyone's settings in their email programs?

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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