* lisp/nnimap.el (nnimap-open-connection-1): Don't assume full
capabilities will be returned in the login-result.
+2015-08-02 Nikolaus Rath <Nikolaus@rath.org>
+
+ * nnimap.el (nnimap-open-connection-1): explicitly ask server for
+ capabilities instead of relying on LOGIN response.
+
2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
* nnbabyl.el (nnbabyl-retrieve-headers):
(funcall (nth 2 credentials)))
;; See if CAPABILITY is set as part of login
;; response.
- (dolist (response (cddr login-result))
+ (dolist (response (cddr (nnimap-command "CAPABILITY")))
(when (string= "CAPABILITY" (upcase (car response)))
(setf (nnimap-capabilities nnimap-object)
(mapcar #'upcase (cdr response))))))