Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2003 19:38:36 -0500
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "FreeBSD Questions List" <freebsd-questions@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Cyrus-SASL + sendmail 8.12.9 + "group writable file"
Message-ID:  <005a01c31043$2b360680$13fd2fd8@Admin02>
References:  <20030428184857.V33294@rigel.orionsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "David Babler" <dbabler@rigel.orionsys.com>
> Basic problem: sendmail errors with permissions/ownerships on
> /usr/local/etc/sasldb
>
> Symptom:
>  maillog entry "error: safesasl(/usr/local/etc/sasldb) failed: Group
readable file"
>
>
We found the problem, the initial sendmail mail submission program was
causing these errors to occur when sending mail from the local system.  To
solve this problem you need to put the following into the submit.mc file
that you use on your system (i.e. freebsd.submit.mc):

    define(`confRUN_AS_USER',`smmsp:mail')dnl
    define(`confTRUSTED_USER',`smmsp')dnl
    define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl

NOTE:  You must define confTRUSTED_USER, otherwise you will get an error in
the log (readcf: option TrustedUser: unknown user smmsp:mail).  This is
caused by FEATURE(msp) defines confTRUSTED_USER using the confRUN_AS_USER
value if not defined.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005a01c31043$2b360680$13fd2fd8>