Re: [exim] dnslists question

Top Pagina
Delete this message
Reply to this message
Auteur: Graeme Fowler
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] dnslists question
On Fri, 2009-03-13 at 06:52 -0700, Marc Perkel wrote:
> warn    condition = ${if def:acl_c_sender_host_domain}
>     dnslists = hostkarma.junkemailfilter.com/$acl_c_sender_host_domain
>     set acl_c_karmahost_result = $dnslist_value


$dnslist_value will be empty if the lookup fails. It's also empty if
there's a negative response (ie. item is not on the list).

If you add +include_unknown then you'll get three results:

1. Test is passed (ie. host is on list), $dnslist_value contains
something.
2. Test is failed (ie. host is not on list), $dnslist_value is unset or
empty.
3. Test is passed (as though the host is on the list), $dnslist_value is
unset or empty.

All yours.

Graeme