Page 1 of 1

Alert EMail

Posted: Thu Dec 29, 2016 9:24 am
by rotile
Hello,

my ZM send no email on motion detection. What can i do?

E-Mail Log is O.K:

cam@cam:~$ echo "Hello, World" | mail -s "My email check" cam@test.com
cam@cam:~$ tail -f /var/log/syslog

Dec 29 10:21:45 Kamera zma_m1[3922]: INF [Garage: 7000 - Analysing at 29.41 fps]
Dec 29 10:21:47 Kamera zmc_m3[3823]: INF [Garten: 6000 - Capturing at 25.00 fps]
Dec 29 10:21:48 Kamera zmc_m2[3811]: INF [Eingang: 6000 - Capturing at 25.00 fps]
Dec 29 10:21:51 Kamera zmc_m4[3834]: INF [Flur: 6000 - Capturing at 25.00 fps]
Dec 29 10:21:51 Kamera zma_m2[3924]: INF [Eingang: 6000 - Analysing at 25.00 fps]
Dec 29 10:21:52 Kamera zma_m3[3923]: INF [Garten: 6000 - Analysing at 25.00 fps]
Dec 29 10:21:52 Kamera zma_m4[3836]: INF [Flur: 6000 - Analysing at 25.00 fps]
Dec 29 10:22:07 Kamera sSMTP[3934]: Sent mail for test@localhost (221 2.0.0 Bye) uid=1000 username=camoutbytes=410
Dec 29 10:22:14 Kamera zmc_m1[3801]: INF [Garage: 8000 - Capturing at 30.30 fps]
Dec 29 10:22:18 Kamera zma_m1[3922]: INF [Garage: 8000 - Analysing at 30.30 fps]

Re: Alert EMail

Posted: Tue Jan 03, 2017 3:21 am
by CrisTooR
I wish you had an answer, I have a problem with email notification too

Re: Alert EMail

Posted: Tue Jan 03, 2017 7:01 pm
by rebootln
Can you send emails from your system

First make sure your email works - most likely that is your problem to begin with

Re: Alert EMail

Posted: Tue Jan 03, 2017 7:18 pm
by Last_Mile
I followed these directions and it works for me:
https://wiki.zoneminder.com/How_to_get_ ... Zoneminder

Re: Alert EMail

Posted: Wed Jan 04, 2017 1:32 am
by romany
Hey - a newby may be able to help. Look at the last field - path to the ssmtp program - on my ubuntu it is "/usr/sbin/ssmtp". I *think* that part was left out on someone's post - add that in and see if it works...