Re: [exim] multi domain configuration ...

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: ji'e'toh
CC: exim-users
Assumpte: Re: [exim] multi domain configuration ...
On Wed, 26 Apr 2006, ji'e'toh wrote:
>
> 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
>
> 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.$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 ??


That looks perfectly correct to me - your Exim configuration is fine, but
you haven't created the aliases file for the domain v1.vserver.com. What
were you expecting?

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}