PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Seltsam: Postfix läuft nicht mehr



Sayonara
12.09.04, 11:30
Nachdem ich meinen Server neu gestartet habe, läuft Postfix nicht mehr.
Die Log-Datei wirft nur zwei Zeilen raus, vieleicht weiß hat jemand eine Idee.


Sep 12 12:02:49 [postfix/postfix-script] starting the Postfix mail system
Sep 12 12:02:49 [postfix/master] fatal: getaddrinfo: Servname not supported for ai_socktype


Meine Konfigdatei, welche sich zwar eigentlich nicht geändert haben sehen folgendermaßen aus:

master.cf


# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - n - - smtpd
localhost:smtp-backdoor inet n - n - - smtpd -o content_filter
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient


Meine Distri ist Gentoo Linux. AvMailgate ist als Contentfilter mit eingebunden.

mfg

Sayonara

Sayonara
25.09.04, 14:48
Das Problem besteht leider immer noch. Weiß niemand eine Lösung oder hat wenigsten eine Idee, in welche Richtung ich denken soll? :(

Terran Marine
25.09.04, 15:00
Hallo,

mal probiert, anstatt smtp-backdoor die richtige Portnummer einzutragen?

Gruß
Terran

Sayonara
26.09.04, 12:17
@Terran Marine
Danke, das war der entscheidene Hinweis. Ich hab das Problem gelöst! :)
Bei einem Update via emerge hab ich beim anschließenden mergen der Konfigfiles die /etc/services überschrieben. Dadurch fehlte Postfix die Information über die smtp-backdoor. Ich hab die Informationen neu eingetragen, und jetzt rennt es wieder. :) :)

mfg

Sayonara