Message-ID: <m0rnOs7-0005EIC@lisse.na> Date: Sat, 11 Mar 1995 08:58:04 -0200 From: Dr Eberhard W Lisse <mailto:el@LISSE.NA> Subject: Re: UUCP neighbours router entry doesn't work To: Multiple recipients of list DEVEL-L
In message <mailto:7702FB2AC2@nambu.uem.mz>"Rob Poland" writes Rob>>mailto:test@test.nl ... temporary failure: router uuname: read error in output
>>from '/usr/bin/uuname'
This is a known error of smail 3.1.28.
There is a patch for it somewhere floating around which I never applied as I was too lazy to compile the sources. The easiest way is to not use that driver at all.
If you wish I can send you a perl script which adds the new user to the password file, adds it into the /usr/local/con/uucp/sys (Taylor config) file and adds a map entry to a raw paths file which then is run through pathalias.
It checks whether you use HDB or Taylor and is supposed to do it to the /usr/lib/uucp/Systems file but I don't use the HDB config so I have never tested it.
The requirements are:
Perl 4.036 or 5.000 (or later), comes with Slackware.
/usr/lib/smail, NOT /var/lib/smail, this is not well done in the latest Slackware distribution, it is not documented and after my upgrade it took me a bit to figure out what the heck was going on :-)-O
I have moved all files in /var/lib/smail to /usr/lib/smail and ln -fs /usr/lib/smail /var/lib/smail.
A file paths.raw must reside in /usr/lib/smail. I usually ln one of the map/*.path files to it which is read by the default config.
You must have the paths: entry from the generic routers file. (I have modefied it to use a method = table instead of transprot = uux, so I can use batched, gzipped bsmtp).
The script creates a Makefile and executes it to make the paths file current.
Sounds complicated? Once set up it is very easy to add a new uupc system and as other systems might need to know about routing it is set up to email the new map to an email address. We use this mainly for accounting/billing purposes, but you can also set up smail to pipe it through another perl script to add it to the paths.raw file on the other system and run the make again.
I use procmail and add it to a file in my home directory. The perl script is trivial to change.
As perl runs on MS-DOS It should not be difficult to write something that adds the map entry to the routing tables of uuPC.
I find the sender's address significant. The University of Maputo uses a significant uucp/uuPC net with the gateway to South Africa being a uuPC system. Now there is at least one linux system running there with all the trimmings.
They could reduce their phone bill in half by using linux with its batching and gzipping. Namibia connects to the same system from such a linux box. Even further reduction was possible if the other end was running taylor too.
Exciting...
el
-- Dr. Eberhard W. Lisse \ / Swakopmund State Hospital mailto:<el@lisse.NA> * | Resident Medical Officer Private Bag 5004 \ / 641 61503 (pager) 641 5550 (home) Swakopmund, Namibia ;____/ Postmaster Namibia <mailto:postmaster@lisse.NA>