From owner-freebsd-isp Fri May 15 21:54:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA29748 for freebsd-isp-outgoing; Fri, 15 May 1998 21:54:37 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from shell.thebestisp.com (shell.thebestisp.com [209.98.116.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA29743 for ; Fri, 15 May 1998 21:54:33 -0700 (PDT) (envelope-from joe@thebestisp.com) Received: from speed.thebestisp.com (speed.thebestisp.com [209.98.116.2]) by shell.thebestisp.com (8.8.7/8.8.7) with SMTP id XAA00937 for ; Fri, 15 May 1998 23:55:08 -0500 (CDT) (envelope-from joe@thebestisp.com) Message-ID: <004601bd8087$1885bcc0$027462d1@speed.thebestisp.com> From: "joe" To: Subject: Re: virtusertable weirdness Date: Fri, 15 May 1998 23:57:15 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org you probably already checked this but there is a section further down in the rules that deals with virtusertables that is commented out by default just a thought.. it starts... # handle virtual users R$+ < @ $=w . > $: < $(virtuser $1 @ $2 $@ $1 $: @ $) > $1 < @ $2 . > -----Original Message----- From: Mark Mayo To: isp@FreeBSD.ORG Date: Friday, May 15, 1998 11:40 PM Subject: virtusertable weirdness >Hi all.. I'm having an odd problem with the virtuser feature in >sendmail.. Hoping someone has run into the same problem. > >Basically, it don't work. :) > >Details: > FreeBSD 2.2.6-STABLE, 'make world' around the middle of April > sendmail 8.8.8 (obviously, built from the make world) > sendmail.cf is basically the stock file shipped with freebsd > db-2.3.16 and gdbm-1.7.3 packages added since the make world > >/etc/virtusertable.source looks like: > mark@hi-fi.com mark > editor@hi-fi.com mark > @hi-fi.com mad > ... > >vnode % makemap dbm /etc/virtusertable < /etc/virtusertable.source >makemap: Type dbm not supported in this version > >Hmmm. db-2.3.16 suspicions happening... My /etc/sendmail.cf did look >like: > Kvirtuser dbm /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... > >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'.. > >TIA for any help, >-Mark > >-- >------------------------------------------------------------------------ > Mark Mayo mark@vmunix.com > RingZero Comp. http://www.vmunix.com/mark > > finger mark@vmunix.com for my PGP key and GCS code >------------------------------------------------------------------------ > "The problem is how do you build tools that understand your programs > at a deeper semantic level." - James Gosling > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message