On 19/09/2018 14.43, Andrei Borzenkov wrote:
19.09.2018 21:28, Carlos E. R. пишет:
Hi,
I can no longer send email "normally", I get:
status=deferred (connect to mail.gmx.es[212.227.17.174]:25: Connection timed out)
on all mail accounts. My guess that suddenly Bell figured out it should block me or port 25 outgoing. Stupid! :-(
So I told Thunderbird to send without using postfix, and that apparently works (if you see this, it works), but I want to keep using postfix. TH is using port 465, SSL/TLS, and password.
So, in "/etc/postfix/sender_relayhost" I change this entry:
robin.listas@gmx.es [mail.gmx.es]
to this:
robin.listas@gmx.es [mail.gmx.es]:submission
submission is port 587, not 465.
I know. But look at the log entry below:
And then I get this on the log:
#<2.6> 2018-09-19 19:55:09 Legolas postfix 2044 - - SMTPS wrappermode (TCP port 465) requires setting "smtp_tls_wrappermode = yes", and "smtp_tls_security_level = encrypt" (or stronger)
I read that as it is in fact using port 465. However, you are right: If I edit the config to :465, it works. :-o [...] Well, it works to send the mails in the queue, it is halting with mails send from Thunderbird to Postfix: <2.6> 2018-09-19 21:30:13 Legolas postfix 11876 - - connect from localhost[::1] <2.6> 2018-09-19 21:30:14 Legolas postfix 11876 - - 8DAC5E309C: client=localhost[::1] <2.6> 2018-09-19 21:30:14 Legolas postfix 11879 - - 8DAC5E309C: message-id=<21341d87-6961-3985-fb3d-c792bd369ea1@gmx.es> <2.6> 2018-09-19 21:30:14 Legolas postfix 11715 - - 8DAC5E309C: from=<robin.listas@gmx.es>, size=2146, nrcpt=1 (queue active) <2.6> 2018-09-19 21:30:14 Legolas postfix 11876 - - disconnect from localhost[::1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 <2.6> 2018-09-19 21:30:15 Legolas postfix 11880 - - SSL_connect error to 127.0.0.1[127.0.0.1]:10024: -1 <2.4> 2018-09-19 21:30:15 Legolas postfix 11880 - - warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:252: <2.6> 2018-09-19 21:30:15 Legolas postfix 11880 - - 8DAC5E309C: to=<opensuse@opensuse.org>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.49, delays=0.08/0.19/0.22/0, dsn=4.7.5, status=deferred (Cannot start TLS: handshake failure) <2.6> 2018-09-19 21:30:15 Legolas dovecot - - - imap(cer)<10969><z7PQHj52zKwAAAAAAAAAAAAAAAAAAAAB>: Connection closed (noop finished 0.444 secs ago) in=2984 out=823237 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=290 body_count=0 body_bytes=0 <2.6> 2018-09-19 21:30:26 Legolas dovecot - - - imap-login: Login: user=<cer>, method=PLAIN, rip=::1, lip=::1, mpid=11889, TLS, session=<BrYxcD52cq0AAAAAAAAAAAAAAAAAAAAB> These settings are needed: smtp_tls_security_level = encrypt smtp_sasl_tls_security_options = noanonymous smtp_tls_wrappermode = yes Otherwise I get: #<2.6> 2018-09-19 19:55:09 Legolas postfix 2044 - - SMTPS wrappermode (TCP port 465) requires setting "smtp_tls_wrappermode = yes", and "smtp_tls_security_level = encrypt" (or stronger) But if I do, then I get the errors above. If I change the settings one or the other way, and restart postfix each time, I can get mail to get sent. Ie, edit, change, restart, sendmail -q, edit, change, restart, sendmail -q. So the current problem is: <2.6> 2018-09-19 21:42:09 Legolas postfix 12405 - - connect from localhost[::1] <2.6> 2018-09-19 21:42:09 Legolas postfix 12405 - - 45851E309C: client=localhost[::1] <2.6> 2018-09-19 21:42:09 Legolas postfix 12407 - - 45851E309C: message-id=<2c3b1602-518a-f788-b8c2-ef49d43b57c8@gmx.es> <2.6> 2018-09-19 21:42:09 Legolas postfix 12331 - - 45851E309C: from=<robin.listas@gmx.es>, size=680, nrcpt=1 (queue active) <2.6> 2018-09-19 21:42:09 Legolas postfix 12405 - - disconnect from localhost[::1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 <2.6> 2018-09-19 21:42:09 Legolas postfix 12408 - - SSL_connect error to 127.0.0.1[127.0.0.1]:10024: -1 <2.4> 2018-09-19 21:42:09 Legolas postfix 12408 - - warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:252: <2.6> 2018-09-19 21:42:09 Legolas postfix 12408 - - 45851E309C: to=<opensuse-test@opensuse.org>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.21, delays=0.1/0.1/0.01/0, dsn=4.7.5, status=deferred (Cannot start TLS: handshake failure) <2.6> 2018-09-19 21:42:10 Legolas dovecot - - - imap(cer)<11889><BrYxcD52cq0AAAAAAAAAAAAAAAAAAAAB>: Connection closed (noop fini inished 0.532 secs ago) in=1247 out=824289 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=480 body_count=1 body_bytes=1965 using: smtptp_tls_security_level = encrypt smtp_sasl_tls_security_options = noanonymous smtp_tls_wrappermode = yes robin.listas@gmx.es [mail.gmx.es]:465 -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org