On November 14, 2008 02:45:56 pm Brian Evans - Postfix List wrote:
> 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.

It is definitely using this file. I made sure of it... i used to have it set 
to use auxprop with sql auth

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

gah that was exactly it!   a chroot wont follow symlinks out of the chroot 
will it?  I disabled the chroot in master.cf and it works fine.  I think for 
now im just going to run smtpd without the chroot.. man.. what a hassle...

Thank you thank you thank you :)  

 James


> 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

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