sendmail sasl configuration
Sean Ellis
sellis at telus.net
Sat Aug 23 12:02:36 PDT 2003
>> and the following log error appears when restarting sendmail:
>>
>> error: safesasl(/usr/local/etc/sasldb.db) failed: Permission denied
>>
> Do you have "define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl"
> in your *.mc file?
>> file is:
>>
>> -rw-r----- 1 cyrus wheel 16384 Aug 22 17:23 /usr/local/etc/sasldb.db
>>
>> sendmail.mc options were taken from the freebsd handbook page on the
>> topic.
>>
>> Can anyone steer me in the right direction here?
>>
> The group listed on your sasldb.db file is wrong, it should be group mail
> instead of group wheel.
I changed that. Now it's
-rw-r----- 1 root mail 16384 Aug 22 17:23 /usr/local/etc/sasldb.db
with the following sendmail.mc entries:
dnl set SASL options
define(`confRUN_AS_USER',`root:mail')dnl
define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl
> Have you read /usr/local/share/doc/cyrus-sasl/Sendmail.README?
I've just ran through that now, but I'm still getting the same error.
>What do you have in /etc/mail/auth-info? Is that set up correctly?
not set up
--
Sean mailto:sellis at telus.net
More information about the freebsd-isp
mailing list