Search found 12 matches

by sognenovski
Sun Apr 13, 2008 8:41 pm
Forum: User Contributions
Topic: zmfilter.pl for SMS Server Tools
Replies: 8
Views: 11488

You need smstools for the above to work.
Don’t use Ubunto but, if was going to have a guess…gnokii is set as the preferred daemon for sendsms. Take a look at Ubunto apt-get configuration.

How did you install smstools?
by sognenovski
Sat Mar 29, 2008 11:32 pm
Forum: User Contributions
Topic: zmfilter.pl for SMS Server Tools
Replies: 8
Views: 11488

oh, almost forgot,

set permissions on smstools directory
# chmod 777 /var/spool/sms/outgoing
# chown root:shared /var/spool/sms/outgoing

thx
by sognenovski
Sat Mar 29, 2008 11:13 pm
Forum: ZoneMinder Previous Versions
Topic: email 2 sms
Replies: 15
Views: 13836

corel, thanks for the nudge. My procmail way is now history.

much cleaner way.
http://www.zoneminder.com/forums/viewto ... 1188#41188

Best
Steve
by sognenovski
Sat Mar 29, 2008 10:57 pm
Forum: User Contributions
Topic: zmfilter.pl for SMS Server Tools
Replies: 8
Views: 11488

zmfilter.pl for SMS Server Tools

Hi All I’ve made a code change in zmfilter.pl to output an event to a temp file. The temp file is place in the spooling directory for smstools to process. I suggest backing up zmfilter.pl first before you replace it with the link below. # tail –f /var/log/messages zma_m1[6638]: INF [kitchen: 128 ...
by sognenovski
Fri Mar 28, 2008 2:00 am
Forum: ZoneMinder Previous Versions
Topic: email 2 sms
Replies: 15
Views: 13836

and .procmailrc setting # ---- Defaults ------------------ SHELL=/bin/bash DEFAULT=$HOME/Maildir/ FORMAIL=/usr/bin/formail MAILDIR=$HOME/Maildir/ PMDIR=$HOME SENDMAIL=/usr/sbin/sendmail # ---- some logging------------------ VERBOSE=no LOGFILE=$HOME/procmail.log # ---- delete duplicates ------- :0 Wh ...
by sognenovski
Fri Mar 28, 2008 1:51 am
Forum: ZoneMinder Previous Versions
Topic: email 2 sms
Replies: 15
Views: 13836

email2sms script #!/bin/sh # Smsd can send eMails via SMS. You simply need to store the eMail as text # file in the outgoing queue directory with a unique filename. # The eMail must include the phone number in the Subject: field, for example: # To: sms@localhost Subject: 491721234567 # This simple ...
by sognenovski
Fri Mar 28, 2008 1:45 am
Forum: ZoneMinder Previous Versions
Topic: email 2 sms
Replies: 15
Views: 13836

Cordel, you are absolutely right. I started with the perl script in the wiki but never got around finishing it because of the time constrains, so I went down the procmail path. It’s something I should revisit and complete - hopefully soon. (my perl is dusty at best) ZoneMinder zmfilter.pl mod to se ...
by sognenovski
Fri Mar 28, 2008 12:19 am
Forum: ZoneMinder Previous Versions
Topic: email 2 sms
Replies: 15
Views: 13836

Or, I could post working procmail scripts here, with Moderators approval of course.
by sognenovski
Thu Mar 27, 2008 11:27 pm
Forum: ZoneMinder Previous Versions
Topic: email 2 sms
Replies: 15
Views: 13836

Ubuntu is (I guess) possible or any other distro that uses procmail. Haven’t used deb as yet. From memory 1. I made a code change in zmfilter.pl ZM_MESSAGE_ADDRESS for the email to be sent as plain text only. 2. procmail rule to pipe the email to striphtml.pl script in smstools. The perl script str ...
by sognenovski
Wed Mar 26, 2008 11:33 am
Forum: ZoneMinder Previous Versions
Topic: email 2 sms
Replies: 15
Views: 13836

[quote]does someone has exeriences with this? [/quote] Perhaps, only on SME Server. take a look here http://www.socomms.com/contrib/howto/ and here http://forums.contribs.org/index.php?topic=38708.msg175683#msg175683 http://forums.contribs.org/index.php?topic=35600.msg175638#msg175638 and this http ...
by sognenovski
Mon Sep 03, 2007 9:20 am
Forum: ZoneMinder Previous Versions
Topic: zmfilter - when it is actually launched?
Replies: 24
Views: 18884

Hi All I realize this thread is a bit old now, but I figure it might save someone googling all day (like me :|). Every version of ZoneMinder I used/tried had this exact problem. Today I was thinking, maybe “distro”…maybe “perl”…."BUGGER! - server thinks it’s on a permeant holiday USA/Canada without m ...