[Postfixbuch-users] Connection timed out

lists at marcus-schneider.com lists at marcus-schneider.com
Sa Dez 31 11:33:55 CET 2005


Hallo Patrick,

das mit var/log/messages war mein Fehler ich meinte natürlich var/log/mail.

ein grep auf die ID bringt nur das was ich schon gepostet habe, leider nicht mehr.

Nun mit verbose logging wo es schon interessanter wird, aber ich das nicht ganz verstehe:

Dec 31 11:29:18 linux postfix/smtp[10395]: input attribute name: status
Dec 31 11:29:18 linux postfix/smtp[10395]: input attribute value: 0
Dec 31 11:29:18 linux postfix/smtp[10395]: private/defer socket: wanted attribute: (list terminator)
Dec 31 11:29:18 linux postfix/smtp[10395]: input attribute name: (end)
Dec 31 11:29:18 linux postfix/smtp[10395]: B70D8D8F2: to=<alias at gmx.net>, relay=none, delay=39879, status=deferred (co
nnect to gmx.net[213.165.64.215]: Connection timed out)
Dec 31 11:29:18 linux postfix/smtp[10395]: flush_add: site gmx.net id B70D8D8F2
Dec 31 11:29:18 linux postfix/smtp[10395]: match_hostname: gmx.net ~? mail.example.de
Dec 31 11:29:18 linux postfix/smtp[10395]: match_hostname: gmx.net ~? localhost.example.de
Dec 31 11:29:18 linux postfix/smtp[10395]: match_hostname: gmx.net ~? domain2.de
Dec 31 11:29:18 linux postfix/smtp[10395]: match_hostname: gmx.net ~? example.de
Dec 31 11:29:18 linux postfix/smtp[10395]: match_list_match: gmx.net: no match
Dec 31 11:29:18 linux postfix/smtp[10395]: flush_add: site gmx.net id B70D8D8F2 status 4
Dec 31 11:29:18 linux postfix/smtp[10395]: deliver_request_final: send: "connect to gmx.net[213.165.64.215]: Connection timed
 out" -1
Dec 31 11:29:18 linux postfix/smtp[10395]: send attr reason = connect to gmx.net[213.165.64.215]: Connection timed out
Dec 31 11:29:18 linux postfix/smtp[10395]: send attr status = 4294967295
Dec 31 11:29:18 linux postfix/smtp[10395]: master_notify: status 1
Dec 31 11:29:18 linux postfix/smtp[10395]: connection closed
Dec 31 11:29:18 linux postfix/smtp[10395]: watchdog_stop: 0x8084be0


Das mit dem match_list_match kann ich in dem Fall nicht deuten in wie weit meine Config nun falsch ist

danke

grüsse


