Probleme mit Mails


wavemaster550

New Member
Hallo,

Ich habe gestern ein Update an meinem System ausgeführt von OpenSuse 10.3 --> 11.2 mit Confixx 3.3. Soweit ist auch alles gut gegangen bis auf die Mail, die gehen nicht mehr leider, und ich weiß nicht wieso. :(

Mails an eine Mail-Adresse an den Server gehen zwar weg, kommen aber nicht an und auch nicht zurück, also keine "Delivery Status Notification (Failure)"-Nachrichten.

Webmail am Server geht auch jedoch kommen sie nicht beim Empfänger an.

Irgendeiner eine Ahnung woran es liegen könnte? Relevante logs kann ich auch posten, wenn nötig.

Vielen Dank!
 
Ja, die Log-Dateien sind für die Fehlersuche unerlässlich; glücklicherweise sind die von Postfix, das normalerweise von Confixx eingesetzt werden, auch sehr aussagekräftig.

Poste am besten einfach mal den vollständigen Auszug einer Mail (von der Einlieferung durch den MUA (z.B. Webmailer) bis zum "Verschwinden") hier in [noparse]
Code:
...
[/noparse]-Tags.
 
Jetzt sind doch noch Delivery Status Notification (Failure) und Delivery Status Notification (Delay) gekommen.

Code:
[B]Jetzt mal Delivery Status Notification (Failure)[/B]
Delivery to the following recipient failed permanently:

     [email][email protected][/email]

Technical details of permanent failure: 
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <[email protected]>: Relay access denied (state 14).

Code:
[B]Delivery Status Notification (Delay)[/B]
This is an automatically generated Delivery Status Notification

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipient has been delayed:

     [email][email protected][/email]

Message will be retried for 2 more day(s)

Technical details of temporary failure: 
The recipient server did not accept our requests to connect. Learn more at [url]http://mail.google.com/support/bin/answer.py?answer=7720[/url] 
[mail.domain.com. (10): Connection refused]
 
Last edited by a moderator:
Log

Und noch ein Auszug aus dem mail-log, sieht so aus das der Server nicht erreicht werden kann?

Code:
Feb 21 18:52:42 server2 postfix/qmgr[13230]: 0BBD3A143C3: from=<[email protected]>, size=605, nrcpt=1 (queue active)
Feb 21 18:52:42 server2 postfix/smtp[23458]: connect to mail.domain.com[123.123.123.123]:25: Connection refused
Feb 21 18:52:42 server2 postfix/smtp[23458]: 0BBD3A143C3: to=<[email protected]>, relay=none, delay=8925, delays=8925/0.02/0.09/0, dsn=4.4.1, status=deferred (connect to mail.domain.com[123.123.123.123]:25: Connection refused)
Feb 21 19:02:21 server2 pop3d: Connection, ip=[::ffff:200.000.000.200]
Feb 21 19:02:21 server2 pop3d: LOGIN, user=web26p1, ip=[::ffff:200.000.000.200], port=[49477]
Feb 21 19:02:21 server2 pop3d: LOGOUT, user=web26p1, ip=[::ffff:200.000.000.200], port=[49477], top=0, retr=0, rcvd=24, sent=193, time=0
Feb 21 19:02:42 server2 postfix/qmgr[13230]: 71E34A1427F: from=<>, size=2798, nrcpt=1 (queue active)
Feb 21 19:02:42 server2 postfix/smtp[23945]: connect to mail.domain.com[123.123.123.123]:25: Connection refused
Feb 21 19:02:43 server2 postfix/smtp[23945]: 71E34A1427F: to=<[email protected]>, relay=none, delay=4801, delays=4800/0.02/0.06/0, dsn=4.4.1, status=deferred (connect to mail.domain.com[123.123.123.123]:25: Connection refused)
Feb 21 19:07:09 server2 imapd: Connection, ip=[::ffff:200.000.000.200]
Feb 21 19:07:09 server2 imapd: LOGIN, user=web52p1, ip=[::ffff:200.000.000.200], port=[49691], protocol=IMAP
Feb 21 19:14:11 server2 imapd: TIMEOUT, user=web52p1, ip=[::ffff:200.000.000.200], headers=0, body=0, rcvd=567, sent=949, time=3371
Feb 21 19:46:23 server2 imapd: TIMEOUT, user=web52p1, ip=[::ffff:200.000.000.200], headers=0, body=0, rcvd=226, sent=410, time=2354
Feb 21 19:51:49 server2 imapd: Connection, ip=[::ffff:200.000.000.200]
Feb 21 19:51:50 server2 imapd: LOGIN, user=web52p1, ip=[::ffff:200.000.000.200], port=[52165], protocol=IMAP
Feb 21 20:01:28 server2 pop3d: Connection, ip=[::ffff:200.000.000.200]
Feb 21 20:01:29 server2 pop3d: LOGIN, user=web26p1, ip=[::ffff:200.000.000.200], port=[52765]
Feb 21 20:01:31 server2 pop3d: LOGOUT, user=web26p1, ip=[::ffff:200.000.000.200], port=[52765], top=0, retr=0, rcvd=24, sent=193, time=2
Feb 21 20:02:42 server2 postfix/qmgr[13230]: 0BBD3A143C3: from=<[email protected]>, size=605, nrcpt=1 (queue active)
Feb 21 20:02:42 server2 postfix/smtp[27209]: connect to mail.domain.com[123.123.123.123]:25: Connection refused
Feb 21 20:02:42 server2 postfix/smtp[27209]: 0BBD3A143C3: to=<[email protected]>, relay=none, delay=13124, delays=13124/0.02/0.07/0, dsn=4.4.1, status=deferred (connect to mail.domain.com[123.123.123.123]:25: Connection refused)
Feb 21 20:12:42 server2 postfix/qmgr[13230]: 71E34A1427F: from=<>, size=2798, nrcpt=1 (queue active)
Feb 21 20:12:42 server2 postfix/smtp[27758]: connect to mail.domain.com[123.123.123.123]:25: Connection refused
Feb 21 20:12:42 server2 postfix/smtp[27758]: 71E34A1427F: to=<[email protected]>, relay=none, delay=9000, delays=9000/0.02/0.06/0, dsn=4.4.1, status=deferred (connect to mail.domain.com[123.123.123.123]:25: Connection refused)
Feb 21 20:34:54 server2 postfix/pickup[24193]: 30DCBA143CF: uid=30 from=<wwwrun>
Feb 21 20:34:54 server2 postfix/cleanup[28980]: 30DCBA143CF: message-id=<[email protected]>
Feb 21 20:34:54 server2 postfix/qmgr[13230]: 30DCBA143CF: from=<[email protected]>, size=701, nrcpt=1 (queue active)
Feb 21 20:34:54 server2 postfix/smtp[28982]: connect to gmail-smtp-in.l.google.com[209.85.221.92]:25: Connection refused
Feb 21 20:34:54 server2 postfix/smtp[28982]: 30DCBA143CF: to=<[email protected]>, relay=alt1.gmail-smtp-in.l.google.com[216.239.59.27]:25, delay=0.91, delays=0.24/0.01/0.26/0.39, dsn=2.0.0, status=sent (250 2.0.0 OK 1266780894 g11si10537752gve.23)
Feb 21 20:34:54 server2 postfix/qmgr[13230]: 30DCBA143CF: removed
Feb 21 20:37:18 server2 imapd: Connection, ip=[::ffff:200.000.000.200]
Feb 21 20:37:19 server2 imapd: LOGIN, user=web52p1, ip=[::ffff:200.000.000.200], port=[55426], protocol=IMAP
Feb 21 20:46:09 server2 imapd: TIMEOUT, user=web52p1, ip=[::ffff:200.000.000.200], headers=0, body=0, rcvd=567, sent=949, time=3259
Feb 21 21:01:37 server2 pop3d: Connection, ip=[::ffff:200.000.000.200]
Feb 21 21:01:38 server2 pop3d: LOGIN, user=web26p1, ip=[::ffff:200.000.000.200], port=[57069]
Feb 21 21:01:40 server2 pop3d: LOGOUT, user=web26p1, ip=[::ffff:200.000.000.200], port=[57069], top=0, retr=0, rcvd=24, sent=193, time=2
Feb 21 21:12:42 server2 postfix/qmgr[13230]: 0BBD3A143C3: from=<[email protected]>, size=605, nrcpt=1 (queue active)
Feb 21 21:12:47 server2 postfix/smtp[31225]: connect to mail.domain.com[123.123.123.123]:25: Connection refused
Feb 21 21:12:47 server2 postfix/smtp[31225]: 0BBD3A143C3: to=<[email protected]>, relay=none, delay=17329, delays=17324/0.02/5.1/0, dsn=4.4.1, status=deferred (connect to mail.domain.com[123.123.123.123]:25: Connection refused)
Feb 21 21:19:45 server2 imapd: TIMEOUT, user=web52p1, ip=[::ffff:200.000.000.200], headers=0, body=0, rcvd=339, sent=589, time=2546
Feb 21 21:22:42 server2 postfix/qmgr[13230]: 71E34A1427F: from=<>, size=2798, nrcpt=1 (queue active)
Feb 21 21:22:47 server2 postfix/smtp[31771]: connect to mail.domain.com[123.123.123.123]:25: Connection refused
Feb 21 21:22:47 server2 postfix/smtp[31771]: 71E34A1427F: to=<[email protected]>, relay=none, delay=13205, delays=13200/0.02/5.1/0, dsn=4.4.1, status=deferred (connect to mail.domain.com[123.123.123.123]:25: Connection refused)
Feb 21 21:35:34 server2 imapd: Connection, ip=[::ffff:200.000.000.200]
Feb 21 21:35:35 server2 imapd: LOGIN, user=web52p1, ip=[::ffff:200.000.000.200], port=[58172], protocol=IMAP
Feb 21 21:52:12 server2 imapd: Connection, ip=[::ffff:200.000.000.200]
Feb 21 21:52:13 server2 imapd: LOGIN, user=web52p1, ip=[::ffff:200.000.000.200], port=[58871], protocol=IMAP
Feb 21 22:01:46 server2 pop3d: Connection, ip=[::ffff:200.000.000.200]
Feb 21 22:01:48 server2 pop3d: LOGIN, user=web26p1, ip=[::ffff:200.000.000.200], port=[59343]
Feb 21 22:01:50 server2 pop3d: LOGOUT, user=web26p1, ip=[::ffff:200.000.000.200], port=[59343], top=0, retr=0, rcvd=24, sent=193, time=2
 
Ich habe in einem anderen Beitrag gelesen das amavisd fehlt und das instaliert. Zudem noch inet_interfaces auf all gestellt. Jetzt funktioniert E-Mail von Webmail an Server nach draußen, Gmail z.b.

Zudem hier noch das Ergebnis von postconf -n. Vielleicht hilft das weiter. Danke :)

