[Exim] virtual domains aliases

Página Inicial
Delete this message
Reply to this message
Autor: Rossen Naydenov
Data:  
Para: exim-users
Assunto: [Exim] virtual domains aliases
Hi guys,

Here is my problem I have virtual domains and here is how my router
looks like (this is the first router):

virtual_aliases:
~ driver = redirect
~ allow_fail
~ allow_defer
~ data = ${lookup{$local_part}lsearch*{/etc/exim4/aliases/$domain}}
~ domains = lsearch;/etc/exim4/virtual.domains
~ user = mail
~ group = mail
~ qualify_preserve_domain
~ file_transport = address_file
~ pipe_transport = address_pipe

Here is the problem:
I have aliases (in /etc/exim4/aliases/$domain) like:

user:        user@domain
user_same:    user@domain
*:        office@domain


All messages go to office@domain!

Why is this happening?
Does this asterisk(*) in lsearch doing the wrong?
Using exim 4.31.

- --
Best Regards

Rossen Naydenov
AEGIS-IS JSCo
Bulgaria
www.aegis-is.com
Phone: +359 2 980 20 50
Fax: +359 2 980 66 11