Patrick Ben Koetter wrote ..
> * lists at marcus-schneider.com <lists at marcus-schneider.com>:
> > das ist ein ganz normaler dedicated Server mit fester IP in einem RZ-
> 
> Gut. Dann solltest Du herausfinden, warum die Verbindungen aufgrund von
> Zeitüberschreitungen abgebrochen werden.
> 
> Was Du im Log gezeigt hast, ist die Wirkung, aber nicht die Ursache. Die
> Ursache wirst Du, sehr wahrscheinlich, auch im Log finden.
> 
> Dazu kannst Du einfach mal nach der message-ID greppen:
> 
> # grep 32CE2D8C4 /var/log/messages
> 
>     Das /var/log/messages habe ich aus Deinem Posting. Bist Du sicher,
> dass
>     mail.* nach /var/log/messages und nicht nach z.B. /var/log/maillog
> geloggt
>     wird?
> 
> Wenn dann nichts weiter als deferred erscheint, musst Du den Postfix smtp
> Client verbose loggen lassen. Dazu fügst Du in der master.cf hinter die
> Reihe
> in der am Ende als "command" smtp (nicht smtpd) steht, ein " -v". Anschließend
> reloadest Du Postfix und sendest eine Testmail an einen gmx.de oder T-online
> Account. Du solltest daraufhin weitaus ausführlichere Informationen in
> Deinem
> Logfile vorfinden. Mit diesen Informationen können wir dem Problem dann
> zu
> Leibe rücken.
> 
> p at rick
> 
> 
> > Patrick Ben Koetter wrote ..
> > > * lists at marcus-schneider.com <lists at marcus-schneider.com>:
> > > > Guten Tag,
> > > >
> > > > ich habe das Problem das ich 80% der ausgehenden Mails nicht versendet
> > > > bekomme.  T-online und GMX, gehen ?berhaupt nicht. Einige andere
> Domains
> > > > funktionieren immer und wunderbar.
> > >
> > > Hast Du eine dynamische IP-Adresse?
> > >
> > > p at rick
> > >
> > >
> > >
> > > >
> > > > ein telnet mx0.gmx.de 25 wird mit 220 {mx044} GMX Mailservices ESMTP
> > > beantwortet.
> > > >
> > > >
> > > > /var/log/messages
> > > > kommt immer:
> > > >
> > > > Dec 31 00:41:50 postfix/smtp[7413]: 32CE2D8C4: to=<alias at gmx.de>,
> relay=none,
> > > delay=30, status=deferred (connect to gm
> > > > x.de[213.165.64.215]: Connection timed out)
> > > >
> > > > postconf -n
> > > > alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
> > > > biff = no
> > > > broken_sasl_auth_clients = yes
> > > > 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 = yes
> > > > home_mailbox = Maildir/
> > > > html_directory = /usr/share/doc/packages/postfix/html
> > > > inet_interfaces = all
> > > > mail_owner = postfix
> > > > mail_spool_directory = /var/mail
> > > > mailbox_command = /usr/bin/procmail
> > > > 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 domain1.de , domain2.de
> > > > myhostname = mail.domain.de
> > > > newaliases_path = /usr/bin/newaliases
> > > > queue_directory = /var/spool/postfix
> > > > readme_directory = /usr/share/doc/packages/postfix/README_FILES
> > > > recipient_canonical_maps = hash:/etc/postfix/recipient_canoncial
> > > > 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_use_tls = no
> > > > smtpd_client_restrictions = reject_rbl_client list.dsbl.org
> > > > smtpd_helo_required = no
> > > > smtpd_helo_restrictions =
> > > > smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject
> > > _unauth_destination
> > > > smtpd_sasl_auth_enable = yes
> > > > smtpd_sasl_security_options = noanonymous
> > > > smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated
> > > > smtpd_tls_cert_file = /etc/postfix/postfix.pem
> > > > smtpd_tls_key_file = /etc/postfix/postfix.pem
> > > > smtpd_use_tls = yes
> > > > strict_rfc821_envelopes = no
> > > > transport_maps = hash:/etc/postfix/transport
> > > > unknown_local_recipient_reject_code = 550
> > > >
> > > > Gr?sse
> > > > Marcus
> > >
> > > > --
> > > > _______________________________________________
> > > > Postfixbuch-users mailingliste
> > > > Heinlein Professional Linux Support GmbH
> > > >
> > > > Postfixbuch-users at listi.jpberlin.de
> > > > http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
> > >
> > > --
> > > Das ?Postfix?-Buch
> > > <http://www.postfix-buch.com>
> > > saslfinger (debugging SMTP AUTH):
> > > <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
> > > --
> > > _______________________________________________
> > > Postfixbuch-users mailingliste
> > > Heinlein Professional Linux Support GmbH
> > >
> > > Postfixbuch-users at listi.jpberlin.de
> > > http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
> 
> > -- 
> > _______________________________________________
> > Postfixbuch-users mailingliste
> > Heinlein Professional Linux Support GmbH
> > 
> > Postfixbuch-users at listi.jpberlin.de
> > http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
> 
> -- 
> Das »Postfix«-Buch
> <http://www.postfix-buch.com>
> saslfinger (debugging SMTP AUTH):
> <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
> -- 
> _______________________________________________
> Postfixbuch-users mailingliste
> Heinlein Professional Linux Support GmbH
> 
> Postfixbuch-users at listi.jpberlin.de
> http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users


Mehr Informationen über die Mailingliste Postfixbuch-users