thanks for reply...

better described now. 

my vserver:
ip: 1.1.1.1
dns name: v1.vserver.com

my extra domains:
dns name: my.domain1.com
dns name: my.domain2.com
dns name: my.doamin3.com
ip of this all: 1.1.1.1

user1, user2, user3 exists on the system, pop/imap server

now user1 would be use my.domain1.com only for himself, he want 3 aliases:
mail and info and user1.name

now I need different aliases files, 1 for each domain. if not, the alias
mail exists to all domains, but would be mapped always to user1, in this
case

my problem from exim4 (-bh localhost for example)
ehlo localhost
mail from: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
data ...

this should be delivered to --> user1, :-(

if I create (described below) different files:
aliases
aliases.my.domain1.com
aliases.my.domain2.com
aliases.my.domain3.com

now exim say to me: no alias file aliases.v1.vserver.com, this is right, but
why? mail should be delivered to my.domain3.com, not this one! and this file
exists! how could I solve this problem?

regards, ji




-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
Auftrag von Heiko Schlittermann
Gesendet: Donnerstag, 27. April 2006 09:21
An: exim-users@exim.org
Betreff: Re: [exim] multi domain configuration ...

Heiko Schlittermann <[EMAIL PROTECTED]> (Mi 26 Apr 2006 22:57:08 CEST):
> > mydomain1.com -> v1.vserver.com -> alias file doesn't exist
> > "/etc/aliases.v1.vserver.com" .. this is correct, no file, but ??

According to some other mail here: If I should read this as:
    the file /etc/aliases.v1.vserver.com does not exist

then of course you can skip the following test
    > What does exim4 -d-all+route -bv [EMAIL PROTECTED] tell you (and
us)?
and continue with creating the above mentioned alias file.


    # /etc/aliases.v1.vserver.com
    user1:  localuser1
    user2:  [EMAIL PROTECTED]
    postmaster: your-local-postmaster-address
    *:  User does not exist.

I recommend using the '*' entry and changing the lsearch into lsearch*,
it least for me it avoids confusion, if the user is not found in the
"virtual" alias file but exists in you "global" /etc/aliases or is some
local user in your system.

Heiko


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to