Code:
server2:/etc/postfix # postconf -n
alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
disable_vrfy_command = yes
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_interfaces = all
inet_protocols = all
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
message_strip_characters = \0
mydestination = $myhostname, localhost.$mydomain
myhostname = server.domain.de
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/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 =
smtpd_delay_reject = yes
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
 
Jetzt funktioniert E-Mail von Webmail an Server nach draußen

Vielleicht hilft das weiter. Danke :)

Besteht denn das Problem nun noch? Wenn ja, was steht bei einem Sendeversuch in den Maillogs (verfolge die Mail von der Einlieferung bis zum Abschluss des Zustellversuchs).
 
Mail vom Server an Gmailadresse:

Code:
Feb 22 02:29:18 b145 imapd: Connection, ip=[::1]
Feb 22 02:29:18 b145 imapd: LOGIN, user=web52p1, ip=[::1], port=[42973], protocol=IMAP
Feb 22 02:29:18 b145 imapd: LOGOUT, user=web52p1, ip=[::1], headers=0, body=10964, rcvd=726, sent=13731, time=0
Feb 22 02:29:44 b145 postfix/pickup[11500]: BA19BA143CB: uid=30 from=<[email protected]>
Feb 22 02:29:44 b145 imapd: Connection, ip=[::1]
Feb 22 02:29:44 b145 imapd: LOGIN, user=web52p1, ip=[::1], port=[42975], protocol=IMAP
Feb 22 02:29:44 b145 postfix/cleanup[12460]: BA19BA143CB: message-id=<[email protected]>
Feb 22 02:29:44 b145 imapd: LOGOUT, user=web52p1, ip=[::1], headers=0, body=0, rcvd=456, sent=561, time=0
Feb 22 02:29:44 b145 postfix/qmgr[11502]: BA19BA143CB: from=<[email protected]>, size=599, nrcpt=1 (queue active)
Feb 22 02:29:45 b145 postfix/smtp[12464]: BA19BA143CB: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[74.125.79.114]:25, delay=0.52, delays=0.22/0.01/0.11/0.18, dsn=2.0.0, status=sent (250 2.0.0 OK 1266802185 7si7870980eyb.42)
Feb 22 02:29:45 b145 postfix/qmgr[11502]: BA19BA143CB: removed

Dann eine Antwort von Gmail an den Server gibt die Fehlermeldung (und direkt Delivery Status Notification (Failure) an Gmail):

Code:
Feb 22 02:32:28 b145 postfix/smtpd[12552]: connect from mail-bw0-f222.google.com[209.85.218.222]
Feb 22 02:32:28 b145 postfix/smtpd[12552]: NOQUEUE: reject: RCPT from mail-bw0-f222.google.com[209.85.218.222]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-bw0-f222.google.com>
Feb 22 02:32:28 b145 postfix/smtpd[12552]: disconnect from mail-bw0-f222.google.com[209.85.218.222]
 

Back
Top