sms2irc

Summary:

A perl script that will pass the "From" and the first line of the body of an email/sms message to a specified IRC channel.

Files:

Install Instructions:

  1. Put your copy of sms2irc.pl somewhere appropriate: /usr/local/bin
  2. Make sure the path to perl on the first line is correct for your system.
  3. You will also need these two perl modules. They also may already be installed on system. If not, try:
      # perl -MCPAN -e shell
      cpan> install Net::IRC
      cpan> install Mail::Internet
      cpan> quit
  4. Add the one of the following to your /etc/aliases or equivilent:
    test: "| /usr/local/bin/sms2irc.pl example.com 6667 \\#test"
    or
    test: "| /usr/local/bin/sms2irc.pl" with the server, port, and channel hard coded in the script.

Operational Instructions:

Example:

Changes:

Known Bugs:

Author:

Philip Shuman
philip at shuman dot org
http://www.shuman.org