Use SSL 465 port on Relay

Hello everybody. Thanks to your help I was able to configure everything correctly. Now it remains a stumbling block to overcome: I have to configure sending on a PEC with multi-access, and use smtp with port 465 SSL … only that works as far as I understand.
How can I do? I can’t get it to work

Here are some infos about making PEC work:

Thanks a lot, but in this link I have not found anything that can help me. I’ll explain my problem better: I managed to correctly configure the incoming IMAPS connector, but for the same PEC I can’t configure the send relay…if i use 465 or 587 port with the tls not connect

this is my log

In smtp-tls-wrapper you may need to modify it as follows


You are the best!! Tomorrow work on it and upgrade the post…thanks for now

Thanks for script!
i followed it all but when i launch “service stunnel start” the system abort with this code:
job for stunnel.service failed because the control process exited with error code. See “systemctl status stunnel.service” and “journalctl -xe” for detailles.