binwiederhier / ntfy

Send push notifications to your phone or desktop using PUT/POST
https://ntfy.sh
Apache License 2.0
17.21k stars 662 forks source link

Add TLS encryption to SMTP receiver #409

Open cmeis opened 1 year ago

cmeis commented 1 year ago

As of today the e-mail receiving server (for e-mail publishing) is only able to accept plain text connections. I'd like to be able to use TLS encrypted (STARTTLS) connections, as notification contents might contain sensitive information. As an option, I'd like to be able to make TLS mandatory on the server side, i.e. reject not encrypted connections via an config option in the server.yml.

vnghia commented 7 months ago

Hi, any update on this. It seems that some services now requires a proper tls encryption to send the email so it is a block for me. I would like to work on this one if you think this FR makes sense

Edit: Currently I put a docker-mailserver to act as a relay server to ntfy