Re: [exim] Accept emails coming from a particular IP for a …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Mike Cardwell
Dátum:  
Címzett: Exim Users List
Tárgy: Re: [exim] Accept emails coming from a particular IP for a particular domain
Mike Cardwell wrote:

>> Is there any way to configure exim to reject all mail to a server say
>> (ServerA) for a particular domain say xyz.com, unless it comes from a
>> certain IP(s) , while still allowing the other domains on the server
>> accept
>> mail from anyone?
>
> In the rcpt acl:
>
> deny domain  = example.com : grepular.com
>      !hosts  = 192.168.0.0/24 : 10.0.0.5
>      message = $domain doesn't accept mail from $sender_host_address

>
> The above would reject any email to any email addresses ending
> @example.com or @grepular.com unless they came from the IP address
> 10.0.0.5 or the network 192.168.0.0/24


That should be "domains =" not "domain ="

Mike