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

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Magnus Holmgren
Data:  
Para: exim-users
Assunto: Re: [exim] how to specify new line as list separator?
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        holmgren@???
                       (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