Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!daffy!uwvax!uwm.edu!fnnews.fnal.gov!usenet.eel.ufl.edu!gatech!howland.reston.ans.net!news.sprintlink.net!cam.news.pipex.net!pipex!edi.news.pipex.net!pipex!oleane!jussieu.fr!univ-lyon1.fr!ensta!itesec!keltia.frmug.fr.net!not-for-mail From: roberto@keltia.frmug.fr.net (Ollivier Robert) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Sendmail and User Database (UDB) Date: 29 Jun 1995 22:59:28 +0200 Organization: A Happy FreeBSD 2.1-current Usenet Site Lines: 35 Message-ID: <3sv47g$13v@keltia.frmug.fr.net> References: <3sr5pa$jo6@gandalf.pic.net> 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 <3sr5pa$jo6@gandalf.pic.net>, <mglaris@pic.net> wrote: > I have recompiled sendmail (v 8.6.9) under FreeBSD v2.0. The flags Nice. You can now get 8.6.12 and recompile it :-) > for activating the user database option were set in conf.h. In my > sendmail.cf file, i have set the OU option to: > > OU /etc/spwd.db Well, the option is not well named. It is indeed a database for user information but it is *not* the same as the password database... You'll have to create a userdb file and "makemap" it. You don't need to modify the .cf for that, just the .mc : ------------------------------------------------------------ FEATURE(notsticky) define(`confUSERDB_SPEC', `/etc/userdb.db')dnl ------------------------------------------------------------ Then, you create the file userdb : ------------------------------------------------------------ blaireau:mailname User.Blaireau User.Blaireau:maildrop blaireau roberto:mailname Ollivier.Robert Ollivier.Robert:maildrop roberto ------------------------------------------------------------ Then you run the following command : makemap btree /etc/userdb.db </etc/userdb -- Ollivier ROBERT -=- FreeBSD: The daemon is FREE! -=- roberto@freebsd.org -=-=-=-=-=-=-=-=-=-=- FreeBSD 2.x FAQ maintainer -=-=-=-=-=-=-=-=-=-=-=-=-