Hi, all, 

 

I'm having trouble with one client (iot) not able to send emails via
postfix. This is the log:

postfix/smtps/smtpd[4420]: initializing the server-side TLS engine

postfix/smtps/smtpd[4420]: connect from unknown[xxx.xxx.xxx.xxx]

postfix/smtps/smtpd[4420]: setting up TLS connection from
unknown[xxx.xxx.xxx.xxx]

postfix/smtps/smtpd[4420]: unknown[xxx.xxx.xxx.xxx]: TLS cipher list
"aNULL:-aNULL:HIGH:@STRENGTH"

postfix/smtps/smtpd[4420]: SSL_accept:before SSL initialization

postfix/smtps/smtpd[4420]: SSL3 alert write:fatal:decode error

postfix/smtps/smtpd[4420]: SSL_accept:error in error

postfix/smtps/smtpd[4420]: SSL_accept error from unknown[xxx.xxx.xxx.xxx]:
-1

postfix/smtps/smtpd[4420]: warning: TLS library problem: error:0A000126:SSL
routines::unexpected eof while reading:../ssl/record/rec_layer_s3.c:308:

postfix/smtps/smtpd[4420]: lost connection after CONNECT from
unknown[xxx.xxx.xxx.xxx]

postfix/smtps/smtpd[4420]: disconnect from unknown[xxx.xxx.xxx.xxx]
commands=0/0

 

I've seen www.mail-archive.com/postfix-users@postfix.org/msg96175.html, but
it didn't help.

 

Extract of mainf.cf:

smtpd_tls_session_cache_database = 

smtp_tls_session_cache_database = 

smtp_tls_security_level = may

smtpd_tls_security_level = may

smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3,!TLSv1

smtp_tls_mandatory_protocols = !SSLv2,!SSLv3,!TLSv1

smtpd_tls_protocols = !SSLv2,!SSLv3,!TLSv1

smtp_tls_protocols = !SSLv2,!SSLv3,!TLSv1

smtpd_tls_mandatory_ciphers=high

smtpd_use_tls=yes

 

Wireshark is showing:

Transport Layer Security

    TLSv1.2 Record Layer: Alert (Level: Fatal, Description: Decode Error)

        Content Type: Alert (21)

        Version: TLS 1.2 (0x0303)

        Length: 2

        Alert Message

            Level: Fatal (2)

            Description: Decode Error (50)

 

 

Ubuntu 22.04.1

Postfix version: 3.6.4

Dovecot version: 2.3.16

 

Any ideas how to solve this?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to