PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix Problem nach Neuinatallation



maniac1810
03.10.06, 19:27
Nachdem mir meine Festplatte abgeraucht ist, wollte ich nun meinen Mailserver auf einer Suse 10.0 neu aufsetzen und zwar in folgender Konstellation:

Postfix 2.2.5
Cyrus 2.2.12
amavis-new

nach der Neuinstallation und dem einspielen der gesicherten Konfig-Dateien habe ich ein Problem beim versenden von mails. var/log/mail sagt folgendes:


Oct 3 20:19:47 linux postfix/smtpd[31030]: 84B591326: client=micha[192.168.0.3]
Oct 3 20:19:48 linux postfix/cleanup[31033]: 84B591326: message-id=<4522A9A1.7020109@michael-dockhorn.de>
Oct 3 20:19:48 linux postfix/qmgr[31028]: 84B591326: from=<mail@michael-dockhorn.de>, size=518, nrcpt=1 (queue active)
Oct 3 20:19:48 linux postfix/smtpd[31030]: disconnect from micha[192.168.0.3]
Oct 3 20:19:48 linux postfix/smtp[31034]: 84B591326: to=<micha@heim.netz>, orig_to=<DockhornM@gmx.de>, relay=none, delay=1, status=bounced (Host or domain name not found. Name service error for name=localhost type=A: Host not found)
Oct 3 20:19:48 linux postfix/cleanup[31033]: ED4DB1329: message-id=<20061003181948.ED4DB1329@linux>
Oct 3 20:19:48 linux postfix/qmgr[31028]: ED4DB1329: from=<>, size=2271, nrcpt=1 (queue active)
Oct 3 20:19:48 linux postfix/qmgr[31028]: 84B591326: removed
Oct 3 20:19:49 linux postfix/pipe[31038]: ED4DB1329: to=<micha@heim.netz>, orig_to=<mail@michael-dockhorn.de>, relay=cyrus, delay=1, status=sent (linux)
Oct 3 20:19:49 linux postfix/qmgr[31028]: ED4DB1329: removed


postconf -n gibt auch nichts aus

meine /etc/hosts datei sieht folgendermaßen aus:


#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 localhost localhost

# 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.2 linux.heim.netz linux
192.168.0.2 linux
192.168.0.3 micha
192.168.0.5 janet

hat jemand eine Idee woran das liegen kann?

Oder werden noch infos benötigt?

Micha

Roger Wilco
03.10.06, 22:28
Oct 3 20:19:48 linux postfix/smtp[31034]: 84B591326: to=<micha@heim.netz>, orig_to=<DockhornM@gmx.de>, relay=none, delay=1, status=bounced (Host or domain name not found. Name service error for name=localhost type=A: Host not found)
Dein Hostname kann nicht aufgelöst werden. Ändere das und die Mails sollten entweder zugestellt werden oder eine andere Fehlermeldung taucht auf.

Thorashh
04.10.06, 03:15
So wie es aussieht, kann dein Rechner localhost nicht auflösen. Vermutlich weil Dein DNS-Server kein localhost kennt. Da postfix die Mail zuerst an amavisd weiterreicht (localhost) funktioniert das nicht.

Kontrollier mal folgendes:

/etc/host.conf
order hosts,bind Grundsätzlich solltest Du in Konfigurationsdateien für Systemdienste immer mit den IP-Adressen arbeiten und nicht mit Domainnamen.

drcux
04.10.06, 07:05
Hast du in der main.cf "inet_interfaces = 127.0.0.1 ::1"? Wenn ja, nimm das ::1 raus.

maniac1810
04.10.06, 18:16
Danke schon mal im Voraus für die Antworten.

ich werde mich jetzt noch mal anhand eurer Tips auf die Suche machen und mich dann noch mal melden.