Hello all ZM newbee here and i am not receiving any notification emails I have enabled ZM_OPT_EMAIL
I left the defaults only adding my email address here
ZM_NEW_MAIL_MODULES
I added the following values
localhost
zm@computerking.ca
http://68.12.12.12/zm
I also added a filter called frames where *Frames* *greater than or equal to* *1* is the setting. Has email details of all matches checked as well as run filter in background checked.
I have restarted zonemonitor and turned on debug level 9 but find nothing in the logs relating to email what am i missing here?
Not recieving emails
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
is your zm box running a mail server? if so your server handling your email may be blocking your ip as spam?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 190
- Joined: Tue Sep 16, 2008 5:22 am
Not to sure if it is running a mail server or not, do i need one, pretty sure ubuntu hardy comes with postfix installed, but might be out going only?? Does Zoneminder need a full blown email server as It is just outgoing email right?? I do have a mail server setup elsewhere should/could i use it instead??
-
- Posts: 190
- Joined: Tue Sep 16, 2008 5:22 am
OK i have setup a working instance of ssmtp and verified that i can send mail from the Zoneminder host.
However i am still not seeing anything from zoneminder in my inbox
There are no entries in the /var/log/mail.log regarding zoneminder trying to send mail.
What could be the problem where do i look why is zoneminder not sending me any email.
However i am still not seeing anything from zoneminder in my inbox
There are no entries in the /var/log/mail.log regarding zoneminder trying to send mail.
What could be the problem where do i look why is zoneminder not sending me any email.
-
- Posts: 190
- Joined: Tue Sep 16, 2008 5:22 am
No i have postfix and it is being very difficult not sure what the other perl package you mention is all about. I think zoneminder is doing its thing as i see this in the log but nothing is happening in my mail.log
Sep 18 22:14:25 bao zmfilter[9825]: INF [Scanning for events]
Sep 18 22:14:30 bao zmfilter[9825]: INF [Creating notification email]
Sep 18 22:14:30 bao zmfilter[9825]: INF [Sending notification email 'ZoneMinder: Alarm - vicam_3com-344 (255 - 255 28)']
Please help total lost here
Sep 18 22:14:25 bao zmfilter[9825]: INF [Scanning for events]
Sep 18 22:14:30 bao zmfilter[9825]: INF [Creating notification email]
Sep 18 22:14:30 bao zmfilter[9825]: INF [Sending notification email 'ZoneMinder: Alarm - vicam_3com-344 (255 - 255 28)']
Please help total lost here
-
- Posts: 190
- Joined: Tue Sep 16, 2008 5:22 am
the first time it did a bunch of ftp stuff then i tried to run it again and nothing seems to be happening just sits there. I even triggered a couple of alarms but nothing happened.
/usr/bin/zmfilter.pl
Hmmm i have postfix running like a charm and can send regular mail from that host what is missing with zoneminder????????
/usr/bin/zmfilter.pl
Hmmm i have postfix running like a charm and can send regular mail from that host what is missing with zoneminder????????
-
- Posts: 190
- Joined: Tue Sep 16, 2008 5:22 am
*****alot of this when zoneminder is left alone
19/09/08 03:46:17.907218 zmfilter[14558].DBG [Sleeping for 5 seconds]
19/09/08 03:46:22.907626 zmfilter[14558].DBG [Sleeping for 5 seconds]
19/09/08 03:46:27.908776 zmfilter[14558].DBG [Sleeping for 5 seconds]
09/19/08 03:46:28.425048 zmfilter[14776].INF [Notification message sent]
09/19/08 03:46:28.426785 zmfilter[14776].DBG [Checking event 346]
09/19/08 03:46:28.426999 zmfilter[14776].INF [Creating notification message]
09/19/08 03:46:28.427623 zmfilter[14776].INF [Sending notification message 'ZoneMinder: Alarm - vicam_3com-346']
19/09/08 03:46:32.909171 zmfilter[14558].DBG [Sleeping for 5 seconds]
19/09/08 03:46:37.909594 zmfilter[14558].DBG [Sleeping for 5 seconds]
*****If i run /usr/sbin/zmfilter.pl i get nothing guess that is because zoneminder is taking care of things right??
Strange i have a filter setup to upload email and message me if frames are greater than or equal to 1 also have camera set to motion detection. Nothing is being uploaded once in while if i trigger an alarm it will awake and send a message. seems to always be a fair bit behind anyways i
found a few of these in the logs tried setting the perms to 777 but still know help
09/19/08 04:00:29.097280 zmfilter[14776].INF [Creating upload file '/zoneminder/vicam_3com-408.tar.gz']
09/19/08 04:00:29.229489 zmfilter[14776].ERR [Tar error: Could not create filehandle for '/zoneminder/vicam_3com-408.tar.gz': Permission denied!
]
19/09/08 03:46:17.907218 zmfilter[14558].DBG [Sleeping for 5 seconds]
19/09/08 03:46:22.907626 zmfilter[14558].DBG [Sleeping for 5 seconds]
19/09/08 03:46:27.908776 zmfilter[14558].DBG [Sleeping for 5 seconds]
09/19/08 03:46:28.425048 zmfilter[14776].INF [Notification message sent]
09/19/08 03:46:28.426785 zmfilter[14776].DBG [Checking event 346]
09/19/08 03:46:28.426999 zmfilter[14776].INF [Creating notification message]
09/19/08 03:46:28.427623 zmfilter[14776].INF [Sending notification message 'ZoneMinder: Alarm - vicam_3com-346']
19/09/08 03:46:32.909171 zmfilter[14558].DBG [Sleeping for 5 seconds]
19/09/08 03:46:37.909594 zmfilter[14558].DBG [Sleeping for 5 seconds]
*****If i run /usr/sbin/zmfilter.pl i get nothing guess that is because zoneminder is taking care of things right??
Strange i have a filter setup to upload email and message me if frames are greater than or equal to 1 also have camera set to motion detection. Nothing is being uploaded once in while if i trigger an alarm it will awake and send a message. seems to always be a fair bit behind anyways i
found a few of these in the logs tried setting the perms to 777 but still know help
09/19/08 04:00:29.097280 zmfilter[14776].INF [Creating upload file '/zoneminder/vicam_3com-408.tar.gz']
09/19/08 04:00:29.229489 zmfilter[14776].ERR [Tar error: Could not create filehandle for '/zoneminder/vicam_3com-408.tar.gz': Permission denied!
]