Date: Tue, 20 Aug 1996 22:21:37 -0400 (EDT) From: Glen Foster <gfoster@gfoster.com> To: rif@ns.kconline.com Cc: freebsd-isp@freebsd.org Subject: Re: UUCP server configuration Message-ID: <199608210221.WAA00343@tbd.gfoster.com> In-Reply-To: <Pine.BSI.3.95.960819043232.3602A-100000@ns.kconline.com> (message from Jim Riffle on Mon, 19 Aug 1996 04:38:17 -0500 (EST))
next in thread | previous in thread | raw e-mail | index | archive | help
The best general reference for setting up uucp I have found is the O'Reilly book "Managing uucp and Usenet" by Tim O'Reilly and Grace Todino ISBN: 0-937175-93-5. I understand that the book has just been or is about to be released in a new edition so you might want to check with the publisher before you buy it. The edition I have does not cover the Taylor uucp included in FreeBSD but the background information on how uucp works is invaluable. The included Taylor uucp "info" docs might be enough on their own to get you up and running, try "info uucp" at a shell prompt. It is a mistake to refer to "server and client" when talking about uucp. It is really a peer-to-peer protocol with either party to a conversation being able to initiate it. If you don't want your machine to call out and only accept incoming calls, you simply don't give it any legal times-of-day to dial. Setting up uucp-accessable mail drops as you have described below is becoming very popular. Here is how I have done it. 0. select appropriate nodenames (up to eight characters) for the machine dialing in and the machine being dialed. 1. establish a login for the client, shell needs to be /path/to/uucico, userid has to be the same as user uucp (66 on standard FreeBSD systems) 2. set up the uucp system files to authenticate the system dialing in but do not give any legal time to call them ...at this point the client should be able to dial in and send mail to anyone on the dialed machine but cannot get mail because the standard sendmail.cf file included with FreeBSD knows nothing about UUCP. 3. establish a DNS domain for the client and MX them to your uucp host 4. make sure the domain name in #3 is in the sendmail "w" class 5. configure sendmail.cf with the uucpdomain and mailertable feature sets 6. set up a mailertable that points the domain in #3 to the appropriate uucp mailer (usually uucp-dom) 7. set up a uucpdomain mapping that rewrites the uucp nodename to the DNS domain and vice versa 8. (doing 7 should preclude you from having to do this but I have never gotten it to work) put a custom rule in S51 in sendmail.cf that does something like this: R$+<@NODENAME.uucp>$* $@$1<@NODE.DOMAIN.DOM>$2 (replace the CAPS with names appropriate to your case). Write me back if I can help you more with this. Glen Foster <gfoster@gfoster.com> >Date: Mon, 19 Aug 1996 04:38:17 -0500 (EST) >From: Jim Riffle <rif@ns.kconline.com> > >Could someone please point me towards some documentation on how to set up >a UUCP server? What I am tring to do is set it up to where my system will >accept mail for a domain via uucp. I was able to find plenty of docs on >how to setup uucp as a client, but I am having real troubles finding docs >on a server for a mail and possiably news domain. > >An example would be, say a local BBS wanted to have a domain where they >could get mail/news. The mail would come to my server where they would >call and pick it up, and post any mail they had outgoing. > >Thanks, >Jim Riffle
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608210221.WAA00343>