Re: Whitelisting Blacklisted Server

David Cannings <[email protected]> Thu, 20 Jan 2005 19:38:02 +0000
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
Matt wrote:
> deny dnslists = relays.ordb.org : sbl-xbl.spamhaus.org
>     message  = SPAM: rejected because $sender_host_address is in the 
> blacklist at $dnslist_domain\n\ ($dnslist_text)
> 
> I need to whitelist a certain server thats listed in spamhaus.  How do I do 
> that?

You could make a hostlist called "whitelist" and put the server into
that, see the relay_host hostlist in the default exim configuration.
Then, change your deny above to be:

deny !hostlist = whitelist
      dnslists = ..

This is off the top of my head so syntax might be a little rusty, try it
though and see if it works for you.

David