[COLUG] SMS txt Messaging
David D. Lucas
ddlucas at lse.com
Tue Feb 24 00:21:14 EST 2004
I have had some issues with SprintPCS and SPAM. They disabled my email
gateway when I requested they filter spam out. I complained that they
removed me completely from receiving SMTP, but they don't get it.
So for paging from my Linux system, I wrote a quick and dirty program to
page me and email out the page to an email address if something goes
wrong.
The zip file contains two files, a Java based executable (which requires
a Java Runtime Environment (JRE) ) and a config file to tell it where to
find the JRE and the name of the MAIN Java class to execute.
You are welcome to use it at your own risk. Donations are welcome but
not necessary. You can find it at
http://www.lse.com/~ddlucas/pager/pageSprintPCS.zip .
I have mine setup to take a mail message via postfix in an alias file.
When a mail message comes to that email address, it pipes the data
through this program and sends it to the correct phone number. Here is
a snippet from my alias file of how I use it:
mypager: "|/etc/page/pageSprintPCS -to 6146684020 -from 7409646248
-mailTo me at isp1.net,me at work.com >> /var/log/page.log"
If you have further questions let me know and I will be glad to help.
Since it was written in Java originally, I would be happy to provide
other platforms if there is an interest.
BTW, if SprintPCS changes their URLs for posting via Web, it renders the
program useless. However, if it is just a URL change, you can specify
it, otherwise, it is more complex a change. Also, this program tries to
filter out email headers to minimize the message size. It is limited to
160 characters.
Best Wishes,
Dave
--
+------------------------------------------------------------+
| David Lucas mailto: ddlucas @ lse.com |
| Lucas Software Engineering, Inc. (740) 964-6248 Voice |
| Unix,Java,C++,CORBA,XML,EJB (614) 668-4020 Mobile |
| Middleware,Frameworks (888) 866-4728 Fax/Msg |
+------------------------------------------------------------+
| GPS Location: 40.0150 deg Lat, -82.6378 deg Long |
| IMHC: "Jesus Christ is the way, the truth, and the life." |
| IMHC: "I know where I am; I know where I'm going." <>< |
+------------------------------------------------------------+
Notes: PGP Key Block=http://www.lse.com/~ddlucas/pgpblock.txt
IMHO="in my humble opinion" IMHC="in my humble conviction"
All trademarks above are those of their respective owners.
More information about the colug
mailing list