
Hmm...  How do you get news out from TIN to LBBS?  Well I run Cnews
on the setup, but it should work equally well for INN (with a little
of your own hacking).

Setup Cnews completely for your site, first of all.  LBBS can only
act as transient BBS (store and forward) without Cnews.  News article
will not be in a state where they can be actively read off the system.

Getting items into Cnews requires now (little) work, one thing to watch out
for is that LBBS has three ways of getting articles in there, it will
try and get access to /var/spool/news/in.coming (or whatever you've
setup) itself.  If it can not get access itself, then the program
/usr/lbbs/bin/spnews is getgid news, so that if your in.coming dir is
mode 770 or 775 and owned news.news this will gain access to it.
The third *slow* way is directly into /usr/bin/rnews, this is the
difference of LBBS taking 1 second or 31 seconds (approx) per article.


There are two setups to script can handle, support for BBS -> IP -> BBS
gatewaying (with only a loss of R: lines) which obviously allows for
IP -> BBS -> IP -> BBS -> ... gatewaying.

Edit the news.pl file, the two fields, $Whoami and $DefaultAt. 

You need to build/update now and again the HA file which provides HA
lookup to the perl script.  (See the mail_from_sendmail section, as
the news setup uses the same files!)

It works on gating anything which has the BBS-Newsgroups: field setup,
just like LBBS does it (according to the spec put I out about...) this is
if the BBS-Gateway: line is not yourself! (as set from $Whoami)

Else it works out checks the Newsgroups: line with the ./etc/Gateway file.
Also if the Distributions: line exists it will allow the user to specify
their own BBS distribution, set Distribtions: header to "bbs.gbr" to send
out as "@ GBR".  There is nothing stopping multiple distributions like
"ampr,bbs.gbr" etc...  If no Distributions: line exists then the $DefaultAt
will be assigned.  If you don't define $DefaultAt (like comment it out) then
the item will not be gatewayed unless if HAS some "bbs.xxx" in it.

If the user is clever enough to add their own BBS-Newsgroups: it will
override all usenet to BBS convertion to work out the TO and AT fields,
the user must also supply the FROM (correctly, there is a possible securetty
hole here).



At this moment in time the MGateway is really not used as it should be,
I hope to have this fixed before you see this distribution.




This setup is currently a stop gap until bbs-spool/bbs are implemented.

Unfortunatly I hope the current version is stable enough not to have any
problem with most implementations.  Up until now the setup has had the ability
to be deadly to the BBS network if misconfigured and left unattended for a
while. ]:-)

Good Luck!

Darryl G7LED
