courier-imap auth problem

Hi,

My box is freeBSD6 and I've installed courier-imap and I want to authenticate the clients against /etc/passwd file.

Inside the configuration file: /usr/local/etc/courier-imap/pop3d I've not these lines : Why?
AUTHMODULES="authdaemon"
AUTHMODULES_ORIG="authdaemon"

Nevertheless I tried with telnet 10.10.10.5 110 and I get this error:

May 31 11:39:24 gw pop3d: authdaemon: s_connect() failed: No such file or directory
May 31 11:39:24 gw pop3d: LOGIN FAILED, user=ppp, ip=[10.10.10.5]
May 31 11:39:24 gw pop3d: authentication error: No such file or directory

What do I miss?

Thanks...

Sorry, Sorry...

I made a mistake.......

Hi,

I have looked on a lot of forums and most people think it has to do with the permissions on the socket. I have checked my permissions and they are fine. Have been stuck on this for a while. Let me know if you find a solution.

Hi,

The problem was on freeBSD, thanks any way for your time.

The error was in /etc/pam.d/imap, the solution was:

auth required pam_unix.so no_warn try_first_pass
account required pam_unix.so
session required pam_permit.so

I am authenticating against ldap and using courier auth-lib my users are in an ldap directory

Now that you talk about ldap, do you know some solution to keep the users' contacts on the server and manage (add, delete, modify) them from Microsoft Outlook?