fhem / fhem/fhem-docker

sendemail fails - no TLS support on docker-minimal image

Offen
#254 14 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @sidey79 Auf GitHub ansehen
bug wontfix
Vorherrschende Sprache
Shell
Sterne
90
Forks
26
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
9

Beschreibung

**Describe the bug**
I use the fhem-docker minimal image and noticed that sending emails did not work anymore.
sendemail returned
`NOTICE => Authentication not supported by the remote SMTP server!Jul 09 11:15:46 10035a7b7822 sendemail[23963]: ERROR => Received: 530 Authentication required`

After checking on fhem cmd line i get the error
`ERROR => No TLS support! SendEmail can't load required libraries. (try installing Net::SSLeay and IO::Socket::SSL)`

I tried to use TLS with TLS=auto (first case) and TLS=yes (2nd case)

**To Reproduce**
Steps to reproduce the behavior:
1. I use function DebianMail as described in https://wiki.fhem.de/wiki/E-Mail_senden in 99_myUtils.pm
2. As described I tested with { DebianMail('adress@host.com','Test','Test-Text');; }
3. Depending on the settings in sendemail line (-o tls=yes) I get the log message

**Expected behavior**
I am not sure if the additional libraries should be included in the image or added individually

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.