Habe seit einiger Zeit das Problem, dass e-Mails die direkt über meiner eigenen Mailserver versendet werden nicht mehr beim Empfänger ankommen (habe zwischenzeitlich hilfsweise den smtp meines Providers benutzt, möchte das jetzt aber natürlich ändern).
Beim Stöbern im /var/log/mail finde ich immer wieder den Eintrag "Connection timed out".
Jetzt habe ich mal den "smtpd_timeout" in meiner main.cf von "300s" auf "500s" und dann auf "1000s" hochgesetzt --> keine Änderung.
Hier mal ein Beispiel für eine versendete Mail an "dest-domain@bluewin.ch" (domainname etc. anonymisiert) :
Hier meine main.cf :
Ich vermute, dass der Fehler nicht direkt beim timeout zu suchen ist, aber wo kann ich mir auch nicht erklären.
Vor allem : mit "300s" hatte es ja schon prima geklappt !
Könnt Ihr mir irgendwie helfen ?
Beim Stöbern im /var/log/mail finde ich immer wieder den Eintrag "Connection timed out".
Jetzt habe ich mal den "smtpd_timeout" in meiner main.cf von "300s" auf "500s" und dann auf "1000s" hochgesetzt --> keine Änderung.
Hier mal ein Beispiel für eine versendete Mail an "dest-domain@bluewin.ch" (domainname etc. anonymisiert) :
Code:
Dec 19 20:49:45 asterix postfix/smtpd[12926]: connect from unknown[192.168.178.23]
Dec 19 20:49:46 asterix postfix/smtpd[12926]: 0A756F382: client=unknown[192.168.178.23]
Dec 19 20:49:46 asterix postfix/cleanup[12929]: 0A756F382: message-id=<43A70EEB.2000700@my-domain.de>
Dec 19 20:49:46 asterix postfix/qmgr[12612]: 0A756F382: from=<info@my-domain.de>, size=3601, nrcpt=1 (queue active)
Dec 19 20:49:46 asterix postfix/smtpd[12926]: disconnect from unknown[192.168.178.23]
Dec 19 20:49:53 asterix postfix/smtpd[12933]: connect from localhost[127.0.0.1]
Dec 19 20:49:53 asterix postfix/smtpd[12933]: 5F3A111468: client=localhost[127.0.0.1]
Dec 19 20:49:53 asterix postfix/cleanup[12929]: 5F3A111468: message-id=<43A70EEB.2000700@my-domain.de>
Dec 19 20:49:53 asterix postfix/qmgr[12612]: 5F3A111468: from=<info@my-domain.de>, size=4016, nrcpt=1 (queue active)
Dec 19 20:49:53 asterix postfix/smtpd[12933]: disconnect from localhost[127.0.0.1]
Dec 19 20:49:53 asterix amavis[11783]: (11783-06) Passed CLEAN, [192.168.178.23] <info@my-domain.de> -> <dest-domain@bluewin.ch>, Message-ID: <43A70EEB.2000700@my-domain.de>, mail_id: 1F1c665tbzXi, Hits: -2.82, 6763 ms
Dec 19 20:49:53 asterix postfix/smtp[12930]: 0A756F382: to=<dest-domain@bluewin.ch>, relay=127.0.0.1[127.0.0.1], delay=8, status=sent (250 2.6.0 Ok, id=11783-06, from MTA([127.0.0.1]:10025): 250 Ok: queued as 5F3A111468)
Dec 19 20:49:53 asterix postfix/qmgr[12612]: 0A756F382: removed
Dec 19 20:50:23 asterix postfix/smtp[12934]: connect to bluewin.ch[195.186.6.80]: Connection timed out (port 25)
Dec 19 20:50:53 asterix postfix/smtp[12934]: connect to bluewin.ch[195.186.3.80]: Connection timed out (port 25)
Dec 19 20:50:53 asterix postfix/smtp[12934]: 5F3A111468: to=<dest-domain@bluewin.ch>, relay=none, delay=60, status=deferred (connect to bluewin.ch[195.186.3.80]: Connection timed out)
Hier meine main.cf :
Code:
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
bounce_size_limit = 100000
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 5
defer_transports =
disable_dns_lookups = yes
double_bounce_sender = thomas@myreal-domain.de
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_exceptions = root
message_size_limit = 30000000
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = $myhostname, $mydomain, localhost, localhost.$mydomain, myreal-domain, myreal-domain.dyndns.org asterix
mydomain = home
myhostname = asterix.home
mynetworks = 192.168.178.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
proxy_interfaces = 192.168.178.1
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination
relay_domains_reject_code = 554
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 = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_banner = $mydomain.myreal-domain.de ESMTP
smtpd_junk_command_limit = 100
smtpd_recipient_limit = 50
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_timeout = 1000s
smtpd_use_tls = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
Ich vermute, dass der Fehler nicht direkt beim timeout zu suchen ist, aber wo kann ich mir auch nicht erklären.
Vor allem : mit "300s" hatte es ja schon prima geklappt !
Könnt Ihr mir irgendwie helfen ?