[exim] exim4 vhosts mail-router-problem...

Pàgina inicial
Delete this message
Reply to this message
Autor: sldfjsjfs slkjfksjflkj
Data:  
A: exim-users
Assumpte: [exim] exim4 vhosts mail-router-problem...
i set up a websurfer (Debian SARGE, Apache 1.3, exim4, ...) with virtual hosts, white
a directory-structure looking like this:

/var/www/user1/web/domain1.tld/html
/var/www/user2/web/domain2.tld/html
...

for every vhost (virtual domain) i´ve set up a own aliases-file, like:

/var/www/user1/domain1.tld-aliases

and a symlink e.g.:

/var/wwwcenter/aliases/domain1.tld-aliases -> /var/www/user1/domain1.tld-aliases

further i use the splitted config-files option in exim4, so the important router for my
purpose are:

...
900_exim4-config_local_user
950_exim4-config_local_domainaliases

source of 950_exim4.... :
--------------------------------------------------------------------------------
domain_aliases:
driver = redirect
domains = +local_domains
debug_print = "R: virtual for $local_part@domain"
data = ${lookup{$local_part}wildlsearch*{/var/wwwcenter/aliases/$domain-aliases}}
----------------------------------------------------------------------------------

i´ve added all virtual domains to the local_domains via: lsearch;/var/exim4/vdomains (all right!)

so far i´m able to send an recieve mails over that configurartion, but for example:

it exists an alias like: "info: user1" for the domain "domain1.tld" and it exists an local user
named "info', so when i send an email to "info@???", not the user "user1" gets the message, but the local user "info" because of the fact that the local_user router is earlier positioned than the router for the domainaliases domain_aliases.

Please help me!


______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193