Re: [exim] Exim recipe to accept mail from $domain only if i…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Renaud Allard
Ημερομηνία:  
Προς: Nick Nelson
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Exim recipe to accept mail from $domain only if it comes from $ip


Nick Nelson wrote:
> Unfortunately this blocked all outgoing mail from palay.org as well.
>


If you put palay.org in /etc/protecteddomains and you didn't put their
IPs in /etc/allowedips, this is somewhat normal.

> On 2/21/07, Renaud Allard <renaud@???> wrote:
>>
>>
>> Nick Nelson wrote:
>>> There's certain domains where all mail would be relayed through another
>>> host, for these domains I do not want to accept mail from any IP that
>> isn't
>>> listed in /etc/allowedips, the domains that relay through this host are
>>> listed in /etc/protecteddomains.
>>>
>>> Can anyone provide some insight on this?
>> This ACL should work:
>> deny
>> sender_domains = lsearch;/etc/protecteddomains
>>
>> !condition = ${lookup{$sender_host_address}lsearch{/etc/allowedips}
>> {yes}{no}}
>>
>> log_message = $sender_host_address is not allowed to send mail from
>> $sender_address_domain
>>
>> message = $sender_host_address is not allowed to send mail from
>> $sender_address_domain
>>
>>


--
010100100110010101101110011000010111010101100100
010000010110110001101100011000010111001001100100