
David Haller wrote:
Hallo,
Am Fri, 19 Sep 2003, Hans-Robert Wagner schrieb:
Am Freitag, 19. September 2003 18:43 schrieb Axel Dreher:
Zur Sicherheit noch meine /etc/hosts: ::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts
127.0.0.1 localhost 127.0.0.2 linux.local linux
Ist daran vielleicht was falsch? Ich denke nicht.
Vielleciht habe ich in der Schule ja nicht aufgepasst, aber wer oder was ist 127.0.0.2?
Genauso wie 127.0.0.1 und der Rest von 127/8 schlicht localhost. Allerdings sollte Axel folgendes verwenden:
127.0.0.1 localhost linux.local linux
Zumindest sollten 'localhost' und '$hostname.$localdomain' sowie '$hostname' die gleiche IP (127.0.0.1) haben. Fuer weitere Namen kann man dann beliebig andere IPs aus 127/8 verwenden.
-dnh
Vielen Dank,David.Ich habe jetzt folgende /etc/hosts: Habe nebenbei noch die Namen geändert, zwecks besserer Übersicht: # special IPv6 addresses #::1 localhost ipv6-localhost ipv6-loopback #fe00::0 ipv6-localnet #ff00::0 ipv6-mcastprefix #ff02::1 ipv6-allnodes #ff02::2 ipv6-allrouters #ff02::3 ipv6-allhosts 127.0.0.1 localhost daniel.duesentrieb daniel #127.0.0.2 daniel.duesentrieb daniel Wie man sieht, habe ich eventuelle Störeinflüsse auskommentiert. Netzwerktests: ping localhost geht.Klar.Ping daniel geht auch,sowie ping daniel.duesentrieb.Was nicht geht,ist ping duesentrieb.Auch logisch,das ist ja die Domain.Liege ich da richtig?Muß das so sein? Meine main.cf habe ich auch angepaßt.Die relevanten Einträge: postconf -n | grep my local_transport = local: $mydomain mydestination = $myhostname, localhost, localhost.$mydomain, $mydomain, localhost.local mydomain = duesentrieb myhostname = daniel.duesentrieb mynetworks = 127.0.0.0/8 Sollte also alles funktionieren.Aber: tail -10 /var/log/mail Sep 20 09:41:17 daniel postfix/smtp[2534]: 7F463FDEE: to=<acki@localhost.duesentrieb>, relay=none, delay=122, status=deferred (SOFT BOUNCE - duesentrieb: Host not found) Sep 20 09:41:17 daniel postfix/qmgr[2530]: 4EF52FDE8: from=<kolund@sprynet.com>, size=159875, nrcpt=1 (queue active) Sep 20 09:41:17 daniel postfix/qmgr[2530]: F3DA9FDE9: from=<kolund@sprynet.com>, size=147546, nrcpt=1 (queue active) Sep 20 09:41:17 daniel postfix/smtp[2537]: 6FB5FFDEA: to=<acki@localhost.local>, relay=none, delay=52489, status=deferred (SOFT BOUNCE - duesentrieb: Host not found) Sep 20 09:41:17 daniel postfix/smtp[2534]: 071F1FDEB: to=<acki@localhost.duesentrieb>, relay=none, delay=124, status=deferred (SOFT BOUNCE - duesentrieb: Host not found) Sep 20 09:41:17 daniel postfix/smtp[2537]: 29301FDE7: to=<acki@localhost.local>, relay=none, delay=52494, status=deferred (SOFT BOUNCE - duesentrieb: Host not found) Sep 20 09:41:17 daniel postfix/smtp[2534]: A1646FDEC: to=<acki@localhost.local>, relay=none, delay=52489, status=deferred (SOFT BOUNCE - duesentrieb: Host not found) Sep 20 09:41:17 daniel postfix/smtp[2537]: A1AC4FDEF: to=<acki@localhost.duesentrieb>, relay=none, delay=122, status=deferred (SOFT BOUNCE - duesentrieb: Host not found) Sep 20 09:41:17 daniel postfix/smtp[2534]: 4EF52FDE8: to=<acki@localhost.local>, relay=none, delay=52494, status=deferred (SOFT BOUNCE - duesentrieb: Host not found) Sep 20 09:41:17 daniel postfix/smtp[2537]: F3DA9FDE9: to=<acki@localhost.local>, relay=none, delay=52491, status=deferred (SOFT BOUNCE - duesentrieb: Host not found) Wieso in Gottes Namen will er immer nur an die DOMAIN schicken?Klar,das er duesentrieb nicht findet,ein ping duesentrieb bringt ja "unknown host", wie oben beschrieben. Ich habe sämtliche virtual, canonical,sender_canonical rausgenommen und mit postmap aktualisiert.Disable_dns_lookup ist auch auf "yes". So langsam weiß ich echt nicht mehr,was postfix von mir will. Naja,wenn alle Stricke reißen,muß ich halt wieder die procmail-Lösung nehmen. Gruß Axel