Re: [exim] Spamhaus Lookup

Top Page
Delete this message
Reply to this message
Author: Lena
Date:  
To: exim-users
Subject: Re: [exim] Spamhaus Lookup
> From: Pete

> This afternoon I noticed that incoming mail was being temporarily
> rejected.


> After including a section
> in /etc/exim4/exim4.conf.template as shown below, mail flow was
> disrupted :
>
>   deny
>     hosts = !*.domain.example : !*.another.example \
>             !*.onemore.example
>     message = Access denied. Listed at $dnslist_domain.
>     dnslists = zen.spamhaus.org


Replace the "hosts" line with:

  condition = ${if !match{$sender_host_name}\
     {\N\.(domain\.example|another\.example|onemore\.example)$\N}}