[Postfixbuch-users] postfix und courier proxy cluster, postfix liefert mail an falschen host

rupert rupertt at gmail.com
Fr Feb 8 17:20:11 CET 2008


Ich hab nun eine neue spalte mit den IP´s des hosts wo die mailboxen
sind eingeführt,
wenn ich nun eine mail sende, wird diese anscheinend ausgeliefert,
aber sie taucht nicht im betreffenden Postfach auf.


Irgentwann ändert sich hier der empfänger zum sender :(. Die mail
wurde von Rechner B verschickt, von einem user auf Rechner B nach
einen User auf Rechner A

RECHNER B
eb  8 16:16:10 backend-B1 postfix/smtpd[20377]: connect from
backend-A1.fra1.mailcluster[172.20.1.101]
Feb  8 16:16:10 backend-B1 postfix/smtpd[20377]: B08EED706AA:
client=backend-A1.fra1.mailcluster[172.20.1.101]
Feb  8 16:16:10 backend-B1 postfix/cleanup[20384]: B08EED706AA:
message-id=<20080208161255.5544F1B3004C at backend-A1.fra1.mailcluster>
Feb  8 16:16:11 backend-B1 postfix/qmgr[19614]: B08EED706AA: from=<>,
size=4060, nrcpt=1 (queue active)
Feb  8 16:16:11 backend-B1 postfix/smtpd[20377]: disconnect from
backend-A1.fra1.mailcluster[172.20.1.101]
Feb  8 16:16:12 backend-B1 postfix/smtpd[20393]: connect from unknown[127.0.0.1]
Feb  8 16:16:12 backend-B1 postfix/smtpd[20393]: 4245AD706CF:
client=unknown[127.0.0.1]
Feb  8 16:16:12 backend-B1 postfix/cleanup[20384]: 4245AD706CF:
message-id=<20080208161255.5544F1B3004C at backend-A1.fra1.mailcluster>
Feb  8 16:16:12 backend-B1 imapd: couriertls: read: Connection reset by peer
Feb  8 16:16:12 backend-B1 postfix/qmgr[19614]: 4245AD706CF: from=<>,
size=4796, nrcpt=1 (queue active)
Feb  8 16:16:12 backend-B1 postfix/smtpd[20393]: disconnect from
unknown[127.0.0.1]
Feb  8 16:16:12 backend-B1 amavis[20408]: (20408-01) Passed CLEAN,
MYNETS LOCAL [172.20.1.101] [172.20.1.101] <> -> <horst at test.local>,
Message-ID: <20080208161255.5544F1B3004C at backend-A1.fra1.mailcluster>,
mail_id: wrLyFtbOCqiH, Hits: 3.895, size: 4060, queued_as:
4245AD706CF, 1292 ms
Feb  8 16:16:12 backend-B1 postfix/smtp[20385]: B08EED706AA:
to=<horst at test.local>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.6,
delays=0.34/0/0.01/1.3, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued
as 4245AD706CF)
Feb  8 16:16:12 backend-B1 postfix/qmgr[19614]: B08EED706AA: removed
Feb  8 16:16:12 backend-B1 postfix/smtp[20395]: 4245AD706CF:
to=<horst at test.local>, relay=none, delay=0.07, delays=0.07/0/0/0,
dsn=5.4.6, status=bounced (mail for 172.20.2.101 loops back to myself)
Feb  8 16:16:12 backend-B1 postfix/qmgr[19614]: 4245AD706CF: removed

