Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2003 16:27:05 -0700 (PDT)
From:      David Babler <dbabler@rigel.orionsys.com>
To:        "Scot W. Hetzel" <hetzels@westbend.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Cyrus-SASL + sendmail 8.12.9 + "group writable file"
Message-ID:  <20030429161705.H33294@rigel.orionsys.com>
In-Reply-To: <01e301c30ea3$aade0140$13fd2fd8@Admin02>
References:  <20030428184857.V33294@rigel.orionsys.com> <01b001c30e9d$cbbf6bc0$13fd2fd8@Admin02> <01e301c30ea3$aade0140$13fd2fd8@Admin02>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 29 Apr 2003, Scot W. Hetzel wrote:

> Check if your sendmail supports the GroupReadableSASLDBFile option with:
>
> # strings /usr/libexec/sendmail/sendmail | grep groupreadablesasldbfile
> groupreadablesasldbfile

Yep.

#strings /usr/libexec/sendmail/sendmail | grep sasldbfile
groupwritablesasldbfile
groupreadablesasldbfile


> Did you at some point install one of the mail/sendmail ports?

No, but I did temporarily install the last CERT patch prior to doing a
complete buildworld.

> If you did, then it might be possible that your still using the ports
> sendmail binary and not the binary from the installworld.  Check
> /etc/mail/mailer.conf:
>
> sendmail        /usr/libexec/sendmail/sendmail
> send-mail       /usr/libexec/sendmail/sendmail
> mailq           /usr/libexec/sendmail/sendmail
> newaliases      /usr/libexec/sendmail/sendmail
> hoststat        /usr/libexec/sendmail/sendmail
> purgestat       /usr/libexec/sendmail/sendmail

/etc/mail/mailer.conf matches the above exactly, CVS tag:

# $FreeBSD: src/etc/mail/mailer.conf,v 1.2.2.1 2002/04/09 02:00:56 gshapiro Exp$

#telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 rigel.orionsys.com ESMTP Sendmail 8.12.9/8.12.9; NO UCE / NO UBE; Tue, 29 Apr 2003 16:20:53 -0700 (PDT)

Previous (patch) version was 8.12.8p1, I believe, so everything looks
freshly made.

> Is /usr/sbin/sendmail a link to /usr/sbin/mailwrapper?

#ll /usr/libexec/sendmail/sendmail
-r-xr-sr-x  1 root  smmsp  604788 Apr 28 20:00 /usr/libexec/sendmail/sendmail

#ll /usr/sbin/sendmail
lrwxr-xr-x  1 root  wheel  21 Apr 28 20:00 /usr/sbin/sendmail -> /usr/sbin/mailwrapper

#ll /usr/sbin/mailwrapper
-r-xr-xr-x  1 root  wheel  4916 Apr 28 20:00 /usr/sbin/mailwrapper

So yes. Weird.


-Dave



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