Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2009 01:20:52 GMT
From:      Brandon Low <lostlogic@lostlogicx.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/141308: cyrus-sasl2 + authdaemond + postfix stopped working after 8.0 upgrade
Message-ID:  <200912090120.nB91KqF4008487@www.freebsd.org>
Resent-Message-ID: <200912090130.nB91U17J005872@freefall.freebsd.org>

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

>Number:         141308
>Category:       ports
>Synopsis:       cyrus-sasl2 + authdaemond + postfix stopped working after 8.0 upgrade
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 09 01:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Brandon Low
>Release:        8.0-RELEASE
>Organization:
>Environment:
FreeBSD erudite.lostlogicx.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
http://forums.freebsd.org/showthread.php?t=8953

Dec  8 15:09:55 erudite authdaemond: Authenticated: sysusername=lostlogic, sysuserid=<null>, sysgroupid=1001, homedir=/home/lostlogic, 
address=lostlogic, fullname=***********, maildir=<null>, quota=<null>, options=<null>
Dec  8 15:09:55 erudite postfix/smtpd[19745]: warning: SASL authentication failure: could not verify password
Dec  8 15:09:55 erudite postfix/smtpd[19745]: warning: 173-128-18-71.pools.spcsdns.net[173.128.18.71]: SASL LOGIN authentication failed: generic 
failure

After turning up logging in courier-authdaemond I got the above output.  So the cyrus-sasl library can contact the authdaemond but somehow is misinterpreting the response or losing its connection before the response can be sent or something of that sort.

root@erudite # cat /usr/local/etc/sasl2/smtpd.conf                                                                                                                /root 17:18:08 0
pwcheck_method: authdaemond
mech_list: plain login

root@erudite # grep '^DEBUG' /usr/local/etc/authlib/authdaemonrc                                                                                                  /root 17:18:35 0
DEBUG_LOGIN=1

master.cf:
smtps     inet  n       -       n       -       -       smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes

main.cf:
smtpd_sasl_path = smtpd
smtpd_use_tls = yes
smtpd_recipient_restrictions = ...,
                               permit_sasl_authenticated,
                               ...

Let me know if I can post any other information to help with this issue.  It appears to be pretty widespread in 8.0-RELEASE



>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912090120.nB91KqF4008487>