RECHNER A
Feb  8 16:12:55 backend-A1 postfix/smtpd[7528]: connect from unknown[127.0.0.1]
Feb  8 16:12:55 backend-A1 postfix/smtpd[7528]: 321741B30096:
client=unknown[127.0.0.1]
Feb  8 16:12:55 backend-A1 postfix/cleanup[7521]: 321741B30096:
message-id=<47AC7F50.80707 at test.local>
Feb  8 16:12:55 backend-A1 postfix/qmgr[6830]: 321741B30096:
from=<horst at test.local>, size=1881, nrcpt=1 (queue active)
Feb  8 16:12:55 backend-A1 postfix/smtpd[7528]: disconnect from
unknown[127.0.0.1]
Feb  8 16:12:55 backend-A1 amavis[1743]: (01743-05) Passed CLEAN,
MYNETS LOCAL [172.20.2.101] [=::=:=:=:] <horst at test.local> ->
<albert at test.local>, Message-ID: <47AC7F50.80707 at test.local>, mail_id:
VJZnm+di2Q0Y, Hits: 3.167, size: 1407, queued_as: 321741B30096, 4233
ms
Feb  8 16:12:55 backend-A1 postfix/smtp[7523]: EDD631B3004C:
to=<albert at test.local>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.3,
delays=0.05/0/0/4.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as
321741B30096)
Feb  8 16:12:55 backend-A1 postfix/qmgr[6830]: EDD631B3004C: removed
Feb  8 16:12:55 backend-A1 postfix/smtp[7531]: 321741B30096:
to=<albert at test.local>, relay=none, delay=0.05, delays=0.04/0/0/0,
dsn=5.4.6, status=bounced (mail for 172.20.1.101 loops back to myself)
Feb  8 16:12:55 backend-A1 postfix/cleanup[7521]: 5544F1B3004C:
message-id=<20080208161255.5544F1B3004C at backend-A1.fra1.mailcluster>
Feb  8 16:12:55 backend-A1 postfix/qmgr[6830]: 5544F1B3004C: from=<>,
size=3838, nrcpt=1 (queue active)
Feb  8 16:12:55 backend-A1 postfix/bounce[7533]: 321741B30096: sender
non-delivery notification: 5544F1B3004C
Feb  8 16:12:55 backend-A1 postfix/qmgr[6830]: 321741B30096: removed
Feb  8 16:12:55 backend-A1 postfix/smtp[7531]: 5544F1B3004C:
to=<horst at test.local>, relay=172.20.2.101[172.20.2.101]:25,
delay=0.35, delays=0.01/0/0/0.34, dsn=2.0.0, status=sent (250 2.0.0
Ok: queued as B08EED706AA)
Feb  8 16:12:55 backend-A1 postfix/qmgr[6830]: 5544F1B3004C: removed
Feb  8 16:12:56 backend-A1 imapd: DISCONNECTED,
user=sales at example.local, ip=[::ffff:172.20.2.101], headers=0,
body=338, rcvd=126, sent=1369, time=49

Mich wundert das postfix den hostnamen nicht nach denen in der
/etc/hosts auflösen kann!

gruß

