6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] problem with auth...
FromSent OnAttachments
Brian SmithMar 3, 2002 11:51 am 
SysopMar 3, 2002 12:09 pm 
Sam VarshavchikMar 3, 2002 3:38 pm 
Brian SmithMar 3, 2002 4:45 pm 
Sam VarshavchikMar 3, 2002 7:07 pm 
Christoph PuppeMar 4, 2002 1:46 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] problem with authdaemon socket under redhat7.2Actions...
From:Sysop (sys@foolclan.com)
Date:Mar 3, 2002 12:09:15 pm
List:net.sourceforge.lists.courier-users

Brian Smith wrote:

Hello Sam, everyone.

I hope this is an actual problem, because I've been going nuts trying to figure
out what's happening. I have access to another system running an older version
of this same suite of apps, and it seems to work (tho much different OS/kernel
rev).

Anyway, here we go:

RH7.2 / 2.4.17 / latest qmail/varvpop

/usr/lib/courier-imap/etc/authdaemonrc :

authmodulelist="authvchkpw authpam" authdaemonvar="/usr/lib/courier-imap/var/authdaemon"

[root@che courier-imap]# ls -sal /usr/lib/courier-imap/var/authdaemon/ total 12 4 drwx------ 2 root root 4096 Mar 2 22:51 . 4 drwxr-xr-x 3 root root 4096 Mar 2 18:42 .. 0 -rw------- 1 root root 0 Mar 2 22:51 lock 4 -rw-r--r-- 1 root root 4 Mar 2 22:51 pid 0 srwxrwxrwx 1 root root 0 Mar 2 22:51 socket

as you can see, the authdaemon dir is 700/root/root as per the docs .

What troubles me is this socket...

Mar 3 11:46:07 che sqwebmail: authdaemon: s_connect() failed: No such file or
directory

Why is the socket connect function failing to find
/usr/lib/courier-imap/var/authdaemon/socket ? and where is that hardcoded into the source? authdaemonrc claims that
authdaemond doesn't use it directly:

# authdaemonvar is here, but is not used directly by authdaemond. It's # used by various configuration and build scripts, so don't touch it!

any ideas?

SHot in the dark here, but ln -s /var/lib/courier-imap /var/lib/courier ?