Postfix CatchAll Adressen

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
cye
Posts: 144
Joined: 2003-03-27 19:18
Location: Bayerischer Wald

Postfix CatchAll Adressen

Post by cye » 2003-10-22 13:02

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 .. ?!?

cye
Posts: 144
Joined: 2003-03-27 19:18
Location: Bayerischer Wald

Re: Postfix CatchAll Adressen

Post by cye » 2003-10-27 08:03

so viele views und keine ideen ?

:( :?

chris76
Moderator
Moderator
Posts: 2015
Joined: 2003-06-27 14:37
Location: Germering

Re: Postfix CatchAll Adressen

Post by chris76 » 2003-10-27 10:11

schaut eigentlich nicht schlecht aus.

Danache einen Postmap gemacht?

Ciao Christian

cye
Posts: 144
Joined: 2003-03-27 19:18
Location: Bayerischer Wald

Re: Postfix CatchAll Adressen

Post by cye » 2003-10-27 10:18

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 ..

cye
Posts: 144
Joined: 2003-03-27 19:18
Location: Bayerischer Wald

Re: Postfix CatchAll Adressen

Post by cye » 2003-10-27 10:21

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.

donkojote
Posts: 12
Joined: 2003-10-30 16:55

Re: Postfix CatchAll Adressen

Post by donkojote » 2003-10-30 16:59

Ich habe das gleiche Problem und werde es nicht los. Was kann man denn da machen? Woran liegt das?

lufthansen
Posts: 390
Joined: 2002-09-24 17:31
Location: NRW

Re: Postfix CatchAll Adressen

Post by lufthansen » 2003-10-30 17:23

setzt mal in der /etc/postfix/main.cf
den myhostname um auf
mail.domain.tld oder so

ich glaube das war es ....

donkojote
Posts: 12
Joined: 2003-10-30 16:55

Re: Postfix CatchAll Adressen

Post by donkojote » 2003-10-31 13:07

Jo, das funktioniert bei mir. Vielen Dank!