When I issue the IMAP command LOGIN for a valid user/password with no
maildir, courier-imap drops the connection.

This seems like a reasonable response to me. Unfortunately, this causes
the popular web mail client squirrelmail to go into an endless loop and
eat up all the available CPU until apache is killed or timed out. The IMP
web mail client works fine.

I know this is a problem with squirrelmail, and I have hacked it to
prevent this. However, I am curious if the IMAP spec would suggest other
behavior for courier-imap. It seems to me the preferred response might be
one of 'OK', 'NO', or 'BAD'--instead of just dropping the connection.

just a thought
-elijah

p.s.

I am using:
  debian stable
  courier-imap 1.4.3-2.3

my setup: user accounts are in ldap, and until an account is 'active' it
does not actually have a maildir or a maildir attribute in the ldap entry.
I am assuming that courier-imap attempts to chdir to '' and dies. (the
same thing happens if there is a maildir attr but the actual maildir
doesn't exist). I like having accounts in ldap which don't yet have
maildirs, because then 'pending' users can edit their other settings
before they are approved and able to send and receive mail.

apologies if this behavior is changed in newer versions of courier-imap.
I have checked the changelog and didn't see anything.

(as an aside, i just migrated a couple thousand users from cyrus to
courier and i couldn't be happier.)



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to