Page 1 of 1

Unable to send emails after update to 1.35.16

Posted: Tue Dec 15, 2020 5:45 pm
by Dr. Evil
Have ZM installed on Ubuntu 20.04 and email was sending fine in previous version but after upgrading to 1.35.16, no email. Upgraded ssmtp to msmtp following https://bkjaya.wordpress.com/2019/10/21 ... ntu-19-04/ and am able to send mail successfully on the command line but email in ZM fails with following error:

Code: Select all

2020-12-15 11:52:48	zmdc		89373	ERR	'zmfilter.pl --filter_id=3 --daemon' exited abnormally, exit status 255	zmdc.pl
2020-12-15 11:52:48	zmfilter_3		89971	INF	Creating notification email	zmfilter.pl
The zm creates the email and then chokes on sending it. Any ideas on how to go about getting my email working again? I think it might be a problem with a perl dependency that got borked in the upgrade process but any ideas gratefully received.

Re: Unable to send emails after update to 1.35.16

Posted: Tue Dec 15, 2020 7:16 pm
by knight-of-ni
The way to troubleshoot this is to test from the command line, as the web account user.

Re: Unable to send emails after update to 1.35.16

Posted: Tue Dec 15, 2020 10:28 pm
by Dr. Evil
Well

Code: Select all

su - www-data -s /bin/bash -c echo "Hello, World" | mail -s "Hello, World from www-data" rick@xxx.ca
worked. Funny thing was in the earlier software version, mail was sent no problem. Any other clues I could follow?

Re: Unable to send emails after update to 1.35.16

Posted: Tue Dec 15, 2020 11:06 pm
by Dr. Evil
Just did an update and it works! Go figure...