[exim] Exim ACL to Limit Incoming Server Sources

Top Page
Delete this message
Reply to this message
Author: Chris Miller
Date:  
To: exim-users
Subject: [exim] Exim ACL to Limit Incoming Server Sources
We have a shared mail server running Exim 4. Some of the domains on the
server have MX records pointing to another set of servers which provide
spam filtering. However, not all domains on the machine are setup like
this, some have mail coming directly into the server.

For the ones that have the spam service, inbound mail to the actual mail
server will only be coming from the spam servers, as that's where all
mail comes first.

I would like to setup two named lists, one for the source servers, and
another for domains which have the spam service. How can I setup an ACL
in Exim to prevent mail from any server other than what is listed in the
spam servers named list but only for the domains in the spam subscribers
name list?

In other words, if the user's domain is listed in +filtered_domains,
only accept it from +filtering_servers, otherwise process normally.

Thanks,

Chris Miller
ServerMotion
www.servermotion.com