From owner-freebsd-net Sun Aug 5 18:33:54 2001 Delivered-To: freebsd-net@freebsd.org Received: from kanga.int (c1717606-a.sprgfld1.mo.home.com [65.6.246.57]) by hub.freebsd.org (Postfix) with ESMTP id 14E9437B401 for ; Sun, 5 Aug 2001 18:33:52 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.int (pooh.int [10.0.1.2]) by kanga.int (8.11.5/8.11.5) with ESMTP id f761Xps85774 for ; Sun, 5 Aug 2001 20:33:51 -0500 (CDT) (envelope-from kirk@strauser.com) Received: from kirk by pooh.int with local (Exim 3.22 #1 (Debian)) id 15TZGj-0007js-00 for ; Sun, 05 Aug 2001 20:33:21 -0500 To: freebsd-net@freebsd.org Subject: Re: Can't get sendmail to masquerade References: <000001c11dfc$529057c0$fcffa8c0@tsaignmobl> From: Kirk Strauser Date: 05 Aug 2001 20:33:21 -0500 In-Reply-To: <000001c11dfc$529057c0$fcffa8c0@tsaignmobl> Message-ID: <87d76ayntq.fsf@pooh.int> Lines: 20 X-Mailer: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 2001-08-05T22:16:48Z, Tony Saign writes: > You need the below line in your .mc file; > FEATURE(domaintable, `hash -o /etc/mail/domaintable') > > the file domaintable would include 1 line; > kanga.int.strauser.com strauser.com > > That should take care of it... Tony, Actually, it turned out to be a little more subtle. The DOMAIN(generic) directive includes /usr/share/sendmail/cf/generic.m4, which has the line EXPOSED_USER(`root'), which was the exact cause of the error I was getting. I copied generic.m4 to int.m4, commented the offending line, changed kanga.int.mc to read DOMAIN(int), and everything was fixed. -- Kirk Strauser To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message