Email alerts not sending

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
danneh82
Posts: 2
Joined: Fri Jan 11, 2019 2:49 pm

Email alerts not sending

Post by danneh82 »

Hi

I have setup a new zoneminder today and having an issue with sending email alerts.

It is a fresh install of Ubunto 18.04 with LAMP installed following this guide
https://www.digitalocean.com/community ... untu-18-04

i then followed this guide to install Zoneminder:-
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

and finally followed this to configure ssmtp
https://wiki.zoneminder.com/How_to_get_ ... Zoneminder

Sending the test hello world email works fine.

When triggering the email alert filter i am getting the below error in the log

2019-01-11 13:54:22.307560 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDsLUD018969 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding at /usr/bin/zmfilter.pl line 811.]

Can anyone help please?

More logs:-

Code: Select all

2019-01-11 13:54:22.498654 zmc_m1[18610].INF-zm_monitor.cpp/2477 [Garage Back Door: images:3200 - Capturing at 14.29 fps, capturing bandwidth 238365bytes/sec]
2019-01-11 13:54:22.309880 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:22.307560 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDsLUD018969 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:21.450190 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/51/00001-capture.jpg']
2019-01-11 13:54:21.447180 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-51 (255 - 255 388)']
2019-01-11 13:54:20.853430 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:20.829420 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDsJTG018965 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:20.383790 zma_m1[18618].INF-zm_monitor.cpp/1247 [Garage Back Door: 2900 - Analysing at 12.50 fps]
2019-01-11 13:54:19.842180 zmc_m2[18628].INF-zm_monitor.cpp/2477 [Drive: images:3000 - Capturing at 16.67 fps, capturing bandwidth 192319bytes/sec]
2019-01-11 13:54:19.266980 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/50/00005-capture.jpg']
2019-01-11 13:54:19.258850 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/50/00001-capture.jpg']
2019-01-11 13:54:19.255900 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-50 (6 - 4 18)']
2019-01-11 13:54:18.961393 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 6, image 2986, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:18.752825 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 3, image 2983, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:18.157500 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:18.155010 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDsGAT018959 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:16.603820 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/49/00007-capture.jpg']
2019-01-11 13:54:16.595540 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/49/00001-capture.jpg']
2019-01-11 13:54:16.583780 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-49 (9 - 4 35)']
2019-01-11 13:54:15.663889 zmc_m1[18610].INF-zm_monitor.cpp/2477 [Garage Back Door: images:3100 - Capturing at 16.67 fps, capturing bandwidth 307452bytes/sec]
2019-01-11 13:54:15.647342 zma_m2[18639].INF-zm_monitor.cpp/1247 [Drive: 1800 - Analysing at 3.57 fps]
2019-01-11 13:54:15.323818 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 8, image 2928, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:15.320626 zma_m2[18639].WAR-zm_monitor.cpp/1287 [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
2019-01-11 13:54:15.301160 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:15.298160 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDsD1W018953 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:15.223133 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 5, image 2925, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:13.808500 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/48/00007-capture.jpg']
2019-01-11 13:54:13.799820 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/48/00001-capture.jpg']
2019-01-11 13:54:13.650900 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-48 (10 - 5 26)']
2019-01-11 13:54:13.177976 zmc_m2[18628].INF-zm_monitor.cpp/2477 [Drive: images:2900 - Capturing at 14.29 fps, capturing bandwidth 168473bytes/sec]
2019-01-11 13:54:12.699475 zma_m1[18618].INF-zm_monitor.cpp/1247 [Garage Back Door: 2800 - Analysing at 12.50 fps]
2019-01-11 13:54:12.499370 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:12.497280 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDsALh018947 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:10.892310 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/47/00022-capture.jpg']
2019-01-11 13:54:10.843920 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/47/00001-capture.jpg']
2019-01-11 13:54:10.838820 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-47 (5 - 2 29)']
2019-01-11 13:54:10.311380 zmfilter_4[18560].INF-zmfilter.pl [Checking filter Email email returned 0 events ]
2019-01-11 13:54:09.788100 zmfilter_2[18555].INF-zmfilter.pl [Checking filter Update DiskSpace update disk space returned 0 events ]
2019-01-11 13:54:09.558745 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 5, image 2845, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:09.535530 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:09.518870 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDs78O018939 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:09.144200 zmfilter_1[18550].INF-zmfilter.pl [Checking filter PurgeWhenFull delete returned 0 events ]
2019-01-11 13:54:09.012579 zmc_m1[18610].INF-zm_monitor.cpp/2477 [Garage Back Door: images:3000 - Capturing at 14.29 fps, capturing bandwidth 231699bytes/sec]
2019-01-11 13:54:07.888230 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/46/00003-capture.jpg']
2019-01-11 13:54:07.880220 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/46/00001-capture.jpg']
2019-01-11 13:54:07.866810 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-46 (6 - 3 19)']
2019-01-11 13:54:06.829440 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:06.820600 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDs5SW018933 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:06.796517 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 1, image 2801, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:06.735239 zma_m2[18639].WAR-zm_monitor.cpp/1287 [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
2019-01-11 13:54:06.672438 zmc_m2[18628].INF-zm_monitor.cpp/2477 [Drive: images:2800 - Capturing at 14.29 fps, capturing bandwidth 190458bytes/sec]
2019-01-11 13:54:06.570702 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 17, image 2797, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:05.340440 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/45/00005-capture.jpg']
2019-01-11 13:54:05.332400 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/45/00001-capture.jpg']
2019-01-11 13:54:05.329820 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-45 (12 - 7 20)']
2019-01-11 13:54:04.857961 zma_m1[18618].INF-zm_monitor.cpp/1247 [Garage Back Door: 2700 - Analysing at 14.29 fps]
2019-01-11 13:54:04.467597 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 7, image 2767, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:04.251330 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:04.247780 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDs3wm018927 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:03.552900 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/44/00001-capture.jpg']
2019-01-11 13:54:03.549980 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-44 (2 - 2 1)']
2019-01-11 13:54:03.081540 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:03.079340 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDs22Y018923 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:03.036915 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 7, image 2747, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:02.652807 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 1, image 2741, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:54:02.421410 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/43/00001-capture.jpg']
2019-01-11 13:54:02.418400 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-43 (2 - 2 1)']
2019-01-11 13:54:02.357616 zmc_m1[18610].INF-zm_monitor.cpp/2477 [Garage Back Door: images:2900 - Capturing at 14.29 fps, capturing bandwidth 237955bytes/sec]
2019-01-11 13:54:01.879340 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:54:01.877280 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDs0f4018919 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:54:00.406880 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/42/00009-capture.jpg']
2019-01-11 13:54:00.383360 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/42/00001-capture.jpg']
2019-01-11 13:54:00.380300 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-42 (9 - 5 31)']
2019-01-11 13:53:59.852578 zmc_m2[18628].INF-zm_monitor.cpp/2477 [Drive: images:2700 - Capturing at 16.67 fps, capturing bandwidth 192539bytes/sec]
2019-01-11 13:53:59.249630 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:59.233510 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrwqH018913 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:58.444420 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/41/00001-capture.jpg']
2019-01-11 13:53:58.441300 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-41 (2 - 2 7)']
2019-01-11 13:53:57.919260 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:57.906750 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrumm018909 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:57.538763 zma_m1[18618].INF-zm_monitor.cpp/1247 [Garage Back Door: 2600 - Analysing at 12.50 fps]
2019-01-11 13:53:56.230120 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/40/00017-capture.jpg']
2019-01-11 13:53:55.697120 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-11/40/00001-capture.jpg']
2019-01-11 13:53:55.658318 zmc_m1[18610].INF-zm_monitor.cpp/2477 [Garage Back Door: images:2800 - Capturing at 16.67 fps, capturing bandwidth 304968bytes/sec]
2019-01-11 13:53:55.613430 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-40 (6 - 3 24)']
2019-01-11 13:53:54.306880 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:54.294710 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrrfo018903 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:53.959050 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/39/00001-capture.jpg']
2019-01-11 13:53:53.955950 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-39 (2 - 2 1)']
2019-01-11 13:53:53.567520 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:53.565310 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrqfD018899 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:53.164859 zmc_m2[18628].INF-zm_monitor.cpp/2477 [Drive: images:2600 - Capturing at 14.29 fps, capturing bandwidth 168275bytes/sec]
2019-01-11 13:53:52.935150 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/38/00002-capture.jpg']
2019-01-11 13:53:52.927150 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/38/00001-capture.jpg']
2019-01-11 13:53:52.923860 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-38 (49 - 34 33)']
2019-01-11 13:53:52.141260 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:52.139070 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrp2Y018893 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:51.614950 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/37/00003-capture.jpg']
2019-01-11 13:53:51.606560 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/37/00001-capture.jpg']
2019-01-11 13:53:51.603730 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-37 (72 - 33 18)']
2019-01-11 13:53:50.732949 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 2, image 2562, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:50.635240 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:50.611580 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrnGQ018887 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:49.901690 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/36/00002-capture.jpg']
2019-01-11 13:53:49.893550 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/36/00001-capture.jpg']
2019-01-11 13:53:49.890420 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-36 (49 - 32 29)']
2019-01-11 13:53:49.808077 zma_m1[18618].INF-zm_monitor.cpp/1247 [Garage Back Door: 2500 - Analysing at 12.50 fps]
2019-01-11 13:53:49.096000 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:49.093640 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrm2j018881 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:49.026980 zmc_m1[18610].INF-zm_monitor.cpp/2477 [Garage Back Door: images:2700 - Capturing at 14.29 fps, capturing bandwidth 235981bytes/sec]
2019-01-11 13:53:48.824430 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/35/00001-capture.jpg']
2019-01-11 13:53:48.821300 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-35 (71 - 21 15)']
2019-01-11 13:53:48.452036 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 7, image 2527, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:48.388050 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:48.386120 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrmZP018877 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:48.254666 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 3, image 2523, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:48.089670 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/34/00001-capture.jpg']
2019-01-11 13:53:48.086740 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-34 (34 - 20 4)']
2019-01-11 13:53:47.707940 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:47.705290 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrlj8018873 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:47.535962 zma_m2[18639].INF-zm_monitor.cpp/1247 [Drive: 1700 - Analysing at 3.23 fps]
2019-01-11 13:53:47.082580 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/33/00002-capture.jpg']
2019-01-11 13:53:47.073870 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-10/33/00001-capture.jpg']
2019-01-11 13:53:47.070990 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-33 (52 - 37 34)']
2019-01-11 13:53:46.916205 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 5, image 2505, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:46.690986 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 2, image 2502, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:46.545006 zmc_m2[18628].INF-zm_monitor.cpp/2477 [Drive: images:2500 - Capturing at 14.29 fps, capturing bandwidth 190477bytes/sec]
2019-01-11 13:53:46.267760 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:46.265670 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrjwV018867 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:45.759780 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/32/00002-capture.jpg']
2019-01-11 13:53:45.744370 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/32/00001-capture.jpg']
2019-01-11 13:53:45.725300 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-32 (70 - 29 18)']
2019-01-11 13:53:45.647509 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 6, image 2486, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:45.367740 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 2, image 2482, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:44.929900 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:44.926480 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrigP018861 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:44.552150 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/31/00001-capture.jpg']
2019-01-11 13:53:44.549270 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-31 (53 - 37 33)']
2019-01-11 13:53:44.185030 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:44.174640 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrhCQ018857 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:43.658910 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/30/00003-capture.jpg']
2019-01-11 13:53:43.650430 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/30/00001-capture.jpg']
2019-01-11 13:53:43.646310 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-30 (64 - 25 16)']
2019-01-11 13:53:42.801010 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:42.798820 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrgr9018851 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:42.642543 zmc_m1[18610].INF-zm_monitor.cpp/2477 [Garage Back Door: images:2600 - Capturing at 14.29 fps, capturing bandwidth 238363bytes/sec]
2019-01-11 13:53:42.469030 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/29/00001-capture.jpg']
2019-01-11 13:53:42.451280 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-29 (3 - 3 1)']
2019-01-11 13:53:42.441880 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:42.227020 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrfE5018848 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:41.918141 zma_m1[18618].INF-zm_monitor.cpp/1247 [Garage Back Door: 2400 - Analysing at 12.50 fps]
2019-01-11 13:53:41.562230 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/28/00002-capture.jpg']
2019-01-11 13:53:41.536220 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/28/00001-capture.jpg']
2019-01-11 13:53:41.533290 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-28 (49 - 35 34)']
2019-01-11 13:53:41.336564 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 19, image 2419, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:41.122160 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:41.119910 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDreFe018841 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:40.736717 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 7, image 2407, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:40.430125 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 3, image 2403, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:40.424500 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/27/00003-capture.jpg']
2019-01-11 13:53:40.414720 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/27/00001-capture.jpg']
2019-01-11 13:53:40.409440 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-27 (58 - 30 16)']
2019-01-11 13:53:39.886302 zmc_m2[18628].INF-zm_monitor.cpp/2477 [Drive: images:2400 - Capturing at 16.67 fps, capturing bandwidth 192869bytes/sec]
2019-01-11 13:53:39.172860 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:39.165870 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrcCu018831 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:38.893980 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/26/00001-capture.jpg']
2019-01-11 13:53:38.891340 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-26 (49 - 35 33)']
2019-01-11 13:53:38.866274 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 2, image 2382, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:38.692610 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 18, image 2378, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:38.504780 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:38.502450 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrcfE018825 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:38.073390 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/25/00001-capture.jpg']
2019-01-11 13:53:38.069260 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-25 (68 - 25 17)']
2019-01-11 13:53:37.700667 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 6, image 2366, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:37.472380 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:37.469860 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrajH018799 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:37.444280 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 1, image 2361, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:36.497980 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/24/00002-capture.jpg']
2019-01-11 13:53:36.489490 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/24/00001-capture.jpg']
2019-01-11 13:53:36.486630 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-24 (49 - 35 34)']
2019-01-11 13:53:35.771573 zmc_m1[18610].INF-zm_monitor.cpp/2477 [Garage Back Door: images:2500 - Capturing at 16.67 fps, capturing bandwidth 316591bytes/sec]
2019-01-11 13:53:35.638340 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:35.618650 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrZg1018793 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:35.009900 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/23/00003-capture.jpg']
2019-01-11 13:53:35.001630 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/23/00001-capture.jpg']
2019-01-11 13:53:34.998680 zmfilter[18675].INF-zmfilter.pl [Sending notification email 'ZoneMinder: Alarm - Garage Back Door-23 (53 - 23 17)']
2019-01-11 13:53:34.377049 zmc_m2[18628].WAR-zm_monitor.cpp/2441 [Buffer overrun at index 16, image 2316, slow down capture, speed up analysis or increase ring buffer size]
2019-01-11 13:53:34.127240 zmfilter[18675].INF-zmfilter.pl [Creating notification email]
2019-01-11 13:53:34.125000 zmfilter[18675].ERR-zmfilter.pl [Unable to send email: Net::CMD (Net::SMTP) DATAEND command failed.
Last server message was:4.3.0 collect: Cannot write ./dfx0BDrX5F018787 (sm_io_flush||sm_io_error, uid=0, gid=116): Input/output error
This probably represents a problem with newline encoding  at /usr/bin/zmfilter.pl line 811.]
2019-01-11 13:53:33.756865 zma_m1[18618].INF-zm_monitor.cpp/1247 [Garage Back Door: 2300 - Analysing at 14.29 fps]
2019-01-11 13:53:33.486100 zmfilter[18675].INF-zmfilter.pl [Attaching '/var/cache/zoneminder/events/1/2019-01-09/22/00002-capture.jpg']
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Email alerts not sending

Post by rockedge »

Hello!
make sure that you have the Options->Email->NEW_MAIL_MODULES is checked
also check that the PERL modules MIME::Lite and Net::SMTP are present and installed
the module MIME::Entity would be used for the email notifications if Options->Email->NEW_MAIL_MODULES is not checked.

some info from the docs..
Making sure you have MIME::Lite and Net::SMTP
So after getting various errors, I discovered Ubuntu Server did not install MIME::Lite with its default install.

It's good idea to install them if you don't have it. To check if you have them:

perl -MMIME::Lite -e "print \"Module installed.\\n\";"
perl -MNet::SMTP -e "print \"Module installed.\\n\";"

And to install:

sudo perl -MCPAN -e shell
install MIME::Lite
install Net::SMTP
danneh82
Posts: 2
Joined: Fri Jan 11, 2019 2:49 pm

Re: Email alerts not sending

Post by danneh82 »

Sorry i should have also put both perl modules are installed and New_Mail_Modules is checked.

After a bit more digging I found the issue - the www-data user couldnt access the SSMTP folder. Updated the permission now and email alerts are sending.....all 300 of them!
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Email alerts not sending

Post by rockedge »

300 is a lot...but glad you found the problem and got it going!
Post Reply