[exim] aliases router

Top Page
Delete this message
Reply to this message
Author: Bertrand Caplet
Date:  
To: exim-users
Subject: [exim] aliases router
Hey there,
so let me explain :
I have a server who is set to manual route to another server through lmtp.
My problem is that my dovecot doesn't handle the aliases it's actually
exim. So I set exim to lookup in mysql db like this :

>virtual_aliases:
>  debug_print = "R: virtual_aliases for $local_part@$domain"
>  driver = redirect
>  domains = +local_domains
>  allow_fail
>  allow_defer
>  data = ${lookup mysql{SELECT alias.goto AS goto FROM domain,alias
>WHERE \
>        (alias.address='${quote_mysql:$local_part@$domain}') >AND \
>                   alias.active=1 AND \
>                   domain.domain='${quote_mysql:$domain}' AND \
>                   domain.active=1}}


this query is all ok, it's working on two other servers.

But in that server it doesn't lookup aliases before the manualroute.
manualroute goes to transport directly and doesn't check that aliases.

How can I make it working ?

Thanks in advance,
--
CHUNKZ.NET - script kiddie and computer technician
Bertrand Caplet, Flers (FR)
Feel free to send encrypted/signed messages
Key ID: FF395BD9
GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9