issues with email filter
Posted: Tue Nov 08, 2016 12:48 pm
Hello,
this is my first post
I installed Zoneminder 1.3 and it is working fine.
But i have somme issuses with filtering and sending emails on events.
I did the email setup as discribed in the Wiki and created a filter to send emails on alarm:
- Date/Time greater than or equal to -2 Minutes
- Sort by <Date/Time> <Desc>
- Limit to the <1> results only
- Email details of all matches <is selected>
The sript zmfilter.pl runs every 5 minutes.
And here ist the problem:
The filter as above selects allways the right event (the newest one, even it was sended by email or not) but i receive more than one email with different events.
That means the first email ist the correct one (with the selected event), but after the next run of zmfilter.pl (every 5 Minutes) i receive a new email which includes an older event.
It seems, that the script zmfilter.pl selects allways the newest event which has not been sended by email.
Any help to this?
Thanks in advance
this is my first post
I installed Zoneminder 1.3 and it is working fine.
But i have somme issuses with filtering and sending emails on events.
I did the email setup as discribed in the Wiki and created a filter to send emails on alarm:
- Date/Time greater than or equal to -2 Minutes
- Sort by <Date/Time> <Desc>
- Limit to the <1> results only
- Email details of all matches <is selected>
The sript zmfilter.pl runs every 5 minutes.
And here ist the problem:
The filter as above selects allways the right event (the newest one, even it was sended by email or not) but i receive more than one email with different events.
That means the first email ist the correct one (with the selected event), but after the next run of zmfilter.pl (every 5 Minutes) i receive a new email which includes an older event.
It seems, that the script zmfilter.pl selects allways the newest event which has not been sended by email.
Any help to this?
Thanks in advance