Re: SMS - notification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hello List, Hello to all,
>
> my question is simple as written in $SUBJECT$. ;-) I found non-working
> sending notifications via SMS.
>
> Im using
>
> cyrus-imapd-2.3.7   The cyrus mail server, supporting POP3 and IMAP4
> protocols
>
> on FreeBSD 6.0 and my customers much more often cry: "why your services
> are not enriched with SMS notification feature ???" :-)

My RedHat/Fedora RPMs include an SMS notification patch which can be used
with Squirrelmail / AvelSieve. Of course you need some external tool to
actually send the SMS. See the README.notify_sms below and attached patch.

Regards,
Simon

README.notify_sms:
==================================================
This package contains a notify_sms patch. It enables you to implement
SMS notifications using sieve scripts.


The following changes to the cyrus-imapd config files are needed:

in /etc/cyrus.conf, enable notifyd like this:
notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp"
prefork=1

in /etc/imapd.conf, enable sieve notifier like this:
sievenotifier: sms
sendsms: /usr/bin/mysmsprog     [default: /usr/bin/sendsms]


The sendsms program is called with the following parameters:
[sendsms] -u <user> -p <priority> -o <options>

where <options> usually includes the destination number.


A sample /usr/bin/sendsms script for testing is shown below:
#!/bin/sh
{
  echo "args" "$*"
  cat
} >> /tmp/sendsms
==================================================

Attachment: cyrus-imapd-2.3.7-notify_sms.patch.gz
Description: GNU Zip compressed data

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux