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
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

I even turned on the crazy debugging but it doesnt give me any extra details 
about that (like, where its looking for authdaemond, or permissions, or 
anything) .. im thinking an strace of smtpd would be useful but no clue how 
I can do that since i cant run smtpd from the command line.

Any help would be appreciated!

PS:
I was originally using auxprop with the sql plugin, but it can only check 
clear text passwords stored in the database, and in most cases, i dont have 
clear text passwords for my users (since I'm migrating them over from another 
system, i only have the crypt'd password, which courier-authlib uses no 
problem)

James


-- 
James Grant

Lightbox Technologies
312-240 Catherine St.
Ottawa, ON. K2P 2G8

http://www.lightbox.org
[EMAIL PROTECTED]
613-686-1661 x101

Reply via email to