Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2003 11:48:32 -0700
From:      Sean Ellis <sellis@telus.net>
To:        "Scot W. Hetzel" <hetzelsw@westbend.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: sendmail sasl configuration
Message-ID:  <21137037938.20030823114832@telus.net>
In-Reply-To: <00f801c369a6$2c3bf3c0$11fd2fd8@westbend.net>
References:  <115133702237.20030823105257@telus.net> <00f801c369a6$2c3bf3c0$11fd2fd8@westbend.net>

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

>> 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@telus.net



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