email fails 'Must issue a STARTTLS command first'
Posted: Tue Dec 11, 2012 9:36 pm
I am using ssmtp for the simplest mail agent I could find. I set it up and can send mail from the terminal. I also get cron messages from zm.
I searched this forum and 'google' and could not determine how to approach this problem. It appears to be related to the perl script used by zm, but I don't have the ability to troubleshoot or modify the script.
When I trigger an event tru the zm filter for email I get the following log messages:
Any and all help will be appreciated....dan
EDIT: The above problem occurs with the isp (google) smtp server on the zm>options>email>(third line from bottom).
When I change that line back to "localhost" the following error occurs:
Will try to look at that, but do not know how to change....dan
I searched this forum and 'google' and could not determine how to approach this problem. It appears to be related to the perl script used by zm, but I don't have the ability to troubleshoot or modify the script.
When I trigger an event tru the zm filter for email I get the following log messages:
Code: Select all
Component PID Level Message File Line
2012-12-11 13:55:03.179970 zmfilter 887 ERR Can't send email: SMTP mail() command failed: 5.7.0 Must issue a STARTTLS command first. p17sm29432135anh.12 zmfilter.pl
2012-12-11 13:55:03.061200 zmfilter 887 INF Sending notification email 'ZoneMinder: Alarm - ptcam-2-1633 (255 - 255 19)' zmfilter.pl
2012-12-11 13:55:01.589110 zmfilter 887 INF Creating notification email zmfilter.pl
2012-12-11 13:55:01.416240 zmfilter 887 INF Archiving event 1633 zmfilter.pl
EDIT: The above problem occurs with the isp (google) smtp server on the zm>options>email>(third line from bottom).
When I change that line back to "localhost" the following error occurs:
Code: Select all
Can't send email: SMTP Failed to connect to mail server: Connection refused at /usr/bin/zmfilter.pl line 1004