Hello,
I've installed courier-imap 1.7.3 from debian unstable (package "-5").
I try to use it with mutt 1.5.4 (also from debian unstable, package "-1").
When I configure mutt as follows:
set folder = imap://localhost/ set spoolfile = imap://localhost/inbox set imap_user = amos set imap_force_ssl = no set ssl_starttls = no
(the last two were added later to stop it from using ssl) mutt asks for my password and then just says "Connection to localhost closed".
I tcpdump'ed the connection and this is what I found (S = imap server, C = client, used tcpflow):
S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See COPYING for distribution information.
C: a0000 CAPABILITY
S: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS
a0000 OK CAPABILITY completed
C: a0001 LOGIN "amos" "PASSWORD"
S: a0001 OK LOGIN Ok.
C: a0002 LIST "" ""
S: * LIST (\Noselect) "." "" a0002 OK LIST completed.
C: a0003 SELECT "INBOX"
S: * BYE [ALERT] Fatal error: No such file or directory
C: a0004 CLOSE
The last "CLOSE" apparently happens after IMAP shut the connection down in the client's face, causing mutt to say "CLOSE failed".
I now see that the list is empty and the server closes on selection of a non-existing inbox. My home directory looks like this:
~/Maildir: inbox/ (a Maildir, with "cur", "new" and "tmp" subdirs) INBOX@ -> inbox (i.e. INBOX is a symlink) other maildirs...
You need to re-read all the documentation about Maildirs. You've done it completely wrong. ~/Maildir *is* actually your inbox, and it should be a proper maildir with cur, new and tmp in it. Having ~/Maildir/inbox is no good, and the symlink from INBOX to inbox is unnecessary.
-- Anand
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
