Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2014 16:36:34 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Jan Bramkamp <crest@rlwinm.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 10.1 BETA2 World - Breaks saslauthd
Message-ID:  <A4E96B09-AEF9-46B3-A812-1DFB7EB6D90B@FreeBSD.org>
In-Reply-To: <5426C3F3.3040404@rlwinm.de>
References:  <b492e700f57a52e21f7755e6d01bd863.squirrel@www.tundraware.com> <3DA4B666-AB81-4F25-ABAE-DDC163F41E20@FreeBSD.org> <5426C3F3.3040404@rlwinm.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <crest@rlwinm.de> wrote:
> On 25.09.2014 17:04, Dimitry Andric wrote:
>> On 25 Sep 2014, at 16:54, Tim Daneliuk <tundra@tundraware.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A4E96B09-AEF9-46B3-A812-1DFB7EB6D90B>