PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix Fehlermeldungen



h.o.t.
06.04.06, 12:59
Hallo Forum,

ich habe letzte Woche einen neuen Postfix-Mailserver installiert, der auf Debian Sarge basiert und als Mailrelay zu einem Exchange-Server fungiert.

Anfangs lief alles ohne Probleme, dann habe ich die Pakete "amavis-stats" und "mailgraph" installiert - seit diesem Zeitpunkt treten folgende Fehler in den Logfiles
/var/log/mail.* auf:


Apr 6 11:02:19 relay postfix/bounce[25875]: fatal: open lock file pid/unix.defer: cannot open file: No such device or address
Apr 6 11:02:20 relay postfix/master[25844]: warning: process /usr/lib/postfix/bounce pid 25875 exit status 1
Apr 6 11:02:20 relay postfix/master[25844]: warning: /usr/lib/postfix/bounce: bad command startup -- throttling

Daraufhin habe ich beide Pakete deinstalliert, aber der Fehler ist geblieben. Leider weiß ich jetzt nicht, ob das an den beiden Paketen lag oder ob der Fehler von wo anders herrührt. :confused:
Aber die Mails werden sender- und empfängerseitig zugestellt...

Vielleicht könnt ihr mir weiterhelfen...

Vielen Dank!

Grüße, h.o.t.

Webdude
06.04.06, 13:12
bad command startup -- throttling

In der Config ist irgendwo ein Tippfehler oder sowas.
Schau mal in der master.cf ob bounce vielleicht mit irgendwelchen Parametern aufgerufen wird, und kommentier die aus.
Ach ja, wenn du deine Configs hier postet kann man dir auch noch besser helfen.

h.o.t.
06.04.06, 16:48
Hallo Webdude,

hier ist meine master.cf:

# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_etrn_restrictions=reject
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#
# 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}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}

# only used by postfix-tls
#tlsmgr fifo - - n 300 1 tlsmgr
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes

# Eintrag MS
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookup=yes

127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_resipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.1/8
-o strict_rfc821_envelopes=yes
-o smtp_error_sleep_time=0
-o smtp_soft_error_limit=1001
-o smtp_hard_error_limit_1000

Ich habe versucht, die Einträge mit bounce zu verändern, jedoch ohne Erfolg.

Vielleicht siehst du noch was...

Danke und viele Grüße,
h.o.t.

Webdude
06.04.06, 21:30
Nö, da seh ich auf die Schnelle nix Verdächtiges.
Die main.cf gehört übrigens auch zur Config. Am Besten postest du die Ausgabe von "postconf -n".

h.o.t.
09.04.06, 21:48
Hallo Webdude,

sorry, war am WE unterwegs - alles klar - hatte ich vergessen, sorry...
hier ist noch meine main.cf.


alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
biff = no
body_checks = regexp:/etc/postfix/body_checks
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
inet_interfaces = all
mailbox_command = usr/bin/maildrop
mailbox_size_limit = 0
mydestination = relay.firma.de, localhost.localdomain, localhost.localdomain, localhost
mydomain = firma.de
myhostname = relay.firma.de
mynetworks = 127.0.0.0/8, 172.17.32.0/24
myorigin = $mydomain
recipient_delimiter = +
relay_domains = firma.de
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_unknown_hostname, reject_non_fqdn_hostname, reject_invalid_hostname, warn_if_reject
smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_recipient, reject_invalid_hostname, reject_rbl_client relays.ordb.org, reject_rbl_client sbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.sorbs.net, reject_rbl_client map.spam-rbl.com, reject_rbl_client dnsbl.njabl.org, reject_rbl_client dnsbl.antispam.or.id, reject_rbl_client spamsources.fabel.dk, reject_rbl_client list.dsbl.org, reject_rbl_client opm.blitzed.org, reject_rhsbl_sender dsn.rfc-ignorant.org, warn_if_reject
smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, reject_unknown_hostname, reject_non_fqdn_hostname, reject_invalid_hostname, warn_if_reject
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450


Viele Grüße, Christian

h.o.t.
11.04.06, 16:16
Hallo @ all,

habe das Problem selber in den Griff bekommen. Es gab Unstimmigkeiten im Verzeichnis /var/spool/postfix/pid/. Hab daraufhin das Verzeichnis gelöscht und neu angelegt.

/etc/init.de/postfix stop
rm -Rf /var/spool/postfix/pid/
/etc/init.de/postfix start

Gruß und danke nochmal!
h.o.t.