From owner-freebsd-isp@FreeBSD.ORG Sat Aug 23 11:45:46 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B808C16A4BF for ; Sat, 23 Aug 2003 11:45:46 -0700 (PDT) Received: from floyd.gnulife.org (floyd.gnulife.org [199.86.41.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DD7243FBD for ; Sat, 23 Aug 2003 11:45:44 -0700 (PDT) (envelope-from jamie@gnulife.org) Received: by floyd.gnulife.org (Postfix, from userid 1000) id 6DFE94333B; Sat, 23 Aug 2003 13:56:44 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by floyd.gnulife.org (Postfix) with ESMTP id 6830843331; Sat, 23 Aug 2003 13:56:44 -0500 (CDT) Date: Sat, 23 Aug 2003 13:56:44 -0500 (CDT) From: Jamie To: Sean Ellis In-Reply-To: <128135661035.20030823112536@telus.net> Message-ID: <20030823135347.L31810-100000@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-isp@freebsd.org Subject: Re[2]: sendmail sasl configuration X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 18:45:46 -0000 On Sat, 23 Aug 2003, Sean Ellis wrote: > > 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. What do you have in /etc/mail/auth-info? Is that set up correctly? > > >> 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@telus.net > > "A friend is someone who lets you have total freedom to be yourself."