Hallo,
Zuerst mal in der MailQueue nachschauen, ob sie da noch drin sind:
# mailq Mail queue is empty
Dann mal ins Log schauen /var/log/mail und sehen wo die Mails hingegangen sind.
# tail -fn20 /var/log/mail Mar 10 21:31:08 h4452 postfix/smtpd[14886]: warning: connect #8 to subsystem public/cleanup: Connection refused Mar 10 21:31:18 h4452 postfix/smtpd[14886]: warning: connect #9 to subsystem public/cleanup: Connection refused Mar 10 21:31:28 h4452 postfix/smtpd[14886]: warning: connect #10 to subsystem public/cleanup: Connection refused Mar 10 21:31:38 h4452 postfix/smtpd[14886]: fatal: connect #11 to subsystem public/cleanup: Connection refused Mar 10 21:31:39 h4452 postfix/master[6756]: warning: process /usr/lib/postfix/smtpd pid 14886 exit status 1 Mar 10 21:31:39 h4452 postfix/master[6756]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Mar 10 21:46:30 h4452 postfix/smtpd[15037]: connect from mail.bytecamp.net[212.204.60.9] Mar 10 21:46:30 h4452 postfix/smtpd[15037]: warning: connect #1 to subsystem public/cleanup: Connection refused Mar 10 21:46:40 h4452 postfix/smtpd[15037]: warning: connect #2 to subsystem public/cleanup: Connection refused Mar 10 21:46:50 h4452 postfix/smtpd[15037]: warning: connect #3 to subsystem public/cleanup: Connection refused Mar 10 21:47:00 h4452 postfix/smtpd[15037]: warning: connect #4 to subsystem public/cleanup: Connection refused Mar 10 21:47:10 h4452 postfix/smtpd[15037]: warning: connect #5 to subsystem public/cleanup: Connection refused Mar 10 21:47:20 h4452 postfix/smtpd[15037]: warning: connect #6 to subsystem public/cleanup: Connection refused Mar 10 21:47:30 h4452 postfix/smtpd[15037]: warning: connect #7 to subsystem public/cleanup: Connection refused Mar 10 21:47:40 h4452 postfix/smtpd[15037]: warning: connect #8 to subsystem public/cleanup: Connection refused Mar 10 21:47:50 h4452 postfix/smtpd[15037]: warning: connect #9 to subsystem public/cleanup: Connection refused Mar 10 21:48:00 h4452 postfix/smtpd[15037]: warning: connect #10 to subsystem public/cleanup: Connection refused Mar 10 21:48:10 h4452 postfix/smtpd[15037]: fatal: connect #11 to subsystem public/cleanup: Connection refused Mar 10 21:48:11 h4452 postfix/master[6756]: warning: process /usr/lib/postfix/smtpd pid 15037 exit status 1 Mar 10 21:48:11 h4452 postfix/master[6756]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling ...
Dann Deine Config schicken:
# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin command_time_limit = 10s config_directory = /etc/postfix content_filter = daemon_directory = /usr/lib/postfix debug_peer_level = 2 default_privs = nobody disable_dns_lookups = no inet_interfaces = all local_destination_concurrency_limit = 2 luser_relay = $user@h4451.serverkompetenz.net mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = /usr/lib/cyrus/bin/deliver mailbox_transport = cyrus mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root maximal_backoff_time = 400s message_size_limit = 1024000 minimal_backoff_time = 100s mydestination = $myhostname, localhost.$mydomain myhostname = h4452.serverkompetenz.net newaliases_path = /usr/bin/newaliases program_directory = /usr/lib/postfix qmgr_message_active_limit = 100 queue_directory = /var/spool/postfix queue_run_delay = 100s readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_data_done_timeout = 60s smtp_quit_timeout = 30s smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtpd_banner = $myhostname ESMTP smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sender_restrictions = hash:/etc/postfix/access strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains Postfix läuft nicht, oder? # ps ax | grep postfix 6756 ? S 0:00 /usr/lib/postfix/master In /var/log/messages kommt keine Ausgabe bezgl. Postfix oder smtp. MfG Kai Heimbold
Am Mittwoch, 10. März 2004 21:58 schrieb suse@steartch.net:
Dann mal ins Log schauen /var/log/mail und sehen wo die Mails
hingegangen sind.
# tail -fn20 /var/log/mail Mar 10 21:31:08 h4452 postfix/smtpd[14886]: warning: connect #8 to subsystem public/cleanup: Connection refused Mar 10 21:31:18 h4452 postfix/smtpd[14886]: warning: connect #9 to subsystem public/cleanup: Connection refused Mar 10 21:31:28 h4452 postfix/smtpd[14886]: warning: connect #10 to subsystem public/cleanup: Connection refused Mar 10 21:31:38 h4452 postfix/smtpd[14886]: fatal: connect #11 to subsystem public/cleanup: Connection refused Mar 10 21:31:39 h4452 postfix/master[6756]: warning: process /usr/lib/postfix/smtpd pid 14886 exit status 1 Mar 10 21:31:39 h4452 postfix/master[6756]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Das wäre dann wohl der Grund. Bleibt nur die Frage warum so viele cleanup-daemonen laufen. Hmm, zeig mal deine /etc/postfix/master.cf. Nur die Zeilen ohne # am anfang. # grep -v ^# master.cf
Postfix lÀuft nicht, oder? # ps ax | grep postfix 6756 ? S 0:00 /usr/lib/postfix/master
Der master läuft, aber die anderen Prozesse beenden sich. -- Andreas
Am Mi, 2004-03-10 um 22.38 schrieb Andreas Winkelmann:
Am Mittwoch, 10. März 2004 21:58 schrieb suse@steartch.net:
Dann mal ins Log schauen /var/log/mail und sehen wo die Mails
hingegangen sind.
# tail -fn20 /var/log/mail Mar 10 21:31:08 h4452 postfix/smtpd[14886]: warning: connect #8 to subsystem public/cleanup: Connection refused Mar 10 21:31:18 h4452 postfix/smtpd[14886]: warning: connect #9 to subsystem public/cleanup: Connection refused Mar 10 21:31:28 h4452 postfix/smtpd[14886]: warning: connect #10 to subsystem public/cleanup: Connection refused Mar 10 21:31:38 h4452 postfix/smtpd[14886]: fatal: connect #11 to subsystem public/cleanup: Connection refused Mar 10 21:31:39 h4452 postfix/master[6756]: warning: process /usr/lib/postfix/smtpd pid 14886 exit status 1 Mar 10 21:31:39 h4452 postfix/master[6756]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Das wäre dann wohl der Grund.
Bleibt nur die Frage warum so viele cleanup-daemonen laufen. Hmm, zeig mal deine /etc/postfix/master.cf. Nur die Zeilen ohne # am anfang.
# grep -v ^# master.cf
/etc/postfix # grep -v ^# master.cf smtp inet n - n - - smtpd pickup fifo n n n 60 1 pickup cleanup unix - - n - 0 cleanup qmgr fifo n - n 300 1 qmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce flush unix n - n 1000? 0 flush smtp unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -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 vscan unix - n n - 10 pipe user=vscan argv=/usr/sbin/amavis ${sender} ${recipient} procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
Postfix lÀuft nicht, oder? # ps ax | grep postfix 6756 ? S 0:00 /usr/lib/postfix/master
Der master läuft, aber die anderen Prozesse beenden sich.
-- Andreas
Am Mittwoch, 10. März 2004 22:45 schrieb Kai Heimbold:
Bleibt nur die Frage warum so viele cleanup-daemonen laufen. Hmm, zeig mal deine /etc/postfix/master.cf. Nur die Zeilen ohne # am anfang.
# grep -v ^# master.cf
/etc/postfix # grep -v ^# master.cf smtp inet n - n - - smtpd pickup fifo n n n 60 1 pickup cleanup unix - - n - 0 cleanup
Sieht ok aus.
qmgr fifo n - n 300 1 qmgr
Gibt es hier in der nähe eine Zeile, die auf nqmgr endet? Dann tausch die mal.
rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce flush unix n - n 1000? 0 flush smtp unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -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 vscan unix - n n - 10 pipe user=vscan argv=/usr/sbin/amavis ${sender} ${recipient} procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
-- Andreas
Am Mi, 2004-03-10 um 22.50 schrieb Andreas Winkelmann:
qmgr fifo n - n 300 1 qmgr
Gibt es hier in der nähe eine Zeile, die auf nqmgr endet? Dann tausch die mal.
ps ax | grep postfix 15709 ? S 0:00 /usr/lib/postfix/master 15710 pts/1 S 0:00 /bin/sh /sbin/rcpostfix start Die /var/log/mail gibt immernoch die gleichen Fehler aus. MfG Kai Heimbold
Am Mittwoch, 10. März 2004 23:06 schrieb Kai Heimbold:
Am Mi, 2004-03-10 um 22.50 schrieb Andreas Winkelmann:
qmgr fifo n - n 300 1 qmgr
Gibt es hier in der nÀhe eine Zeile, die auf nqmgr endet? Dann tausch die mal.
ps ax | grep postfix 15709 ? S 0:00 /usr/lib/postfix/master 15710 pts/1 S 0:00 /bin/sh /sbin/rcpostfix start
Die /var/log/mail gibt immernoch die gleichen Fehler aus.
Vorhin hattest Du nur das untere ende der /var/log/mail gezeigt, steht oben drüber vielleicht nochwas sinnvolles? -- Andreas
Hallo, Am Mi, 2004-03-10 um 23.16 schrieb Andreas Winkelmann:
Am Mittwoch, 10. März 2004 22:50 schrieb Andreas Winkelmann:
cleanup unix - - n - 0 cleanup
Sieht ok aus.
Quark, sieht nicht ok aus. Mach mal aus dem ersten "-" ein "n"
cleanup unix n - n - 0 cleanup
-- Andreas
Das wars, jetzt werde ich einige Test durchführen. Kennst du nützliche How-To-Do zum Thema? Linux-Tin.org kenne ich schon, mit dessen hilfe habe ich meinen IMAP_Server daheim aufgebaut. Hast du schon Erfahrung mit Courier gemacht. Oder gibt es vielleicht noch andere Server (Administration leichter?) Vielen Dank für die schnelle Hilfe. MfG Kai Heimbold
participants (3)
-
Andreas Winkelmann
-
Kai Heimbold
-
suse@steartch.net