Re: [Exim] bypass RBL for specific hosts

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Oren Levi
CC: exim-users
Subject: Re: [Exim] bypass RBL for specific hosts
On Tue, 23 Sep 2003, Oren Levi wrote:

> A little follow up question:
>
> How would you avoid checking RBL to a specific mailbox ?


Similarly. Just put an appropriate condition on the ACL (as described in
chapter 37 of the manual).

> Would this work for a specific domain ?
>
> deny message = rejected because $sender_host_address is \
> blacklisted at $dnslist_domain\n\
> $dnslist_text
> domain = !domainname.com
> hosts = !12.144.47.167
> dnslists = ................


That will deny if the domain of the recipient is not domainname.com, and
the IP address of the sending host is not 12.144.47.167, and the host is
on one of the dnslists.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book