Closed billotronic closed 1 year ago
Ok, been looking into this one and I focused on this message in the error
ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:1123)
It appears that yahoo prefers ssl to tls for encryption. However it should fall back to tls if ssl does not work.
Accorging to their site you should use port 465 and not 587 for your server port. I am not convinced it will fall back to TLS though so you will need to try it.
Please use port 465, try again and report back the error you get if it does not work.
Now that I read more I dont think that will work at all. Yahoo should support port 587 tls but maybe they no longer do. TLS still works with gmail but most likely I will need to patch my code to support ssl smtp connections as this is the preferred way even at gmail, although they support tls. I suspect it may be just a matter of time before they don't.
Raspi-sump now supports ssl email as of version 1.8.1
Enable ssl in raspisump.conf by adding smtp_ssl = 1 below the smtp_tls entry and make sure to change to smtp_tls = 0
you must also use the proper port for ssl, in most cases it will be 465
e.g.
# SMTP Server uses TLS (0=No, 1=Yes)
smtp_tls = 0
# SMTP Server uses SSL (0=No, 1=Yes)
smtp_ssl = 1
smtp_server = smtp.gmail.com:465
Error:
Conf:
Raspbian Bullseye on Pi Zero W, up to date.
For the life of me I cannot seem to figure out what the problem is. Thanks for this awesome project.