[exim] multi domain configuration ...

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: ji'e'toh
Fecha:  
A: exim-users
Asunto: [exim] multi domain configuration ...
(exim4.6, debian, self made one file cfg)



hi,



on my vserver "v1.vserver.com" different domains should be used. how could I
use 1 alias file per domain?



domainlist local_domains = v1.vserver.com : mydoamin1.com : mydomain2.com :
mydomain3.com



my router would be changed to this



system_aliases:

debug_print = "R: system_aliases for $local_part@$domain"

driver = redirect

domains = +local_domains

allow_fail

allow_defer

## data = ${lookup{$local_part}lsearch{/etc/aliases}}

data = ${lookup{$local_part}lsearch{/etc/aliases.$domain}}



this doesn't work. exim resolved a mail to user1@??? in this way



mydomain1.com -> v1.vserver.com -> alias file doesn't exist
"/etc/aliases.v1.vserver.com" .. this is correct, no file, but ??



dns resolved in this way



mydomain1.com -> 1.1.1.1

mydomain2.com -> 1.1.1.1

mydomain3.com -> 1.1.1.1

v1.vserver.com -> 1.1.1.1



1.1.1.1    -> v1.vserver.com




How to solve multi domain aliases?



ty, regards



ji