On Tue, 2 May 2006, Pat Hastings wrote:
>
> Is there anyway of displaying the contents of a domain list to the mainlog
> when processing an ACL check?

No: lists can be defined in ways that aren't listable. For example, they
might contain wildcard entries. However in your specific case you could
add a logwrite ACL modifier. For example:

LDAP_VIRTUAL_DOMAINS = ${lookup ldapm 
{ldap://LDAPSERVER/LDAPBASE?o?one?(objectclass=organization)} }

domainlist virtual_domains = LDAP_VIRTUAL_DOMAINS

# ...

 warn logwrite = Virtual domains: LDAP_VIRTUAL_DOMAINS

Or you could just run exim -be '${lookup ... }'

Tony.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   http://dotat.at/   ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}

-- 
## 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