Perl News/Mail Gateways

I haven't tested the mail2news gateway very much, and both are configured for Cornell's server, so you'll need to customize them for your site. However, they work for the most part.

If you make modifications that make these scripts smarter, more robust, or more powerful, please let me know and/or send me a copy of your modified script with a short description of what you did. Please send them to newsmgr@cornell.edu. Thanks!

The scripts are: news2mail.pl and mail2news.pl

For news2mail.pl, you'll want an entry in your newsfeeds file that looks something like this:

Gcornell-admin-web\
  :!*,your.news.group.name\
  :Tp:/inn/bin/news2mail.pl destination.address@foo.bar.baz.org %s

Don't forget to check the path to news2mail.pl.

For mail2news.pl, a sendmail alias like this should work:

misc-test: "|/inn/bin/mail2news.pl misc.test"

Please note that your mileage may vary. These scripts are small hacks, not production code.


Creation Date: May 1, 1996

Chris Manly