Cyrus-SASL + sendmail 8.12.9 + "group writable file"
Scot W. Hetzel
hetzels at westbend.net
Thu May 1 17:38:38 PDT 2003
From: "David Babler" <dbabler at 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
More information about the freebsd-ports
mailing list