From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 02:07:40 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1DBE16A41C; Wed, 6 Jul 2005 02:07:40 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 051BA43D49; Wed, 6 Jul 2005 02:07:39 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a132.otenet.gr [212.205.215.132]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with ESMTP id j6627bMw017559; Wed, 6 Jul 2005 05:07:37 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j6627Z5F003890; Wed, 6 Jul 2005 05:07:35 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j6627YEV003889; Wed, 6 Jul 2005 05:07:34 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 6 Jul 2005 05:07:34 +0300 From: Giorgos Keramidas To: Gregory Neil Shapiro Message-ID: <20050706020734.GA3762@gothmog.gr> References: <42CB29E4.8090203@vicor.com> <20050706015555.GA3301@gothmog.gr> <20050706020026.GC69456@gir.gshapiro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050706020026.GC69456@gir.gshapiro.net> Cc: freebsd-questions@freebsd.org, Julian Elischer Subject: Re: aaaargghh.. sendmail again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 02:07:40 -0000 On 2005-07-05 19:00, Gregory Neil Shapiro wrote: > > Have you also tried sending email from a non-root account? The root > > user is "exposed" by default in Sendmail. This means that the root user > > will *NOT* be masqueraded or remapped through genericstable. You can > > see that the root user is exposed by looking at the {E} class: > > > > gothmog:/etc/mail# grep '{E}' sendmail.cf > > C{E}root > > That hasn't be the case since 8.10.0, released more than five years ago. > Giorgos, you should update your configuration. > > 8.10.0/8.10.0 2000/03/01 > CONFIG: Removed root from class E; use EXPOSED_USER(`root') > to get the old behavior. Suggested by Joe Pruett > of Q7 Enterprises. That's funny. I can see root in the E class even in the standard freebsd.cf generated from the freebsd.mc file we have in src/etc/sendmail: % gothmog:/etc/mail# cp /usr/src/etc/sendmail/freebsd.mc . % gothmog:/etc/mail# cp /usr/src/etc/sendmail/freebsd.submit.mc . % gothmog:/etc/mail# make freebsd.cf % /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 freebsd.mc > freebsd.cf % gothmog:/etc/mail# grep '{E}' freebsd.cf % C{E}root I must be doing something wrong.