fhem / fhem/fhem-docker

sendemail fails - no TLS support on docker-minimal image

Abierto
#254 14 comentarios 0 reacciones 1 asignado Reclamado por @sidey79 Ver en GitHub
bug wontfix
Lenguaje dominante
Shell
Estrellas
90
Forks
26
Merge medio
2 d 15 h
PR fusionados (30 d)
9

Descripción

**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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.