[SOLVED] Bad recipient with filter email

Forum for questions and support relating to the 1.28.x releases only.
Locked
sime
Posts: 26
Joined: Thu Jan 01, 2015 8:45 pm

[SOLVED] Bad recipient with filter email

Post by sime »

Hi,
I don't know why but zoneminder doesn't use configured recipien for emails??

Code: Select all

root@debian:/home/sime# mysql -D zm -u****** -p******* -s -N -e "SELECT Value FROM Config WHERE ID in (105,110) ;"
sime@blaireau.com
sime@blaireau.com

Code: Select all

root@debian:/home/sime# tail /var/log/mail.log
Mar 20 11:01:54 Debian postfix/qmgr[32369]: 69D291C4348: from=<root@blaireau.com>, size=1867, nrcpt=1 (queue active)
Mar 20 11:01:54 Debian postfix/smtp[32473]: 69D291C4348: to=<root@blaireau.com>, orig_to=<root>, relay=relais.videotron.ca[24.201.245.36]:25, delay=996, delays=995/0.01/0.06/0.13, dsn=2.5.0, status=sent (250 2.5.0 Ok, envelope id 0NLI009V5N3670C0@VL-VM-MR003.ip.videotron.ca)
Mar 20 11:01:54 Debian postfix/qmgr[32369]: 69D291C4348: removed
Any clues?
Last edited by sime on Tue Mar 24, 2015 1:34 pm, edited 2 times in total.
sime
Posts: 26
Joined: Thu Jan 01, 2015 8:45 pm

Re: Bad recipient with filter email (resolved)

Post by sime »

i was fooled by cron sending emails...

in fact, no email were sent at all by ZM because of ZM_EMAIL_BODY was empty

it should have sent an email empty with subject a least to help debug


Simon
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Bad recipient with filter email (resolved)

Post by asker »

sime wrote:i was fooled by cron sending emails...

in fact, no email were sent at all by ZM because of ZM_EMAIL_BODY was empty

it should have sent an email empty with subject a least to help debug


Simon
Out of curiosity, does your email work after putting in ZM_EMAIL_BODY? I use ssmtp (not postfix/sendmail) and there is no mail daemon running, so I had to use another strategy to get ssmtp working
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
sime
Posts: 26
Joined: Thu Jan 01, 2015 8:45 pm

Re: Bad recipient with filter email (RESOLVED)

Post by sime »

yes it works now... I have successfully received email with postifix (localhost) and using my ISP smtp..

it is cool having the alarm frame attache to the email using the %EI1% token
Locked