Skip to content

sendemail fails - no TLS support on docker-minimal image #254

@jmpmn-jr

Description

@jmpmn-jr

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions