From owner-freebsd-questions Wed Nov 6 13:50:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0243037B401 for ; Wed, 6 Nov 2002 13:50:33 -0800 (PST) Received: from mail.pinboard.com (mail.pinboard.com [194.209.195.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A606143E88 for ; Wed, 6 Nov 2002 13:50:31 -0800 (PST) (envelope-from kurt@pinboard.com) Received: (from uucp@localhost) by mail.pinboard.com (8.11.6/8.9.3/20011223-00-KK) with UUCP id gA6LoTI61679; Wed, 6 Nov 2002 22:50:29 +0100 (CET) (envelope-from kurt@pinboard.com (kurt@pinboard.com)) (client-IP ) Received: (from kurt@localhost) by badger.pbdhome.pinboard.com (8.9.3/8.9.3/20011223-00-KK) id WAA63380; Wed, 6 Nov 2002 22:31:58 +0100 (CET) (envelope-from kurt (kurt)) (client-IP ) Date: Wed, 6 Nov 2002 22:31:57 +0100 From: pbdlists@pinboard.com To: freebsd-questions@FreeBSD.ORG Cc: Doron Shmaryahu Subject: Re: UUCP Mail Message-ID: <20021106223157.A63360@pinboard.com> Mail-Followup-To: pbdlists@pinboard.com, freebsd-questions@FreeBSD.ORG, Doron Shmaryahu References: <00c801c285af$038b5870$0801a8c0@dman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00c801c285af$038b5870$0801a8c0@dman>; from doronh@crc.co.za on Wed, Nov 06, 2002 at 06:10:23PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 06, 2002 at 06:10:23PM +0200, Doron Shmaryahu wrote: > > I have a machine with a permanent connection, that I am installing for a > client. Their provider lets them collect mail via UUCP. Can anyone explain > in simple terms how to use uucp. I have the node name, username and > password. I just don't know how to use it. The only examples I can find are > regarding uucp and dial up. Reading your last sentence, I guess you will be doing UUCP over TCP/IP. Basically, the setup is the same as for dialup, just instead of connecting through a modem, you connect via TCP/IP. I'll try to give some samples based on the files I use myself (don't shoot me if there are mistakes in my samples, I'm trying to put it together from much more complicated files without reading the whole UUCP book again): - make sure all the files in /etc/uucp/ are owned by the user uucp and group uucp!!! - for uucp over TCP/IP you don't need the dial file - if you only call out but will not be called by others, you don't need the passwd file - /etc/uucp/call: ---------------------------------------------------------------------- # system-name login-name password provider Uyou yourpwd ---------------------------------------------------------------------- -> provider is the uucp nodename (peername) of your provider -> Uyou is the uucp-login name you are assigned -> yourpwd is the password for Uyou - /etc/uucp/config: ---------------------------------------------------------------------- uuname you ---------------------------------------------------------------------- -> you is the uucp nodename (peername) you were assigned - /etc/uucp/port: ---------------------------------------------------------------------- port TCP type tcp ---------------------------------------------------------------------- -> instead of specifying modems and serial ports here, you need to set these to TCP - /etc/uucp/sys: ---------------------------------------------------------------------- time ANY 1 port TCP chat ogin: \L ssword: \P call-login * call-password * protocol-parameter g window 7 protocol-parameter g packet-size 1024 system provider address your.providers.uucp.host ---------------------------------------------------------------------- -> this assumes that you use the g protocol with a window size of 7 and a packet size of 1k -> \L and \P will be taken from your /usr/uucp/call file -> the value for the system keyword (provider) must correspond to the first entry on a line in your /etc/uucp/call file -> the address is the fully qualified hostname or IP address of your providers uucp host The sample files in /etc/uucp/ are a good starting poing. You might also want to have a good look at the uucp info pages (use the command 'info uucp'). And if you really want to learn the details, I can recommend O'Reilly's book 'Using & Managing uucp' (ISBN: 1-56592-153-4), but it might be hard to find a copy, since it has been out of print for quite some time. Cheers, Kurt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message