Date: Tue, 07 Sep 1999 19:58:52 +0100 From: Adam Nealis <adamn@csl.com> To: "Christopher T. Griffiths" <cgriffiths@quansoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail question Message-ID: <37D5606C.8AECC037@csl.com> References: <Pine.BSF.4.10.9909071358590.3395-100000@defiant.quansoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Christopher T. Griffiths" wrote: > > Hi, > > Does anyone know of a way to get newaliases to rebuild a btree formatted > alias file. > > I am using the userdb files to do name re-writing. I would like to be able > to rebuild the userdb along with my regular aliases db's. Since the userdb > uses the btree format, I usually have to rebuild it with > > makemap btree /etc/mail/userdb < /etc/mail/userdb > > Here is what my current aliases line looks like. > O AliasFile=/etc/mail/aliases,/etc/mail/mailman > > Any help would be appreciated since I guess I am just being lazy :) Perhaps - I happened to have the Bat Book (second Ed) on my desk, and had a look for something similar. In section 33.8.1 a reference is made to btree. You have to have compiled sendmail with NEWDB defined for this to be available. Doing a grep NEWDB /usr/src/usr.sbin/sendmail/Makefile on my 3.2-STABLE gave DBMDEF= -DNEWDB so it's there by default. But you should really do something like sendmail -bt -d0.1</dev/null and look for Compiled with: ... NEWDB ... You'll also need to read about the K config command (sect. 33.3.4). Not a complete answer, but I don't have a complete answer 8(. Cheers, Adam. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37D5606C.8AECC037>