Dave Pooser wrote:
>> message = sender IP address $sender_host_address is locally blacklisted
>> here. If you think this is wrong, get in touch with postmaster
>>  
>>    hosts = ${if exists{/etc/exim/blacklist_ip}\
>>                 {/etc/exim/blacklist_ip}\
>>                  {}}
>>
>> this is still blocking all mail and inserting the message
>>     
>
> What I do is I define my list of addresses as a hostlist before the ACL
> section in my exim.conf file:
>
> hostlist block_by_ip    =    /etc/exim/files/blacklist_ip
>
> Then in my acl_smtp_rcpt (linewraps are an artifact of my MUA):
>   deny        message    =    Message rejected because $sender_host_address
> is in a local block list.
>           hosts    =    +block_by_ip
>   
Thanks for the replies and input as I now have things working as they 
are supposed to be working. I knew that I was missing something stupid. 
After looking at things for so long everything jumbles up then you miss 
something easy.

Again thanks for the help it was greatly appreciated

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to