fhem / fhem/fhem-docker

sendemail fails - no TLS support on docker-minimal image

Open
#254 14 comments 0 reactions 1 assignee Claimed by @sidey79 View on GitHub
bug wontfix
Dominant language
Shell
Stars
90
Forks
26
Avg merge
2d 15h
Merged PRs (30d)
9

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.