-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 

Hi,
I've been testing Courier for a while now. Recently, we've come across
a problem that Courier won't auth on IMAP with PAM. Errors at the
bottom of the mail. The LDAP problem may be related to
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/51315 I
managed to fix the problem by setting:

IMAP_ULIMITD=131072

in /etc/courier/imapd This is 128MB instead of the normal 64MB. Seems
like a hell of a lot of memory. The comments above the setting suggest
64MB should be plenty.

I followed the courier docs to test authdaemon - POP3(S) seemed to
work fine.

System:
Ubuntu AMD64 7.04 "Feisty"
All packages from Ubuntu repositories
Courier: 0.53.3-5ubuntu1
courier-imap(-ssl): 4.1.1.20060828-5ubuntu1

Any suggestions?

Regards,
Cian Davis
 
/var/log/mail.log
Apr 29 13:45:13 gir couriertcpd: getpwnam: Cannot allocate memory
Apr 29 13:45:15 gir couriertcpd: Connection, ip=[::ffff:<$IP>]

/var/log/auth.log
Apr 29 13:45:12 gir imaplogin: unable to dlopen
/usr/lib/sasl2/libdigestmd5.so.2: libcrypto.so.0.9.8: failed to map
segment from shared object: Cannot allocate memory
Apr 29 13:45:12 gir imaplogin: unable to dlopen
/usr/lib/sasl2/liblogin.so.2: /usr/lib/sasl2/liblogin.so.2: failed to
map segment from shared object: Cannot allocate memory
Apr 29 13:45:12 gir imaplogin: unable to dlopen
/usr/lib/sasl2/libntlm.so.2: /usr/lib/sasl2/libntlm.so.2: failed to
map segment from shared object: Cannot allocate memory
Apr 29 13:45:12 gir imaplogin: nss_ldap: could not connect to any LDAP
server as <$ROOT_BIND_DN> - Can't contact LDAP server
Apr 29 13:45:12 gir imaplogin: nss_ldap: failed to bind to LDAP server
ldaps://<$LDAP_SERVER>: Can't contact LDAP server
Apr 29 13:45:12 gir imaplogin: nss_ldap: reconnecting to LDAP server...
Apr 29 13:45:12 gir imaplogin: nss_ldap: could not connect to any LDAP
server as <$ROOT_BIND_DN> - Can't contact LDAP server
Apr 29 13:45:12 gir imaplogin: nss_ldap: failed to bind to LDAP server
ldaps://<$LDAP_SERVER>: Can't contact LDAP server
Apr 29 13:45:12 gir imaplogin: nss_ldap: reconnecting to LDAP server
(sleeping 1 seconds)...
Apr 29 13:45:13 gir imaplogin: nss_ldap: could not connect to any LDAP
server as <$ROOT_BIND_DN> - Can't contact LDAP server
Apr 29 13:45:13 gir imaplogin: nss_ldap: failed to bind to LDAP server
ldaps://<$LDAP_SERVER>: Can't contact LDAP server
Apr 29 13:45:13 gir imaplogin: nss_ldap: could not search LDAP server
- - Server is unavailable

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGNdUa2yUma7R/3b8RAgakAJ4+K27uZzByf5LMacVBMWC0wYuJ9QCeMMT6
J8nfcE+sBeubIsGIwmsUkJs=
=QIVN
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to