[exim] how to specify new line as list separator?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: tao
Date:  
À: exim-users
Sujet: [exim] how to specify new line as list separator?
hi all, I'm new user to Exim and using version 4.63 on Debian Etch (package)

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=dnszone)(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=dnszone)(dnszonename=*))}{$value}}

when exim receive message for this domains, it act as "relay", so i
think local_domains list does not work
( other setting is good because i can get message to these domain when i
specify the list directly using colon such as "exmple.net : example.com")

how can i slove it? ( i expect that debian exim can not use new line as
list separator, because i found there are no description about that in
that spec.txt!)