Re: [exim] Safe Hosts per domain

Top Page
Delete this message
Reply to this message
Author: Renaud Allard
Date:  
To: gshine
CC: exim-users
Subject: Re: [exim] Safe Hosts per domain


Shine, Gary wrote:
> We have now implemented an Anti-Spam gateway for our Exim servers. I want to
> be able to tell Exim to reject mail for any domains where mail MUST come
> through the Anti-Spam gateway, but as not all domains come through that
> gateway, I need exim to check on a per domain bassis.
>
> This way I can stop people talking directly to the Exim servers, rather than
> the Anti-Spam gateway.
>
> Can Exim do this?
>


An ACL like this one should work

deny
!hosts = gateway
domains = dom1.tld : dom2.tld
message = Your mail must be sent through the antispam gateway