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?
Sending Email From Zoneminder
Re: Sending Email From Zoneminder
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
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...