Mail sending not working with SSL/TLS (ec-56), but works without SSL/TLS

I’ve connected my problems before to the other topic, but it seems lost somewhere and I’ve made some additional tests. So here it is:

  1. The error:
    urbackup via web intarface gives me:
    Failure when receiving data from the peer(ec=56), response reading failed.

I’ve configured everything (server address, port, username, password, sender name, use/check SSL/TLS, admin email and test email). When I use “the SSL port” (465) (no matter if it is with check SSL or not) it always ends with above error. I’ve tried without SSL/TLS (on port 587) and it works fine.

  1. “the curl test” works fine (found somewhere digging this issue):
    curl --url ‘smtps://SOMESERVER.YEAH:465’ --ssl-reqd --mail-from ‘SOMEUSER@SOMESERVER.YEAH’ --mail-rcpt ‘DIFFERENTUSER@SOMESERVER.YEAH’ --upload-file mail.txt --user ‘SOMEUSER@SOMESERVER.YEAH:SOMEPASSWORD’ --insecure
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 136 0 0 100 136 0 221 --:–:-- --:–:-- --:–:-- 221

Subject: Just a test

Hi Report,
ignore this test.

How to proceed? :slight_smile: I would like this resolved.

Made debug run, but nothing shows up in the log about e-mail.

I’m running urbackup server 2.3.8 on Armbian.