On Thursday 09 August 2007 20:49, tao wrote:
> i want to get domain list from ldap server and i can get expanded string
> separated by new line.
>
> % exim -be '${lookup ldapm
> {ldap:///ou=DomainZone,dc=example,dc=net?dnszonename?sub?(&(objectClass=dns
>zone)(dnszonename=*))}{$value}}' example.net
> example.com
>
> i used this looking up expansion for domain list like specification
> document section 6.20 .. but did not work.
>
> domainlist local_domains </n ${lookup ldapm
> {ldap:///ou=DomainZone,dc=example,dc=net?dnszonename?sub?(&(objectClass=dns
>zone)(dnszonename=*))}{$value}}

It's \n, not /n, and that feature wasn't added until version 4.67.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for 
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans

Attachment: pgpJygloDhMDK.pgp
Description: PGP signature

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

Reply via email to