Re: [exim] Spamhaus Lookup

Góra strony
Delete this message
Reply to this message
Autor: Lena
Data:  
Dla: exim-users
Temat: 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}}