James Grant wrote: > Hi all, I've exhausted myself trying to figure this one out... im using > courier-authlib and its setup and working properly, imap/pop works fine, > authtest from the commandline works fine. > > for some reason, my smtp auth wont use it, it says it cant even find it.. > > #cat /etc/postfix/sasl/smtpd.conf > This is often a path that is incorrect, but different systems can be set to use it.
> pwcheck_method: authdaemond > authdaemond_path: /var/run/courier/authdaemon/socket > mech_list: plain login > > # ls -al /var/run/courier/authdaemon/socket > srwxrwxrwx 1 root root 0 2008-11-14 13:52 /var/run/courier/authdaemon/socket > > # ls -al /var/run/courier/authdaemon > total 4 > drwxr-xr-x 2 daemon daemon 100 2008-11-14 13:52 . > drwxr-xr-x 4 daemon daemon 240 2008-11-13 01:07 .. > -rw-r--r-- 1 root root 6 2008-11-14 13:52 pid > -rw------- 1 root root 0 2008-11-13 01:07 pid.lock > srwxrwxrwx 1 root root 0 2008-11-14 13:52 socket > > But yet, when trying to authenticate, i get this in my mail.log > > Nov 14 14:29:19 mx1 postfix/smtpd[17982]: warning: SASL authentication > failure: > cannot connect to Courier authdaemond: No such file or directory > > Is the smtp service chroot'ed? Doing so is a real exorcise in getting it to work. Grab saslfinger from http://postfix.state-of-mind.de/patrick.koetter/saslfinger/ and then run 'saslfinger -s'. Check result and then report back if you need more assistance. Brian
