Exim with upstream spam filter
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.
Please sign in to leave a comment.
Comments
1 comment