Hello everyone,
First of all thanks for this great product. I`m new to exim and i
think that my question was already asked here but i want to see it
clear. I have made the following setup for handling virtual domains:
local_domains = my.local.dom.ain:mysql;select domains.domainname from domains,clients where domains.maintainer = clients.login and clients.active='TRUE'
This selects all domains that are linked to clients and outputs a
list of them:
domain1.com
domain2.com
etc.
next i use a mysql alias driver like this:
mysql_system_aliases:
driver = aliasfile
search_type = mysql
query = "select userid from mail_aliases where aliasid='$local_part' and aliasdomain='$domain' and active = 'TRUE'"
user = exim
when i telnet to exim server and do a negotiation in this manner
hello dude
mail from:ava@???
rcpt to:user@???
it does a strange thing:
0. Checks all local domains
1. Looks up an alias in mail_aliases for mail from command
2. Looks up an alias for address in rcpt to command.
3. Finds an alias for user@??? as user_somewere@???
4. Tries to find $local_part and deliver to it not using smtp.
How to tell exim to deliver to this address using smtp to looking in
aliases -- the domain is not listed in local_domains.
Thanks in advance and sorry for my poor english.
Best regards,
Alexei V. Alexandrov [AA4460, AVA32-RIPN, AA1829-RIPE]
------------------------------------------------------------------------
*** Alexei V. Alexandrov -- www.elcomsoft.com ---- ava@??? ***
*** PGP Fingerprint: 6550 3949 FA86 E559 3036 E09F BBD9 B0C5 ***
------------------------------------------------------------------------