From owner-freebsd-stable Thu Jun 20 21:17:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id D5AA137B406 for ; Thu, 20 Jun 2002 21:16:46 -0700 (PDT) Received: (qmail 8520 invoked by uid 0); 21 Jun 2002 04:16:41 -0000 Received: from p5091070f.dip0.t-ipconnect.de (HELO mail.gsinet.sittig.org) (80.145.7.15) by mail.gmx.net (mp008-rz3) with SMTP; 21 Jun 2002 04:16:41 -0000 Received: (qmail 26257 invoked from network); 20 Jun 2002 21:30:44 -0000 Received: from shell.gsinet.sittig.org (192.168.11.153) by mail.gsinet.sittig.org with SMTP; 20 Jun 2002 21:30:44 -0000 Received: (from sittig@localhost) by shell.gsinet.sittig.org (8.11.3/8.11.3) id g5KLUgK26253 for freebsd-stable@FreeBSD.ORG; Thu, 20 Jun 2002 23:30:42 +0200 (CEST) (envelope-from sittig) Date: Thu, 20 Jun 2002 23:30:42 +0200 From: Gerhard Sittig To: freebsd-stable@FreeBSD.ORG Subject: Re: sendmail problem in 4.6-RELEASE Message-ID: <20020620233042.C1494@shell.gsinet.sittig.org> Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: <15632.11378.417976.535212@horsey.gshapiro.net> <200206191713.g5JHDkJZ050976@orthanc.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200206191713.g5JHDkJZ050976@orthanc.ab.ca>; from lyndon@orthanc.ab.ca on Wed, Jun 19, 2002 at 11:13:46AM -0600 Organization: System Defenestrators Inc. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jun 19, 2002 at 11:13 -0600, Lyndon Nerenberg wrote: > > This is such a common problem that rc.sendmail should be > modified to test for these configuration errors. If any > are found, an _understandable_ error message should be > printed and logged, and the startup aborted. I wouldn't expect a start script to scan for this kind of problem cause (duplicate accounts). See below. > The "multiple smmsp accounts" problem is particularly non-obvious, > yet can easily be detected by a simple bit of C code during > the system boot. Shouldn't this be pwd_mkdb(8)'s job to moan when /etc/master.passwd's syntax and semantics get violated? The username should be unique, shouldn't it? And pwd_mkdb is _the_ tool all the other entry points for entering and managing accounts already go through (I just had a look at vipw, pw, mergemaster, and adduser). No need for checking afterwards if things went wrong when we have someone converting the text form to the actually used db form beforehand. :) virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message