*BSD News Article 49706


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!univ-lyon1.fr!ensta!itesec!frmug.fr.net!renux.frmug.fr.net!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help with UUCP and sendmail.cf
Date: 23 Aug 1995 21:48:43 +0200
Organization: A Happy FreeBSD 2.1-current Usenet Site
Lines: 32
Message-ID: <41g0mr$1n4@keltia.frmug.fr.net>
References: <4183ea$bjk@oz.plymouth.edu>
Reply-To: roberto@keltia.freenix.fr (Ollivier Robert)
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <4183ea$bjk@oz.plymouth.edu>,
Eric T. Duda <e_duda@oz.plymouth.edu> wrote:
> my hostname: prhs.plymouth.edu
> 
> All mail that is addressed to some_one@bbs.prhs.plymouth.edu should be
> uucped to /usr/spool/uucp

The   best way by  far to   redirect mail  to a   UUCP site is   to use the
mailertable feature of sendmail. 

In the whatever.mc put this :
------------------------------------------------------------
FEATURE(mailertable, hash /etc/mailertable.db)
------------------------------------------------------------

m4 whatever.mc >/etc/sendmail.cf

Is /etc/mailertable put this :
------------------------------------------------------------
bbs.prhs.plymouth.edu           uucp-dom:bbs
------------------------------------------------------------

makemap hash /etc/mailertable </etc/mailertable

"bbs" should be defined in /etc/uucp/sys (The Taylor configuration file) of
course.  I'll try  to  put a sendmail   tutorial in september with  several
configuration examples. 

[ Cc: to Eric ]
-- 
Ollivier ROBERT  -=- FreeBSD: The daemon is FREE! -=-  roberto@freebsd.org
-=-=-=-=-=-=-=-=-=-=- FreeBSD 2.x FAQ maintainer -=-=-=-=-=-=-=-=-=-=-=-=-