On Wed, 22 Jun 2005, John Horne wrote:

> The problem is that the variables, $dnslist_domain, $dnslist_value and
> $dnslist_text all get 'overwritten' by the whitelist look up. As such
> when the message is denied our local log message contains the wrong
> DNSBL, the whitelist one, rather than the blacklist one.
> 
> Rearranging the exim configuration doesn't seem possible. So I'm
> wondering if there is any way for 'dnslists' not to set the variables -
> a wishlist item for a dnslists option?

Surely you can just save the values in some ACL variables?

> A way around it is to perform the DNS lookup using dnsdb rather than
> 'dnslists', but that seems to defeat the object (simplicity) of using
> 'dnslists'. Alternatively I could set 3 acl variables to store
> $dnslist_domain etc, but again that seems a bit of a cludge when the
> ($dnslist_xxx) variables are already there - and I see no way of setting
> the $dnslist variables myself.

Ah, you spotted that already. I'm afraid that I feel that a non-setting 
call to dnslists is IMHO untidy and unorthogonal. I don't feel that 
saving values in variables is particularly reprehensible.

-- 
Philip Hazel            University of Cambridge Computing Service,
[EMAIL PROTECTED]      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to