Sending Email From Zoneminder

Forum for questions and support relating to the 1.24.x releases only.
Locked
vader88
Posts: 5
Joined: Fri Apr 22, 2011 7:07 pm

Sending Email From Zoneminder

Post 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?
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Sending Email From Zoneminder

Post 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

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Locked