sendmail sasl configuration

Sean Ellis sellis at telus.net
Sat Aug 23 11:39:39 PDT 2003


>     It looks like the compilation worked.

I swapped it in and it's working ok, but the authentication isn't up
yet.

>     Do you have this in line in your sendmail.mc file?

>    define(`confAUTH_MECHANISMS', `PLAIN CRAM-MD5 DIGEST-MD5 LOGIN')dnl

that I do, more or less ..

dnl set SASL options
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

taken from the freebsd handbook.

>>   I am trying to enable sasl and having some problems.
>>
>>   The sendmail that we are using is made by hand rather the ports;
>>   the security/cyrus-sasl port was also installed. At this point
>>   running the command `sendmail -d0.1 -bv root | grep SASL` gives the
>>   following output:
>>                   PIPELINING SASL SCANF TCPWRAPPERS USERDB XDEBUG
>>
>>   However telnetting to port 25 with the new sendmail running gives
>>   only:
>>
>> Connected to localhost.linwoodhomes.com.
>> Escape character is '^]'.
>> 220 xxxxxxxxxxx.com ESMTP Sendmail 8.12.2/8.12.2; Sat, 23 Aug 2003 11:27:17 -0700 (PDT)
>> ehlo localhost
>> 250-xxxxxxxxxxx.com Hello localhost.xxxxxxxxxx.com [127.0.0.1], pleased to meet you
>> 250-ENHANCEDSTATUSCODES
>> 250-PIPELINING
>> 250-EXPN
>> 250-VERB
>> 250-8BITMIME
>> 250-SIZE
>> 250-DSN
>> 250-ETRN
>> 250-AUTH LOGIN
>> 250-DELIVERBY
>> 250 HELP
>>
>> and the following log error appears when restarting sendmail:
>>
>> error: safesasl(/usr/local/etc/sasldb.db) failed: Permission denied
>>
>> 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?

-- 

 Sean                            mailto:sellis at telus.net



More information about the freebsd-isp mailing list