[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Needed: new cellcom SMS script
On Tue, May 23, 2000, Vadim Vygonets wrote about "Re: Needed: new cellcom SMS script":
> I think it would be better to use the mailer daemon's own
> queueing system for this purpose. If it's possible. I'll see
> what I can do about it.
Hmm... I wonder if it is possible to tell sendmail of a new mail transport
mechanism, on the same level as SMTP, that uses my script or something similar
to send messages via SMS. For example, we can have all messages to addresses
like 052123456@il.sms or 97252123456@sms directed to this transport mechanism.
Then sendmail's queueing system will take a message off the queue, and attempt
to send it. Just like in the case of the normal SMTP, if the sending of the
message failed, it will requeue the message for later.
Does anybody know how to pull this kind of thing off?
Note that I'm NOT talking about having some sort of alias on my machine,
say sms@harel.org.il, that gateways messages to the SMS sending web pages:
this is trivial to do with my script. The queueing system is a much more
important feature and a completely different feat to implement.
P.S. The mail system will have to use the sender's (a local user, of course)
SMS sending username/password for sending these SMSs. These can be kept on
a local file, like ~/.sms-accounts. If the file is non-existant, or missing
an account needed for a specific SMS provider, or the provider refuses the
user's account, then a MAILER-DAEMON message will be returned to the user
saying what the error was.
This idea is getting more and more interesting by the moment :)
I wonder if nobody ever did such a thing - after all, SMS is not an Israeli-
specific thing!
--
Nadav Har'El | Thursday, May 25 2000, 21 Iyyar 5760
nyh@math.technion.ac.il |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Help Wanted: Telepath. You know where to
http://nadav.harel.org.il |apply.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il