Page 1 of 1

Sending Email From Zoneminder

Posted: Thu May 26, 2011 7:27 pm
by vader88
I am trying to get email working in Zoneminder. I am completely new to linux and know just what it took me to get zoneminder running. I am using Ubuntu Server 10 x64.

Using postfix I have got to the point where I can send email from the linux command line like this:

mail -s "hello" something@gmail.com


But sending from zoneminder does not work and i don't get an error in /var/log/mail.log


Any ideas how to fix this?

Re: Sending Email From Zoneminder

Posted: Fri May 27, 2011 9:53 am
by PacoLM
Hi,

You will have to edit the /usr/bin/zmfilter.pl file and replace the lines (there are two of them):

MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60 );

with:

MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60, AuthUser='your@email.com', AuthPass='yourpass' );

Hope it helps,

PacoLM