From owner-freebsd-isp Fri May 15 22:20:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02576 for freebsd-isp-outgoing; Fri, 15 May 1998 22:20:03 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from uhf.wireless.net (uhf.wireless.net [209.189.23.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02483 for ; Fri, 15 May 1998 22:19:59 -0700 (PDT) (envelope-from bad@shf.wireless.net) Received: from shf.wireless.net (shf [209.189.23.56]) by uhf.wireless.net (8.8.8/8.8.7) with ESMTP id WAA08964; Fri, 15 May 1998 22:18:42 -0700 (PDT) Received: from localhost (bad@localhost) by shf.wireless.net (8.8.8/8.8.8) with SMTP id WAA01997; Fri, 15 May 1998 22:20:37 -0700 (PDT) (envelope-from bad@shf.wireless.net) Date: Fri, 15 May 1998 22:20:37 -0700 (PDT) From: Bernie Doehner To: Mark Mayo cc: isp@FreeBSD.ORG Subject: Re: virtusertable weirdness In-Reply-To: <19980516002148.B25146@vmunix.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > /etc/virtusertable.source looks like: > mark@hi-fi.com mark > editor@hi-fi.com mark > @hi-fi.com mad > ... Talk of coincidence, I just fixed a virtusertable today.. You have to properly recompile makemap (it seems) to get dbm format.. I ended up using hash format instead, so you have Kvirtuser hash -o /etc/virtusertable > vnode % makemap dbm /etc/virtusertable < /etc/virtusertable.source > makemap: Type dbm not supported in this version dbm != hash... > Hmmm. db-2.3.16 suspicions happening... My /etc/sendmail.cf did look > like: > Kvirtuser dbm /etc/virtusertable Change to Kwirtuser hash -o /etc/virtusertable > So I try: > vnode % makemap hash /etc/virtusertable < /etc/virtusertable.source > > which completes fine. Now I've got a /etc/virtusertable.db > Change the sendmail.cf to: > Kvirtuser hash -o /etc/virtusertable > > No go. So I try: > Kvirtuser hash -o /etc/virtusertable.db > > Still no go. Mailing to a real user on the virtual domain works, but > trying one of the mappings doesn't do it: > > ----- Transcript of session follows ----- > ... while talking to mailhost.vmunix.com.: > >>> RCPT To: > <<< 550 ... User unknown > 550 editor@hi-fi.com... User unknown > > Naturally, I remembered to HUP sendmail after making any sendmail.cf > changes... Right. > Anyone have any ideas that I'm doing wrong here?? My only hunch is > that the addition of the db-2.3.16 package might have fried something.. > There is a ndbm.h file in /usr/include, and I tried rebuilding the > /usr/src/usr.sbin/sendmail/makemap/makemap.c with -DNDBM instead of -DNEWDB > but the same error about 'dbm not supported happens'.. > Bernie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message