|[he.fi:/] · archive · bchunk · cricket utils · slookup · splitmastream · clusse · htpp · mailgw · photos|
mailgw - a bidirectional email/news <> packet bbs mail gatewaymailgw is a bidirectional email/news to packet BBS mail gateway package. It was designed to connect xfbb(d) with InterNetNews (inn) and one of several SMTP mta's, including but not restricted to zmailer, sendmail and smail.
It consists of three C programs: nntp_rcv (an inn feed channel), smtp_rcv (a sendmail-style external transport) and pbbs_rcv (reads fbb's export file, supposed to be run from crond), plus a little bit of Perl for running innxmit and cleaning up the temporary nntp article spool.
I use inn for the news server, zmailer for the smtp MTA (mail transport agent), and xfbbd. I use zmailer, because i can configure it (really!), and it's pretty much nicer than sendmail in design, and has less security bugs... but you should be able to configure smail, sendmail or anything to do the trick (as long as sendmail-style message submission and external transports are supported).
The mail gateway has address translation rules with wildcards, so that you can make it completely bidirectional and automatic. It can be painful to operate such a gateway, though, depending on your local regulations, your users and what you're trying to do with it...
The address translations are made in four configuration files: email-src.map (email source address => packet source address), email-dst.map (email destination => packet destination), pbbs-src.map (packet source => email source) and pbbs-dst.map (packet destination => email destination). The config files are like the rewrite file in xNOS, an example of email-dst.map would be:
The above would translate email to email@example.com to OH7LZB@OH7RBA.FIN.EU. Similar translations are done for source and destination addresses. If matching translations for both addresses cannot be found, the message is not gatewayed. Currently, the code cannot send bounces, which limits the usefulness of the application in wide-spread use.
More/better instructios in setting up mailgw to run with Sendmail 8.8. ! Also includes general instructions about mailgw configuring. Must read!http://www.tranquilandia.demon.co.uk/linux/lnxforward/
"To allow PBBS mail and bulletin forwarding under Linux with minimal system overhead a suite of utilities has been developed by Steve Fraser (VK5ASF) and is named lnxforward. The name is derived from the PBBS forwarding mechanism developed by F6FBB and implemented in his fine full service BBS program which runs under DOS, Windows and Linux. lnxforward will run in conjunction with Heikki's mailgw package to allow PBBS<->NNTP and PBBS<->SMTP gatewaying."
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Heikki Hannikainen <hessu at hes.iki.fi>
Last modified: Friday, 16-Mar-2001 17:02:54 EET