Re: [exim] multi domain configuration ...

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] multi domain configuration ...
ji'e'toh <jietoh@???> (Mi 26 Apr 2006 22:52:03 CEST):
> (exim4.6, debian, self made one file cfg)
>
> 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 ??


What does exim4 -d-all+route -bv user1@??? tell you (and us)?

> 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


It's not important here.


BTW: You shouldn't obfuscate the IPs and names, iff possible.


    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -