Skip site navigation (1)Skip section navigation (2)
Date:      04 Sep 2002 19:24:31 -0700
From:      Joe Kelsey <joe@zircon.seattle.wa.us>
To:        Juha Saarinen <juha@saarinen.org>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: NO_SENDMAIL
Message-ID:  <1031192671.24794.132.camel@zircon.zircon.seattle.wa.us>
In-Reply-To: <Pine.WNT.4.44.0209051414220.1300-100000@den2>
References:  <Pine.WNT.4.44.0209051414220.1300-100000@den2>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2002-09-04 at 19:16, Juha Saarinen wrote:
> On 4 Sep 2002, Joe Kelsey wrote:
> 
> >  In addition to setting
> >
> >  NO_SENDMAIL=true
> >
> >  in /etc/make.conf, you also need to remove the ability to create
> >  sendmail.  I used to have the following in /usr/sup/refuse:
> >
> >  *sendmail*
> >
> >  which *used* to be quite effective at keeping all traces of sendmail out
> >  of my system.  Unfortunately, some misguided soul decided that it wasn't
> >  enough to simply passively refuse sendmail.  They *forced* the inclusion
> >  of /etc/sendmail.rc in the system startup and also refused to protect
> >  the inclusion of this idiotic file with the usual .ifdef NO_SENDMAIL
> >  that populates the rest of the make system.  So, now I have to allow the
> >  presence of this file in my source tree, but I still consistently refuse
> >  to allow mergemaster to move it in place, since it has no business
> >  appearing on a non-sendmail system.  I am now forced to use the
> >  following rules in /usr/sup/refuse:
> >
> >  */sendmail*
> >  */etc/mtree/*sendmail*
> >  */share/doc/*sendmail*
> 
> Does that get rid of the 'mailnull' and 'smmsp' users too?

No. Both of these username entries are meaningless in a non-sendmail
system, but they are not harmful, since they have /sbin/nologin as their
default shell.  There are a number of entries in /etc/master.passwd
which are not used on every system.  Do you use the xten or uucp or bind
usernames?  Qmail adds alias, qmaill, qmaild, qmailp, qmailq, qmailr and
qmails to your system, but it doesn't hurt anything else.

/Joe



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?1031192671.24794.132.camel>