Re: [exim] dnslists question

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