[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

buglet in imap.el and strange behavior with browse-foreign-server



First of all, I had to change imap.el in order for it to work with
cram-md5 and Emacs 20.4: I replaced base64-encode with
base64-encode-string and base64-decode with base64-decode-string.

After this, I could `B' from the Group buffer to browse an
experimental IMAP server and could successfully log in using
cram-md5.  Good.

But then, I got these messages:

,-----
| Reading active file...
| nnimap: Generating active list for stan...
| Imap-mailbox-data is nil. Property list value nil mailbox obsolete
`-----

Excerpt from *imap-log*:

,-----
| * OK stan Cyrus IMAP4 v1.6.1-BETA server ready
| 1 CAPABILITY
| * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME AUTH=PLAIN AUTH=CRAM-MD5 UNSELECT
| 1 OK Completed
| 2 AUTHENTICATE CRAM-MD5
| + CENSORED==
| CENSORED=
| 2 OK Success (no protection)
`-----

I.e. nothing seemed to happen after successfully logging in.

Excerpt from *nnimap-debug*:

,-----
| 1 -> nnimap-server-opened: server="stan"
| 1 <- nnimap-server-opened: nil
| ======================================================================
| 1 -> nnimap-open-server: server="stan" defs=nil
| | 2 -> nnimap-server-opened: server="stan"
| | 2 <- nnimap-server-opened: nil
| | 2 -> nnimap-open-connection: server="stan"
| | | 3 -> nnimap-possibly-change-server: server="stan"
| | | 3 <- nnimap-possibly-change-server: " *nnimap* stan"
| | 2 <- nnimap-open-connection: (("stan" " *nnimap* stan") ("" " *nnimap* "))
| 1 <- nnimap-open-server: (("stan" " *nnimap* stan") ("" " *nnimap* "))
| ======================================================================
| 1 -> nnimap-request-list: server="stan"
| | 2 -> nnimap-possibly-change-server: server="stan"
| | 2 <- nnimap-possibly-change-server: " *nnimap* stan"
| | 2 -> nnimap-pattern-to-list-arguments: pattern="*"
| | 2 <- nnimap-pattern-to-list-arguments: ((nil . "*"))
`-----

Hm.  Does this help to identify the problem?

kai
-- 
Life is hard and then you die.