SMS - notification
Vladimir Dvorak
dvorakv at vdsoft.org
Thu Sep 7 07:26:03 EDT 2006
Thank you Simon!
I wonder why Cyrus hasn`t it already implemented in stable tgz. I
prepare production server and won`t use some non-official patches, which
do not come from Cyrus team.
But thank you again, this will help me much.
Vladimir
Simon Matter píše v Čt 07. 09. 2006 v 10:35 +0200:
> > 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
> ==================================================
More information about the Info-cyrus
mailing list