On Tue, May 27, 2014 at 09:30:15PM +0200, Mika wrote: > Hi, > > i habe a little problem with authdaemond. > > > > cat /var/log/maillog > May 27 21:12:30 2-2-2-2 postfix/smtps/smtpd[6446]: Anonymous TLS > connection established from 1-1-1-1-di.dum.di[1.1.1.1]: TLSv1 with > cipher ECDHE-RSA-AES128-SHA (128/128 bits) > May 27 21:12:30 2-2-2-2 postfix/smtps/smtpd[6446]: warning: SASL > authentication failure: cannot connect to Courier authdaemond: > Connection refused > May 27 21:12:30 2-2-2-2 postfix/smtps/smtpd[6446]: warning: SASL > authentication failure: Password verification failed > > > > cat /usr/local/lib/sasl2/smtpd.conf > pwcheck_method: authdaemond > authdaemond_path: courier-authdaemon-socket
I think this should be /var/run/courier-auth/socket > mech_list: PLAIN LOGIN > > > > cat /etc/postfix/main.cf > ..... > # Enable SASL authentication in the Postfix SMTP server > smtpd_sasl_auth_enable = yes > # Only accept mail from trusted networks, authenticated clients or mail with > # a 'RCPT TO' address that Postfix is forwarder or final destination for > smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated > reject_unauth_destination > # Enable inter-operability with old SMTP clients > broken_sasl_auth_clients = yes > # Name of the Postfix SMTP server's local SASL authentication realm > smtpd_sasl_local_domain = $mydomain > > > > cat /etc/postfix/master.cf > ...... > # ========================================================================== > # service type private unpriv chroot wakeup maxproc command + args > # (yes) (yes) (yes) (never) (100) > # ========================================================================== > smtp inet n - n - - smtpd > ...... > smtps inet n - - - - smtpd > -o syslog_name=postfix/smtps > -o smtpd_tls_wrappermode=yes > -o smtpd_sasl_auth_enable=yes > -o smtpd_client_restrictions=permit_sasl_authenticated,reject > -o milter_macro_daemon_name=ORIGINATING > > > > ls -la /var/run/courier-auth/ > > > total 16 > drwxrwxr-x 2 root wheel 512 May 27 21:05 . > drwxr-xr-x 6 root wheel 512 May 27 21:05 .. > srwxrwxrwx 1 root wheel 0 May 27 20:48 mux > -rw------- 1 root wheel 0 May 27 20:48 mux.accept > -rw-r--r-- 1 root wheel 6 May 27 21:05 pid > -rw------- 1 root wheel 0 May 24 22:24 pid.lock > -rw------- 1 root wheel 6 May 27 20:48 saslauthd.pid > srwxrwxrwx 2 root wheel 0 May 27 21:05 socket > > > Everything looks good but there is no connection between postfix > and courier authdaemond.... > > But where to start to find the problem? Google is not really > any help... :-( > > best regards, Mika > --

