Autor: Attila Fecha: A: exim-users Cc: Nico Erfurth Asunto: Re: [Exim] problem with main domain (virtual hosts) -- need help
Hello,
> Show us your other directors please, and do a
> debugrun with exim -d9 -bt contact@???
> ciao
I did run the debug test you told me and I think I got the problem. I
do not attach the whole thing but it appeares to me that it does this:
1. it searches for contact@??? and finds its file correctly
2. it finds the recipient user (i.e. "attila") correctly BUT then it
does like this:
address attila@???
local_part=attila domain=domain1.com
domain is local
So when delivering to the local user it appends the "main" domain (i.e.
domain1.com) to the user name (attila@???). It does this even
though the file of domain2.com contains only
*: attila
so just a local user name. And then when it keeps running, finds the
file of domain1.com, finds the line
*: other_user
and this way other_user gets the mail, not attila. Poor me :(
This is the "virtual" director. I guess that other directors are just
the defaults. It looks like this:
---------------------------------
real_local:
prefix = real-
driver = localuser
transport = local_delivery