Code: Select all
Can't send email: error closing /usr/lib/sendmail: (exit 256)
The main email configuration items are:
Code: Select all
OPT_EMAIL: (checked)
EMAIL_ADDRESS: (set to my personal address)
NEW_MAIL_MODULES: (checked)
EMAIL_HOST: localhost
FROM_EMAIL: (same email address as specified in ssmtp config)
SSMTP_MAIL: (checked)
SSMTP_PATH: /usr/sbin/ssmtp
Code: Select all
echo "Hello, World" | mail -s "My email check" myemail@gmail.com
Code: Select all
ssmtp myemail@gmail.com
Hello World
^D
Code: Select all
sendmail myemail@gmail.com
Hello World
.
^D
I've also tried adding an info message just before the send statement in
zmfilter.pl (line 813 of 996) to check that it really is using ssmtp and
that the path and email address are correct.
OS: Ubuntu 16.04
ZM Version: 1.30.0-trusty
Installation method: Docker https://github.com/aptalca/docker-zoneminder/tree/v1.29
Any suggestions?
Thanks very much,
Alistair