Hallo,
ich habe ein System von Centos7 auf LEAP 15.3 migriert und die Postfix Konfiguration macht Probleme.
Postfix soll sich mit unserem Exchange verbinden per smtps auf Port 465 und Starttls
Im Log bekomme ich die Meldung
Jan 11 09:24:41 xxx postfix/smtp[9841]: SSL_connect error to xxx.yyy.zzz.aaa[xxx.yyy.zzz.aaa]:465: -1
Jan 11 09:24:41 xxx postfix/smtp[9841]: warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:332:
Entsprechend dann beim Senden einer Mail “status=deferred (Cannot start TLS: handshake failure)”
in der Master.cf habe ich tlsmgr aktiviert (tlsmgr unix - - n 1000? 1 tlsmgr)
in der main.cf zudem
relayhost = xxx.yyy.zzz.aaa:465
smtp_tls_CApath = /etc/postfix/ssl/cacerts
smtp_tls_security_level = encrypt
smtp_tls_wrappermode = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_auth_enable = yes
Ein openssl s_client -connect xxx.yyy.zzz.aaa:465 -starttls smtp
funktioniert problemlos, connect per TLS1.2
---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 6156 bytes and written 475 bytes
Verification: OK
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES128-GCM-SHA256
Session-ID: xxxx
Session-ID-ctx:
Master-Key: xxx
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1641892480
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: yes
Ich bin etwas ratlos. Auf Centos7 und Ubuntu 20 funktioniert diese Config problemlos. Vielleicht hat hier jemand eine Idee?
Danke & Grüße