Email

Forum for questions and support relating to the 1.26.x releases only.
Locked
hmjgriffon
Posts: 7
Joined: Thu Feb 06, 2014 8:48 pm

Email

Post by hmjgriffon »

Why is email so freaking hard to deal with in this software? So I finally got it working with postfix, it emails me an alarm. Anyone got a list of the variables you can use in the email config to tell it what to attach to the email? Also how do I make the email work from any network? zoneminder is on a vm on my laptop and when I am on my network at work it works fine, at home it cries about an FQDN, why does it matter if my computer has an fqdn, it's linux! There must be an easy way to make postfix just work.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Email

Post by PacoLM »

Hi,

One recommendation before complaining: read the forum. I believe that was yesterday when another user posted a step-by-step guide to setup postfix.

Use the search option!

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
hmjgriffon
Posts: 7
Joined: Thu Feb 06, 2014 8:48 pm

Re: Email

Post by hmjgriffon »

PacoLM wrote:Hi,

One recommendation before complaining: read the forum. I believe that was yesterday when another user posted a step-by-step guide to setup postfix.

Use the search option!

PacoLM

yes, I posted a link to set up postfix, but it does not cover this issue, I searched the forum and didn't find an answer so, my question stands, thanks.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Email

Post by PacoLM »

Hi,

Sorry!, so you were the user that posted how to set it up!, hahaha, I didn´t know it. Sorry again!
Check this out: http://www.zoneminder.com/wiki/index.ph ... ing_Events

I have configured my ZM server to send me the email with this EMAIL_SUBJECT (time, id of event and monitor):

Code: Select all

 %ET% - %EI% -> %MN%
The email body:

Code: Select all

Monitor  : %MN%
Length   : %EL%
Event Id : %EI%
Frames   : %EF% (%EFA%)
Scores   : t%EST% m%ESM% a%ESA%

%EI1% 
%EIM%
%EV% 
So it's attaching the first alarmed JPEG, the image with the highest score and the video.

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