Search found 14 matches

by RHCPNG
Thu Oct 05, 2017 7:31 am
Forum: ZoneMinder 1.25.x
Topic: Sending alerts to multiple emails?
Replies: 4
Views: 4881

Re: Sending alerts to multiple emails?

Just found out that email addresses separated by a comma (,) work, in contrast to the semicolon. When used with SSMTP.
by RHCPNG
Sun Oct 01, 2017 12:21 pm
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

Ok, I figured it out. For prosperity...

It was a docker issue. My timezone of the docker container was set to UTC and I'm in Europe/Amsterdam. After I changed the docker variable, the filters worked like to be expected.
by RHCPNG
Sun Oct 01, 2017 10:51 am
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

Ok, I have a breakthrough. It turns out that it has to do with a time difference between probably the database and zoneminder or something. I was testing with filters of greater than 1 minute and 1 hour ago, but this didn't trigger any events. Now I tested with a filter of events greater than 3 hour...
by RHCPNG
Fri Sep 29, 2017 3:20 pm
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

I don't see any logging about ssmtp or sending mail. I've tailed syslog and debug log. Should there be a zmfilter.log file in the /var/log/zm folder? Because that doesn't exist in my setup. Yes, there should be a zmfilter.log. And the LOG_DEBUG_FILE should have your output as well. Maybe it's somet...
by RHCPNG
Thu Sep 28, 2017 1:01 pm
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

Ok, I took a look at the other post, but haven't made any progress in finding a solution. I've set log levels to the following: 2017-09-28_14-56-10.png But I don't see any logging about ssmtp or sending mail. I've tailed syslog and debug log. Should there be a zmfilter.log file in the /var/log/zm fo...
by RHCPNG
Thu Sep 28, 2017 9:05 am
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

I've written a bit on this on the wiki. Did you look at this? https://wiki.zoneminder.com/SMS_Notifications The existing wiki guides cover SMTP setup well. At least for Devuan / Debian Jessie and Ubuntu 14.04. Specifically, you should be following the "How to get ssmtp working with Zoneminder" wiki...
by RHCPNG
Tue Sep 26, 2017 7:22 am
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

When I look in the debug log file I get this: 09/26/17 09:16:49.936818 zmfilter[19294].DBG [LogOpts: level=DBG/DBG, screen=OFF, database=INF, logfile=DBG->/var/log/zm/zm_debug.log.19294, syslog=DBG] 09/26/17 09:16:50.003846 zmfilter[19294].INF [Scanning for events using filter '_TempFilter1506410209...
by RHCPNG
Tue Sep 26, 2017 6:53 am
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

Thanks for the screenshots. My settings are identical. The weird part is that I do not see any log about sending an email. I don't know how to debug this any further.
by RHCPNG
Sat Sep 23, 2017 6:35 pm
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

I'm running Debian 8 in a docker. The version of ZoneMinder is 1.30.4.
by RHCPNG
Sat Sep 23, 2017 7:23 am
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

Re: SSMTP not sending email, no log line

Does the filter work with SMTP and trigger the send mail event? Does the filter work in any conditions at all? The mail trigger doesn't seem to trigger at all, in no circumstances. At least, I don't see it in the log. The filter itself does give me results, as to events to mail. I force a new event...
by RHCPNG
Tue Sep 19, 2017 11:35 am
Forum: ZoneMinder 1.30.x
Topic: SSMTP not sending email, no log line
Replies: 14
Views: 5961

SSMTP not sending email, no log line

Hi guys, I've been debugging SSMTP for quite some time now and am not able to get it working. I've followed the instructions and read a lot of posts. The one thing that's different from other posts is that I don't get an event of sending the email in the log file. The only log I get from zmfilter is...
by RHCPNG
Tue Sep 19, 2017 11:23 am
Forum: ZoneMinder 1.30.x
Topic: Can't Send email notifications
Replies: 3
Views: 1246

Re: Can't Send email notifications

bbunge wrote:
Sun Jul 02, 2017 1:06 am
There seems to be some issues with the Stretch build of zoneminder. One of the developers is working on a new build. Hang in there a bit.
Can you tell some more about the issue? I've spend quite some time now on getting it to work, but haven't made any progress.
by RHCPNG
Tue Sep 12, 2017 8:54 am
Forum: User Contributions
Topic: [Guide] How to toggle ZoneMinder's Run State (home/away) based on your location using IFTTT on Android/iPhone
Replies: 15
Views: 14748

Re: [Guide] How to toggle ZoneMinder's Run State (home/away) based on your location using IFTTT on Android/iPhone

OK, I got it working. The problem was a character in the password.

I figured it out by running curl commands directly from the command line.

Also, this link helped me in debugging php:
https://stackoverflow.com/questions/170 ... rnal-error
by RHCPNG
Tue Sep 12, 2017 8:06 am
Forum: User Contributions
Topic: [Guide] How to toggle ZoneMinder's Run State (home/away) based on your location using IFTTT on Android/iPhone
Replies: 15
Views: 14748

Re: [Guide] How to toggle ZoneMinder's Run State (home/away) based on your location using IFTTT on Android/iPhone

I finally got this working. Curl was installed incorrectly was what was causing me problems. There were 2 issues with the PHP script, as written: 1 - Curl will not allow SSL cert mismatches in name, so care must be taken in aligning the call to the webservers domain name to align with the name used...