From owner-freebsd-questions@FreeBSD.ORG Mon Jul 31 12:06:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3616016A4DD for ; Mon, 31 Jul 2006 12:06:06 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from zeus.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAE6343D81 for ; Mon, 31 Jul 2006 12:06:05 +0000 (GMT) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by zeus.dfwlp.com (8.13.6/8.13.6) with ESMTP id k6VC4pQA035825 for ; Mon, 31 Jul 2006 07:04:53 -0500 (CDT) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Mon, 31 Jul 2006 07:05:59 -0500 User-Agent: KMail/1.9.3 References: <44CD8554.2050703@gregs-garage.com> In-Reply-To: <44CD8554.2050703@gregs-garage.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607310705.59409.freebsd@dfwlp.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on zeus.dfwlp.com Subject: Re: SMTP-AUTH woes. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 12:06:06 -0000 On Sunday 30 July 2006 23:21, Greg Groth wrote: > FreeBSD 6.1 > saslauthd version 2.1.22 > sendmail version 8.13.6 > > My problem is that sendmail is not authenticating plain text passwords. > > From my /etc/mail/hostname.mc file: > > define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl > TRUST_AUTH_MECH(`PLAIN LOGIN')dnl > > However when I telnet to the server I find the following: > > 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 > > From my /etc/make.conf: > > SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 > SENDMAIL_LDFLAGS=-L/usr/local/lib > SENDMAIL_LDADD=-lsasl2 > > From my /usr/local/lib/sasl2/Sendmail.conf file: > > pwcheck_method: saslauthd > > From my /var/log/maillog file: > > Jul 30 23:08:01 mail sendmail[4061]: NOQUEUE: connect from root@localhost > Jul 30 23:08:01 mail sendmail[4061]: STARTTLS: ServerCertFile missing > Jul 30 23:08:01 mail sendmail[4061]: AUTH: available mech=NTLM LOGIN > ANONYMOUS PLAIN GSSAPI OTP DIGEST-MD5 CRAM-MD5, allowed mech=EXTERNAL > GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5 > Jul 30 23:08:01 mail sendmail[4061]: k6V481s5004061: Milter: no active > filter > > Everything seems to be in place. SASL is running, and is working fine > with the included testing tools, but sendmail does not seem to be > accepting plain text logins. This is the same setup I have up and > running on a 6.0 box, but it doesn't seem to be working now. Any ideas > on what I might have screwed up? > > TIA > Greg Groth did you buildworld before you recompiled sendmail? ive found that if i buildworld, that before i recompile sendmail (to implement sasl2) that i have to make clean on my /usr/src, or else make will try to use what was already recompiled for sendmail during the buildworld. hth, jonathan