From owner-freebsd-questions@FreeBSD.ORG Mon Sep 21 13:09:01 2009 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 8FA921065670 for ; Mon, 21 Sep 2009 13:09:01 +0000 (UTC) (envelope-from peter@pean.org) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 4D69D8FC12 for ; Mon, 21 Sep 2009 13:09:00 +0000 (UTC) Received: from iph2.telenor.se (195.54.127.133) by proxy1.bredband.net (7.3.140.3) id 49F5A152039B7477 for freebsd-questions@freebsd.org; Mon, 21 Sep 2009 14:48:02 +0200 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnMjAKMSt0pV4QbzPGdsb2JhbAAImmYBAQEBN6d5AQKNaoI7DQEDgU8FgVg X-IronPort-AV: E=Sophos;i="4.44,424,1249250400"; d="scan'208";a="45081450" Received: from c-f306e155.166-7-64736c14.cust.bredbandsbolaget.se (HELO [172.25.0.40]) ([85.225.6.243]) by iph2.telenor.se with ESMTP; 21 Sep 2009 14:48:02 +0200 From: =?iso-8859-1?Q?Peter_Ankerst=E5l?= Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Date: Mon, 21 Sep 2009 14:48:02 +0200 Message-Id: <07F315BB-E542-4135-8ECE-2EDD0C0A42E8@pean.org> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Subject: Postfix and SASL. 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, 21 Sep 2009 13:09:01 -0000 I just upgraded one of my machines to FreeBSD 8-RC1. # uname -srmi FreeBSD 8.0-RC1 amd64 GENERIC postfix-2.4.11,1 cyrus-sasl-2.1.23 courier-authlib-base-0.62.4 courier-authlib-mysql-0.62.4 Inside a jail Im running a mailserver (postfix). After the upgrade =20 smtp-auth with SASL2 and authdaemond doesnt work. =46rom postfix main.cf: smtpd_sasl_auth_enable =3D yes smtpd_sasl_authenticated_header =3D yes smtpd_sasl_application_name =3D smtpd broken_sasl_auth_clients =3D yes smtpd_recipient_restrictions =3D reject_invalid_hostname, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, permit --- smtpd.conf: pwcheck_method: authdaemond log_level: 4 mech_list: PLAIN LOGIN authdaemond_path: /var/run/authdaemond/socket --- ls -ld /var/run/authdaemond/ drwxr-xr-x 2 courier courier 5 Sep 21 14:23 /var/run/authdaemond/ sockstat |grep authdaemon root authdaemon 46562 5 stream /var/run/authdaemond/socket.tmp root authdaemon 46562 6 stream -> /tmp/mysql.sock root authdaemon 46561 5 stream /var/run/authdaemond/socket.tmp root authdaemon 46561 6 stream -> /tmp/mysql.sock root authdaemon 46560 5 stream /var/run/authdaemond/socket.tmp root authdaemon 46560 6 stream -> /tmp/mysql.sock root authdaemon 46559 5 stream /var/run/authdaemond/socket.tmp root authdaemon 46559 6 stream -> /tmp/mysql.sock root authdaemon 46558 5 stream /var/run/authdaemond/socket.tmp root authdaemon 46558 6 stream -> /tmp/mysql.sock root authdaemon 46557 5 stream /var/run/authdaemond/socket.tmp authdaemond is working properly. IMAP still uses it for auth and works =20= fine. and from maillog: Sep 21 14:41:48 system authdaemond: Authenticated: sysusername=3D, = =20 sysuserid=3D125, sysgroupid=3D125, homedir=3D/usr/maildirs, = address=3Dpeter@pean.org=20 , fullname=3DPeter Ankerst=E5l, maildir=3Dpeter@pean.org/, quota=3D51200, = =20 options=3D Sep 21 14:41:48 system postfix/smtpd[47155]: warning: SASL =20 authentication failure: could not verify password Sep 21 14:41:48 system postfix/smtpd[47155]: warning: SASL =20 authentication failure: Password verification failed Sep 21 14:41:48 system postfix/smtpd[47155]: warning: hostname.tld: =20 SASL PLAIN authentication failed: generic failure Sep 21 14:41:48 system postfix/smtpd[47155]: lost connection after =20 AUTH from hostname.tld Sep 21 14:41:48 system postfix/smtpd[47155]: disconnect from =20 hostname.tld Could anyone see the problem? This setup has been working on a 7.2-=20 RELEASE machine for months. -- Peter Ankerst=E5l peter@pean.org http://www.pean.org/