From owner-freebsd-stable@FreeBSD.ORG Sat Sep 27 14:36:48 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87D063B9 for ; Sat, 27 Sep 2014 14:36:48 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4263C632 for ; Sat, 27 Sep 2014 14:36:48 +0000 (UTC) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D6461B80A; Sat, 27 Sep 2014 16:36:42 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_6CB1DFC1-96B3-447A-8244-59311F6836EB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: 10.1 BETA2 World - Breaks saslauthd From: Dimitry Andric In-Reply-To: <5426C3F3.3040404@rlwinm.de> Date: Sat, 27 Sep 2014 16:36:34 +0200 Message-Id: References: <3DA4B666-AB81-4F25-ABAE-DDC163F41E20@FreeBSD.org> <5426C3F3.3040404@rlwinm.de> To: Jan Bramkamp X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2014 14:36:48 -0000 --Apple-Mail=_6CB1DFC1-96B3-447A-8244-59311F6836EB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 27 Sep 2014, at 16:04, Jan Bramkamp wrote: > On 25.09.2014 17:04, Dimitry Andric wrote: >> On 25 Sep 2014, at 16:54, Tim Daneliuk wrote: ... >>> This breaks saslauthd - it demands a password when sending mail, but = then >>> rejects it in every case. >>>=20 >>> If I just install a new kernel, everything is fine. But if I = install >>> world, that's when the problem shows up. I've tried a full = reinstall of >>> cygnus sasls and the daemon is running. >>>=20 >>> Ideas on how to chase this down/fix, would be appreciated... >>=20 >> It is probably caused by this MFC: = http://svnweb.freebsd.org/changeset/base/271766 >>=20 >> To make saslauthd work again, you need to specify a correct PAM = policy >> file in /usr/local/etc/pam.d for your service, most likely "smtp" in >> this case. ... > If I remember correctly saslauthd -a pam is hardcoded to always use = the > PAM service "imap". No, the service name is received from the SASL client that connects to /var/run/saslauthd/mux. In case of postfix, the default service name is "smtp". Quoting from postconf(5): smtpd_sasl_service (default: smtp) The service name that is passed to the SASL plug-in that is selected with smtpd_sasl_type and smtpd_sasl_path. This feature is available in Postfix 2.11 and later. Prior versions behave as if "smtp" is specified. -Dimitry --Apple-Mail=_6CB1DFC1-96B3-447A-8244-59311F6836EB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlQmy3YACgkQsF6jCi4glqMoNACg6SeSYz7UoXmKKjIQXCDfTHxp /8IAmwRqT7AviPghbA4Kp4cDCi4SvzHr =5WQU -----END PGP SIGNATURE----- --Apple-Mail=_6CB1DFC1-96B3-447A-8244-59311F6836EB--