🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.misc
1 messages
1 total messages Started by Bob Manners Mon, 27 Jan 1997 00:00
Problems with inn and suck config, also diald and smail :)
#102
Author: Bob Manners
Date: Mon, 27 Jan 1997 00:00
134 lines
6171 bytes

---------------------------------------------------------------
This is long, and related to INN, SUCK, SMAIL and DIALD ....
Thanks for your persistence in reading it all :)
I'd appreciate replies by email if poss ... cheers.
---------------------------------------------------------------

I've been spending the weekend trying to upgrade my Linux box to
kernel 2.0.0 and ELF. That much seems to have been a success at least
:)

The other half of the mission was to get news and mail working nicely
so I can read and post both mail and news offline. I use pppd and
diald-0.15 for access to the 'net. To this end, I got
hold of: 

	fetchpop1.9.tar.gz 	- to grab my mail, and:

	inn-1.4-linux-0.1.tar.gz/inn1.4sec-linux-bin.tar.gz 
with	suck-3.3.2.tar.gz 	-to take care of news.


First the Mail Situation
------------------------

My system (originally some sort of ancient Slackware distrib, much
hacked) came with smail installed. This I've (I think) been able to
configure to work reasonably well as a MDA. I think I've managed to
convince smail to put the hostname of my regular system (rather than
the dynamic name of my ppp'd machine. I can grab mail from my other
Linux box using pop3 just fine. The problem here comes in sending
mail. 

What I'd ideally like is for mail to be spooled until I turn on the
modem, or unblock diald, allowing it to be delivered to the outside
world. I'd sooner not have the modem going on and off hook each time I
send a mail item.

What actually happens is that the outgoing mail gets passed to smail,
which works out the routing and opens a TCP/IP connection. This alerts
diald and opens the line. The problem is that it takes some time to
get a connection around here. In that time, I think smail gives up and
fails to deliver the item, leaving it in the spool. The spooled item
is then locked, so runq doesn't help me much. Of course with a mail
item in spool, the line is brought up every five minutes or so
thereafter, the item continually failing. 

If I force the line up by hand, or by starting a telnet session, the
mail is usally successfully delivered. How can I fix this problem?

Secondly, the smail timeout seems a little short for my liking. If the
line remains down, items are returned to me as undeliverable very
rapidly. How can I avoid this fate?

Now for News
------------

News seems a little more vexed. I have local newsreaders: trn, tin and
gnus (I favour gnus) all of which are set up for NNTP use. The plan is
to use suck to pull down news articles which I can then read
offline. inn is to be used as a news server on my machine.

I've been unable to find any decent docs for either inn or suck (apart
from the man pages) so my inn setup, in particular, may be a little
broken (details on request). The fundamental problem is this: I can
start up suck using /usr/lib/suck/get.news.innxmit and it seems to
correctly open the line, connect to the university NNTP server and
pull down articles into /usr/lib/suck/Msg. It all seems to go wrong
when inn is brought into the frame. innxmit is presumably called to
stuff the articles in the correct place in /usr/spool/news, but this
seems to fail spectacularly.

As a test case I set the groups alt.sys.pdp11 and vmsnet.pdp-11 in
/usr/lib/suck/sucknewsrc and also in
/usr/lib/news/active. get.news.innxmit grabbed 125 or so articles and
called the appropriate (I hope) part of inn to do the rest of the
processing. inn complained a great deal about being unable to make
symlinks in /usr/spool/news. The result was that the directories:

	/usr/spool/news/alt/sys/pdp11
and	/usr/spool/news/vmsnet/pdp-11

we created. Each only contained 9 articles -- the articles in each
group being the same! What is wrong here?

I'm a little confused as to whether I should set up inn to provide a
feed back to the university NNTP host. Is this necessary, or does suck
do it all for me? 

I'd appreciate a set of inn config files by email from someone who has
inn working with suck!

As for newsreaders, tin seems to work OK, as does trn. I'm sure I need
(or should) have a cron job for trn to build the threads database and
so on. Does anyone have any idea about this.

gnus is more problemmatic -- it seems to exercise features of the inn
nntp server which are not implemented. I'm unable to select a group
to read: "GROUP not implemented. Try help." My emacs lisp isn't too
good -- anyone know of a fix for this?

Of course, I've not tried posting yet - that could be a whole new can
of worms :)

Finally diald
-------------

How do I stop diald from dropping the line so rapidly? I'd like it to
stay up for at least 30 seconds after the last TCP/IP access ...


I'm sorry if these are all FAQ, but I haven't been able to find much
to help me here so far. The usually excellent Linux howtos are a
little weak on how to set up a news server.

Cheers
Bob
--

----------------------------------------------------------------------------
Bob Manners                                     Osney Laboratory
rjm@swift.eng.ox.ac.uk                          Dept of Engineering Science
                                                University of Oxford
                                                01865 288736
Computer Museum: http://swift.eng.ox.ac.uk/rjm/museum.html
Also:            http://swift.eng.ox.ac.uk

       "The revolution will not be televised"
----------------------------------------------------------------------------



Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads