Page 1 of 1

Setup msmtp

Posted: Wed Jul 17, 2019 9:58 am
by robfish
I have a fresh installation of Zoneminder 1.32.3 on a fresh installation of Debian 10
ssmtp is not available any more so I installed msmtp and tested it works with:-

Code: Select all

echo -e "Subject: msmtp test\nhello test." | msmtp name@domain.net.xx
When I set up the mail tab in Options similar to my previous working ssmtp
EMAIL_HOST = localhost
FROM_EMAIL = root@localhost
SSMTP_MAIL = ticked
SSMTP_PATH = /usr/bin/msmtp

I get an error in the log
Unable to send email: can't exec : Bad file descriptor

Has anyone written or seen a howto for msmtp setup on 1.32?