Aw: Re: Postfix 3.1.0-3 (Ubuntu 16.04) mit Amazon SES
"Jörg Sitek"
Jogie at quantentunnel.de
Mi Jan 11 15:47:08 CET 2017
Hi Winni,
>> said: 421 Timeout waiting for data from client."
>>
> "The EC2 throttling is documented in Connecting to the Amazon SES
> SMTP Endpoint and actually constrained to port 25, so an alternative and
> immediate solution is simply using port 587 instead (it's a bit
> unfortunate that several official SES examples are using port 25
> indeed)"[1] = http://stackoverflow.com/a/11196253
Danke. Hätte ich erwähnen sollen. Das Throtteling für Port 25 hat der Support deaktiviert und auch, wenn ich zu Port 587 wechsel, erhalte ich diesen Fehler.
Meine main.cf (alles default bist auf):
# Amazon SES Configuration
relayhost = [email-smtp.eu-west-1.amazonaws.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_use_tls = yes
smtp_tls_security_level = encrypt
smtp_tls_note_starttls_offer = yes
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
smtp_tls_loglevel = 1
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
permit
Auszug aus dem Log:
Jan 11 14:42:22 host1 postfix/smtp[9736]: Trusted TLS connection established to email-smtp.eu-west-1.amazonaws.com[54.154.210.139]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 11 14:42:42 host1 postfix/smtp[9736]: EF374800E5: to=<--- at mailbox.org>, relay=email-smtp.eu-west-1.amazonaws.com[54.154.210.139]:587, delay=21371, delays=21310/0.03/61/0, dsn=4.0.0, status=deferred (SASL authentication failed; server email-smtp.eu-west-1.amazonaws.com[54.154.210.139] said: 421 Timeout waiting for data from client.)
Viele Grüße
Jörg
Mehr Informationen über die Mailingliste Postfixbuch-users