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...
The permissions on Maildir allow full access to me on all directories,
limited or no access to others.
I've been googling for an answer for a day now and still can't find it. The
daemon's logs didn't supply a clue (set the log level to "1").
Can anyone help me with this?
Thanks,
--Amos