Cyrus-SASL + sendmail 8.12.9 + "group writable file"
David Babler
dbabler at rigel.orionsys.com
Tue Apr 29 16:27:10 PDT 2003
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
More information about the freebsd-questions
mailing list