So I've gone through the README.proxy and have setup my authldaprc as
specified and made the changes to the pop3d and imapd start scripts.
However, the proxy doesn't seem to be working:

[pop3 session]

Escape character is '^]'.
+OK Hello there.
user michaeln
+OK Password required.
pass password2
-ERR Fatal authentication error.

[syslog]
Nov 15 13:11:45 dev2 pop3d: error: No such file or directory

My main question is with regards to where they say to set IMAP_PROXY to 1 in
the imapd/pop3d file but when I look at that start script, I don't see that
variable used anywhere.  Here's a full walkthrough of what I've done.

First, my LDAP entry:

# [EMAIL PROTECTED], test, spam
dn: [EMAIL PROTECTED],dc=test,dc=spam
objectClass: top
objectClass: MailAccount
accountStatus: TRUE
uid: 1000
userName: michaeln
mail: [EMAIL PROTECTED]
mailAlias: [EMAIL PROTECTED]
mailMessageStore: /var/Accounts/m.sub/i.sub/michaeln.macnt/
mailHost: hp1.test.spam
clearPassword: password2
userPassword:

My authldaprc:

LDAP_SERVER             dev2.test.spam
LDAP_PORT               389
LDAP_PROTOCOL_VERSION   3
LDAP_BASEDN             dc=test,dc=spam
LDAP_BINDDN             cn=Manager,dc=test,dc=spam
LDAP_BINDPW             secret
LDAP_TIMEOUT            5
LDAP_MAIL               userName
LDAP_FILTER             (accountStatus=TRUE)
LDAP_HOMEDIR            mailMessageStore
LDAP_MAILDIR            mailMessageStore
LDAP_DEFAULTDELIVERY    defaultDelivery
LDAP_FULLNAME           cn
LDAP_CLEARPW            clearPassword
LDAP_CRYPTPW            userPassword
LDAP_DEREF              never
LDAP_TLS                0
LDAP_GLOB_UID           imap
LDAP_GLOB_GID           imap
LDAP_AUXOPTIONS         mailhost=mailHost

The top few lines of the pop3d start script:

# You must run this as root, and as a daemon process.
#

POP3_PROXY=1
prefix="/usr/lib/courier"

The steps in the README.proxy seemed very, very straightforward.  I'm sure
that I just misunderstood something (I suspect it has to do with the
POP3/IMAP_PROXY environment variables).


Michael



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to