Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2000 11:55:21 -0500
From:      James Housley <jim@thehousleys.net>
Cc:        "William S. Duncanson" <caesar@starkreality.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Mail is broken
Message-ID:  <39FDA7F9.38AB2106@thehousleys.net>
References:  <5.0.0.25.2.20001030104059.0454e698@maggie.netspend.net> <20001030195038.A23861@atom.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
"Alexandr A. Listopad" wrote:
> 
> On Mon, Oct 30, 2000 at 10:48:08AM -0600, William S. Duncanson wrote:
> > As of sometime over the weekend, mail.local is no longer installed
> > setuid.  This is a problem, because it can no longer flock() mailboxes to
> > deliver mail locally.  Right now, I've chmod'ed mail.local, and mail is
> > flowing again.  src/contrib/sendmail/RELEASE_NOTES indicates that, indeed,
> > mail.local should not be setuid, but doesn't indicate what should be done
> > to fix the problem "fire mail.local: lockmailbox /var/mail/caesar failed;
> > error code 75".  Neither is it mentioned in src/UPDATING.
> >
> > Obviously, the solution is not to turn on the setuid bit for mail.local,
> > but something else that I'm completely missing.  Any ideas?
> 
> read carefully this mailing list!
> 
> you need to read RELNOTES.TXT
> 
This was sent to THIS mailing list on Oct. 19th:

The following changes have been MFC'ed from -CURRENT to -STABLE:

1. mail.local(8) is no longer installed as a set-user-id binary.

   If you are using a /etc/mail/sendmail.cf from the default sendmail.cf
   included with FreeBSD any time after 3.1.0, you are fine.  If you are
   using a hand-configured sendmail.cf and mail.local for delivery,
check
   to make sure the F=S flag is set on the Mlocal line.  Those with .mc
   files who need to add the flag can do so by adding the following line
to
   their your .mc file and regenerating the sendmail.cf file:

       MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl

   Note that FEATURE(`local_lmtp') already does this.

2. The default /etc/mail/sendmail.cf disables the SMTP EXPN and VRFY
   commands.

3. Now using sendmail's version of vacation(1).

   This change should be transparent except for the new options/features
   available.

4. The sendmail cf building tools (contrib/sendmail/cf) are installed in
   /usr/share/sendmail/cf.

   More work still to come on this.

Jim
-- 
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
The wise man built his network upon Un*x.
    The foolish man built his network upon Windows.


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?39FDA7F9.38AB2106>