2008/2/8 rupert <rupertt at gmail.com>:
> aber warum soll ich für meinen lokalen mailcluster(courier proxy
>  setup) der hinter einer firewall liegt DNS einträge machen,
>  der courier der auf beiden läuft hat kein problem den partner zu
>  finden, und verteilt die mailboxanfragen wunderbar,
>  Ich würde ungern einen DNS aufsetzen.
>
>  meine /etc/hosts sieht so aus, sollte doch gehen
>
>  172.20.1.101 backend-A1 backend-A1.fra1.mailcluster
>  172.20.2.101 backend-B1 backend-B1.fra1.mailcluster
>
>  rupert
>
>
>
>  On Fri, Feb 8, 2008 at 4:14 PM, Sandy Drobic
>  <postfixbuch-users at japantest.homelinux.com> wrote:
>  > rupert wrote:
>  >  > 008/2/8 Peer Heinlein <p.heinlein at heinlein-support.de>:.
>  >  >
>  >  >
>  >  >> Am Freitag, 8. Februar 2008 schrieb rupert:
>  >  >>
>  >  >>
>  >  >>
>  >  >>> Feb  8 12:52:24 backend-B1 postfix/smtp[19015]: 5BC8CD7068E:
>  >  >>  > to=<horst at test.local>, relay=none, delay=0.06, delays=0.06/0/0/0,
>  >  >>  > dsn=5.4.4, status=bounced (Host or domain name not found. Name service
>  >  >>  > error for name=backend-B1.fra1.mailcluster type=A: Host not found)
>  >        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^
>  >
>  >  Was ist an dieser Meldung missverständlich?
>  >
>  >
>  >  > der test sieht gut aus, nur wie bindet postfix dann den rest ein, laut readme
>  >  > soll eine transportmap so aussehe:
>  >  >
>  >  > albert at test.local                     smtp:[backend-A1.fra1.mailcluster]
>  >  >
>  >  > oder verstehe ich da was falsch?
>  >
>  >  Ja, du verstehst nicht, was das wirkliche Problem ist. Postfix hat die
>  >  Transport-Tabelle, die du angegeben hast, wie gewünscht ausgewertet, der Punkt
>  >  ist gegessen.
>  >
>  >  Jetzt möchte Postfix die Mail an backend-B1.fra1.mailcluster ausliefern, aber
>  >  er findet diesen Server nicht im DNS. Gültig ins FQDN Hosts, entweder ein MX
>  >  Eintrag oder wenn, kein MX gesetzt wird, dann ein A Eintrag.
>  >
>  >
>  >  --
>  >  Sandy
>  >
>  >  Antworten bitte nur in die Mailingliste!
>  >  PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com
>  >
>  >  --
>  >
>  >
>  > _______________________________________________
>  >  Postfixbuch-users -- http://www.postfixbuch.de
>  >  Heinlein Professional Linux Support GmbH
>  >
>  >  Postfixbuch-users at listi.jpberlin.de
>  >  https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
>  >
>



On Fri, Feb 8, 2008 at 4:14 PM, Sandy Drobic
<postfixbuch-users at japantest.homelinux.com> wrote:
> rupert wrote:
>  > 008/2/8 Peer Heinlein <p.heinlein at heinlein-support.de>:.
>  >
>  >
>  >> Am Freitag, 8. Februar 2008 schrieb rupert:
>  >>
>  >>
>  >>
>  >>> Feb  8 12:52:24 backend-B1 postfix/smtp[19015]: 5BC8CD7068E:
>  >>  > to=<horst at test.local>, relay=none, delay=0.06, delays=0.06/0/0/0,
>  >>  > dsn=5.4.4, status=bounced (Host or domain name not found. Name service
>  >>  > error for name=backend-B1.fra1.mailcluster type=A: Host not found)
>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^
>
>  Was ist an dieser Meldung missverständlich?
>
>
>  > der test sieht gut aus, nur wie bindet postfix dann den rest ein, laut readme
>  > soll eine transportmap so aussehe:
>  >
>  > albert at test.local                     smtp:[backend-A1.fra1.mailcluster]
>  >
>  > oder verstehe ich da was falsch?
>
>  Ja, du verstehst nicht, was das wirkliche Problem ist. Postfix hat die
>  Transport-Tabelle, die du angegeben hast, wie gewünscht ausgewertet, der Punkt
>  ist gegessen.
>
>  Jetzt möchte Postfix die Mail an backend-B1.fra1.mailcluster ausliefern, aber
>  er findet diesen Server nicht im DNS. Gültig ins FQDN Hosts, entweder ein MX
>  Eintrag oder wenn, kein MX gesetzt wird, dann ein A Eintrag.
>
>
>  --
>  Sandy
>
>  Antworten bitte nur in die Mailingliste!
>  PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com
>
>  --
>
>
> _______________________________________________
>  Postfixbuch-users -- http://www.postfixbuch.de
>  Heinlein Professional Linux Support GmbH
>
>  Postfixbuch-users at listi.jpberlin.de
>  https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
>


Mehr Informationen über die Mailingliste Postfixbuch-users