casper99 Geschrieben 21. September 2005 Teilen Geschrieben 21. September 2005 Hallo Leute. Bin langsam am verzwiefeln. Ich habe auf meinem s4y vserver ein newslettersystem laufen. Dieses System schickt über ein phpscript per SMTP mails an die kunden raus. pro mail (kunde) also eine smtp verbindung (personalisierte emails). Seit meinem serverupdate auf Suse 9.3 (worauf ja jetzt clamav, spamassassin, postfix läuft) kommen die mails nicht mehr an. Ich habe zum test als empfänger wie früher auch ausgedacht1@meine-domain.de ausgedacht2@meine-domain.de ausgedacht3@meine-domain.de ausgedacht4@meine-domain.de ausgedacht5@meine-domain.de und in confixx ein *@meine-domain.de postfach zur weiterleitung (catchall) eingerichtet. Blick in /var/log/mail bringt folgendes : Sep 20 23:34:40 vs123456 postfix/smtpd[29061]: connect from vs123456.vserver.de[62.75.123.45] Sep 20 23:34:40 vs123456 postfix/smtpd[29061]: F2BF5344C6C2: client=vs123456.vserver.de[62.75.123.45], sasl_method=LOGIN, sasl_username=web2p5 Sep 20 23:34:41 vs123456 postfix/cleanup[29088]: F2BF5344C6C2: message-id=<5e95ec6a50feb75c3a163de440857364@www.meine-domain.de> Sep 20 23:34:41 vs123456 postfix/qmgr[18177]: F2BF5344C6C2: from=<mail@meine-domain.de>, size=2515, nrcpt=1 (queue active) Sep 20 23:34:41 vs123456 postfix/smtpd[29061]: disconnect from vs123456.vserver.de[62.75.123.45] Sep 20 23:34:41 vs123456 postfix/qmgr[18177]: F2BF5344C6C2: to=<web2p1@vs123456.vserver.de>, orig_to=<adresse273@meine-domain.de>, relay=none, delay=1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) manchmal kommen die mails vereinzelt noch an. Habe jetzt gesehen dass die alle in der queque stehen unter "/var/spool/postfix/defer " das geht soweit, daß sich mein PHP Newsletterscript gar nicht mehr connecten kann. fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known Was ist da los ? Bin für jede Hilfe dankbar. Zitieren Link zu diesem Kommentar Auf anderen Seiten teilen Mehr Optionen zum Teilen...
Monty82 Geschrieben 21. September 2005 Teilen Geschrieben 21. September 2005 Wie sieht Deine postfix-config aus? (postconf -n) Dann noch bitte die Ausgabe von "netstat -l" und den Inhalt von "/etc/postfix/master.cf" (wo auch immer die bei Dir liegt...) Benutzt Du amavisd(-new)? Zitieren Link zu diesem Kommentar Auf anderen Seiten teilen Mehr Optionen zum Teilen...
casper99 Geschrieben 21. September 2005 Autor Teilen Geschrieben 21. September 2005 Hi, mittlerweile ist postfix sogar abgestürzt. Habe auch Meldungen wie postfix: fatal: inet_addr_local[socket]: socket: No buffer space available erhalten. hier die daten der Dateien postfix-config : alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all inet_protocols = ipv4 mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain myhostname = vs12345.vserver.de newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relay_clientcerts = hash:/etc/postfix/relay_ccerts 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_sasl_auth_enable = no smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem smtp_tls_cert_file = /etc/postfix/ssl/certs/postfixcert.pem smtp_tls_key_file = /etc/postfix/ssl/certs/postfixkey.pem smtp_use_tls = yes smtpd_client_restrictions = permit_sasl_authenticated, smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_tls_clientcerts, permit_sasl_authenticated, permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_ask_ccert = yes smtpd_tls_cert_file = /etc/postfix/ssl/certs/postfixcert.pem smtpd_tls_key_file = /etc/postfix/ssl/certs/postfixkey.pem smtpd_tls_received_header = yes smtpd_use_tls = yes strict_rfc821_envelopes = no tls_random_source = dev:/dev/urandom transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 Ausgabe von netstat -l Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:ssh *:* LISTEN tcp 0 0 *:smtp *:* LISTEN tcp 0 0 *:https *:* LISTEN tcp 0 0 *:imaps *:* LISTEN tcp 0 0 localhost:10024 *:* LISTEN tcp 0 0 localhost:10025 *:* LISTEN tcp 0 0 *:mysql *:* LISTEN tcp 0 0 localhost:dyna-access *:* LISTEN tcp 0 0 *:pop3 *:* LISTEN tcp 0 0 *:imap *:* LISTEN tcp 0 0 *:www-http *:* LISTEN tcp 0 0 *:smtps *:* LISTEN tcp 0 0 *:ftp *:* LISTEN Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 1488000452 private/tlsmgr unix 2 [ ACC ] STREAM LISTENING 1488000457 private/rewrite unix 2 [ ACC ] STREAM LISTENING 1488000555 private/maildrop unix 2 [ ACC ] STREAM LISTENING 1488000560 private/cyrus unix 2 [ ACC ] STREAM LISTENING 1433196445 /var/lib/mysql/mysql.sock unix 2 [ ACC ] STREAM LISTENING 1488000566 private/uucp unix 2 [ ACC ] STREAM LISTENING 1488000573 private/ifmail unix 2 [ ACC ] STREAM LISTENING 1488000583 private/bsmtp unix 2 [ ACC ] STREAM LISTENING 1488000588 private/procmail unix 2 [ ACC ] STREAM LISTENING 1433196105 /var/run/sasl2//mux unix 2 [ ACC ] STREAM LISTENING 1488000443 public/cleanup unix 2 [ ACC ] STREAM LISTENING 1488000482 public/flush unix 2 [ ACC ] STREAM LISTENING 1488000462 private/bounce unix 2 [ ACC ] STREAM LISTENING 1488000502 public/showq unix 2 [ ACC ] STREAM LISTENING 1488000467 private/defer unix 2 [ ACC ] STREAM LISTENING 1488000472 private/trace unix 2 [ ACC ] STREAM LISTENING 1488000477 private/verify unix 2 [ ACC ] STREAM LISTENING 1433208018 /var/spool/amavis/amavisd.sock unix 2 [ ACC ] STREAM LISTENING 1488000487 private/proxymap unix 2 [ ACC ] STREAM LISTENING 1488000492 private/smtp unix 2 [ ACC ] STREAM LISTENING 1488000497 private/relay unix 2 [ ACC ] STREAM LISTENING 1488000507 private/error unix 2 [ ACC ] STREAM LISTENING 1488000512 private/discard unix 2 [ ACC ] STREAM LISTENING 1488000523 private/local unix 2 [ ACC ] STREAM LISTENING 1488000529 private/virtual unix 2 [ ACC ] STREAM LISTENING 1488000534 private/lmtp unix 2 [ ACC ] STREAM LISTENING 1488000539 private/anvil unix 2 [ ACC ] STREAM LISTENING 1488000550 private/scache Zitieren Link zu diesem Kommentar Auf anderen Seiten teilen Mehr Optionen zum Teilen...
casper99 Geschrieben 21. September 2005 Autor Teilen Geschrieben 21. September 2005 und die /etc/postfix/master.cf # # Postfix master process configuration file. For details on the format # of the file, see the Postfix master(5) manual page. # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - n - 2 smtpd -o content_filter=smtp:[127.0.0.1]:10024 #submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_client_restrictions=permit_sasl_authenticated,reject smtps inet n - n - 2 smtpd -o smtpd_tls_wrappermode=yes -o content_filter=smtp:[127.0.0.1]:10024 # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes #submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject # -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 oqmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n - - smtp -o fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq error unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil localhost:10025 inet n - n - - smtpd -o content_filter= scache unix - - n - 1 scache # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # ==================================================================== # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/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 procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} Ich hoffe Ihr könnt mir helfen. Kann keine mails mehr senden/empfangen. Zitieren Link zu diesem Kommentar Auf anderen Seiten teilen Mehr Optionen zum Teilen...
casper99 Geschrieben 21. September 2005 Autor Teilen Geschrieben 21. September 2005 kenne mich nicht so gut aus mit linux. es steht zumindest was von amavisd in den prozessen. amavisd (master) \_ amavisd (ch4-11809-04) habe die Dateien in den Unterverzeichnissen von "/var/spool/postfix/defer" gelöscht damit die queque leer wird. Zitieren Link zu diesem Kommentar Auf anderen Seiten teilen Mehr Optionen zum Teilen...
Monty82 Geschrieben 28. September 2005 Teilen Geschrieben 28. September 2005 Da kann ich leider nur noch Vermutungen anstellen... Also den Mailserver schliesse ich vorerst mal als direkten Verursacher des Problems aus; die Config sieht meines Erachtens nach OK aus... Da Du vermutlich (?) einen virtuellen Server betreibst, und sich viele User die echten Sockets des reellen Servers/Clusters teilen, liegt meiner Meinung nach der Verdacht nahe, das das Problem dort liegt... Wird seitens des Serverbetreibers auf Probleme mit Socket-Verbindungen hingewiesen? Ist die Anzahl der gleichzeitig möglichen offenen Sockets beschränkt? Hast Du Probleme mit anderen Serverdiensten, oder Verbindungsprobleme? Zitieren Link zu diesem Kommentar Auf anderen Seiten teilen Mehr Optionen zum Teilen...
Empfohlene Beiträge
Dein Kommentar
Du kannst jetzt schreiben und Dich später registrieren. Wenn Du ein Konto hast, melde Dich jetzt an, um unter Deinem Benutzernamen zu schreiben.