Re: [Exim] dynamically selecting transport

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Hans-Peter Zahno
Kopio: exim-users
Aihe: Re: [Exim] dynamically selecting transport
On Wed, 11 Apr 2001, Hans-Peter Zahno wrote:

> Here an extract of my config file. It is the transport line in the director
> domain1_aliases which should always expand to a transport named 'tr_<unqualified hostname>'


Fine. That looks ok, but it does not tally with the error you reported!
You reported a configuration error, which will happen before the
expansion is done.

Please run "exim -d9 -bt xxxx" where xxxx is an address that should
resolve to that transport so we can get more information.

> # my director
> domain1_aliases:
>   driver = aliasfile
>   file_transport = address_file
>   pipe_transport = address_pipe
>   domains = "unifr.ch"
>   search_type = ldap
>   query = ldap:///ou=persons,ou=ufdir,dc=unifr,dc=ch?mailroutingaddress?sub?(mail=$local_part@???)
>   transport = ${lookup ldap \
>        {ldap:///ou=persons,ou=ufdir,dc=unifr,dc=ch?mailhost?sub?(mail=$local_part@???)} \
>        {tr_${tr{${lc:${extract{1}{.}{$value}}}}{-}{_}}}fail}


Hmm. You are using "aliasfile" with a transport. Are you sure you really
want to do this? Do you understand what happens if aliasfile is used
with a transport? It is not the normal way to do aliasing.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.