From owner-freebsd-questions@FreeBSD.ORG Sat Dec 29 20:37:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0310416A474 for ; Sat, 29 Dec 2007 20:37:15 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id DFE3713C461 for ; Sat, 29 Dec 2007 20:37:13 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so6784426waf.3 for ; Sat, 29 Dec 2007 12:37:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=5BwdqwYFHuDutyOWWB6A9DbLL/dNHQhCVKZduVsz1wE=; b=U3C3Gxb4OVqzFZ00qyXxVeJofVqg9XgQnnnl4mFwysP8NNdK1Q8T7MpY9NZhVhA+c8k9zB802KAN8nep9NpMHmvHXGNTzNbC7kQzVnfMMxWgRQRxEgJYTyv9YoQUHDdg1ynCZCclBujxLe4OIHgUQIYbaRs1kzNM6tTFDjb1u2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=iFpnr0n2N2jyPLUKvIO3gtvICmVIOIDD5sUmxF48uqYm8jbS6FE05nmNw6bFc+MrrCT1OHYTb5HTAL5sYsXluW+vV9zLpgrJTJ/oMsN90WdZnX0NOyVOS1+84yV7bHEtISv8u7HhWw5xNswkTIT4TL19vJNBPNsg7v9+q7AczkQ= Received: by 10.114.204.7 with SMTP id b7mr11212452wag.124.1198960633479; Sat, 29 Dec 2007 12:37:13 -0800 (PST) Received: from sniper ( [71.221.168.29]) by mx.google.com with ESMTPS id m30sm18108173wag.45.2007.12.29.12.37.12 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 29 Dec 2007 12:37:12 -0800 (PST) From: Andrew Falanga To: FreeBSD Questions Date: Sat, 29 Dec 2007 13:36:58 -0700 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712291336.58690.af300wsm@gmail.com> Subject: Having problems with SMTP authentication 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: Sat, 29 Dec 2007 20:37:15 -0000 HI, I've followed the instructions @ http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html, but am still having problems with the authentication process. If I set my client to use either CRAM-MD5 or DIGEST-MD5, I get an error return of authentication failure, "most likely the password is wrong." Now, to make sure that I'm understanding this correctly, this program (saslauthd) takes the username and passwords given it and attempts to verify them against what the system knows to be it's users, correct? Working under this assumption, it would seem that the user vmail (a user I created on the system) would be the user that I would want to use in the e-mail client. Well, I've done this and verified that the password is, in fact, correct; I'm unable to authenticate to the SMTP server. Another point of interest, I added these lines (from the handbook) to my freebsd.mc file (as per instructions): dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl But when I ask my e-mail client to "check what the server supports", the returned list is only, GSSAPI, DIGEST-MD5 and CRAM-MD5. Why is LOGIN not listed when it's included in this macro file? Is there anything missing from this section of the handbook that I've missed? Andy