Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 23:30:42 +0200
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: sendmail problem in 4.6-RELEASE
Message-ID:  <20020620233042.C1494@shell.gsinet.sittig.org>
In-Reply-To: <200206191713.g5JHDkJZ050976@orthanc.ab.ca>; from lyndon@orthanc.ab.ca on Wed, Jun 19, 2002 at 11:13:46AM -0600
References:  <15632.11378.417976.535212@horsey.gshapiro.net> <200206191713.g5JHDkJZ050976@orthanc.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020620233042.C1494>