Page 1 of 1

Postfix CatchAll Adressen

Posted: 2003-10-22 13:02
by cye
Hi,

meine virtual datei ist so aufgebaut

domain1.de VIRTUAL
user1@domain1.de konto1
user2@domain1.de konto2
@domain1.de konto1

domain2.de VIRTUAL
user1@domain2.de konto3
user2@domain2.de konto4
@domain2.de konto3


leider kommen dabei alle mails von domain2.de
beim konto1 an .. ?!?

Re: Postfix CatchAll Adressen

Posted: 2003-10-27 08:03
by cye
so viele views und keine ideen ?

:( :?

Re: Postfix CatchAll Adressen

Posted: 2003-10-27 10:11
by chris76
schaut eigentlich nicht schlecht aus.

Danache einen Postmap gemacht?

Ciao Christian

Re: Postfix CatchAll Adressen

Posted: 2003-10-27 10:18
by cye
ja

ich glaube es liegt irgendwie daran
das domain1.de das gleiche is wie die lokal domain

weil systembenutzer vor den catchall ausgeliefert werden
kenne mich da aber nicht genauer aus ..

Re: Postfix CatchAll Adressen

Posted: 2003-10-27 10:21
by cye

Code: Select all

With lookups from indexed files such as DB or DBM, or from networked tables such as NIS, LDAP or SQL, patterns are tried
in the order as listed below:

user@domain address, address, ...
        Mail for user@domain is redirected to address.  This form has the highest precedence.

user address, address, ...
       Mail for user@site is redirected to address when site is equal to $myorigin, when site is listed  in  $mydestina­tion, or when it is listed in $inet_interfaces.

      This  functionality  overlaps  with  functionality of the local alias(5) database. The difference is that virtual
       mapping can be applied to non-local addresses.

@domain address, address, ...
       Mail for any user in domain is redirected to address.  This form has the lowest precedence.

       In all the above forms, when address has the form @otherdomain, the result is the same user in otherdomain.  This  works
       for the first address in the expansion only.

Re: Postfix CatchAll Adressen

Posted: 2003-10-30 16:59
by donkojote
Ich habe das gleiche Problem und werde es nicht los. Was kann man denn da machen? Woran liegt das?

Re: Postfix CatchAll Adressen

Posted: 2003-10-30 17:23
by lufthansen
setzt mal in der /etc/postfix/main.cf
den myhostname um auf
mail.domain.tld oder so

ich glaube das war es ....

Re: Postfix CatchAll Adressen

Posted: 2003-10-31 13:07
by donkojote
Jo, das funktioniert bei mir. Vielen Dank!