On Sun, Sep 27, 2020 at 11:31:43AM -0700, PGNet Dev wrote: > i've postfix + dovecot running on the same box; delivery between them > is via lmtp.
The main thing that stands to me is the timeout connecing to the Dovecot submission port. > ( this is a reproducible, exactly 30-second delay ... ) > > ==> /var/log/dovecot/dovecot.log <== > 2020-09-27 10:15:49 > lmtp(us...@example1.net)<uHZDHy/IcF8APAAA+IOfAw>: Error: smtp-client: conn > internal.mx.example.com:60465 (10.0.1.17:60465) [1]: > connect(internal.mx.example.com:60465) failed: Connection timed out after 30 > seconds ------------------ PROBLEM LIKELY HERE ---> > 2020-09-27 10:15:49 > lmtp(us...@example1.net)<uHZDHy/IcF8APAAA+IOfAw>: Error: sieve: > msgid=<4bzsg33hvqzw...@mx.example.com>: redirect action: failed to redirect > message to <us...@example2.net>: smtp(internal.mx.example.com:60465): RCPT TO > failed: Connect timed out (temporary failure) ------------------ <--- Since both the server and the client here are Dovecot, you might have better luck on the Dovecot list. However, ... > 2020-09-27 10:15:49 submission-login: Debug: SSL error: > SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong > version number The above again looks like cleartext (e.g. "QUIT<CRLF>") sent to a port that expects TLS. > ==> /var/log/dovecot/dovecot-debug.log <== > 2020-09-27 10:15:49 submission-login: Debug: SSL error: > SSL_accept() syscall failed: Invalid argument And the above may be the reason why connections are timing out... -- Viktor.