+2010-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
+
2010-11-27 Andrew Cohen <cohen@andy.bu.edu>
* nnir.el: Fix typos.
(nnheader-report 'nnimap "Unable to contact %s:%s via %s"
nnimap-address port nnimap-stream)
(gnus-set-process-query-on-exit-flag stream nil)
- (if (not (string-match "[*.] \\([A-Z0-9]+\\)" greeting))
+ (if (not (string-match "[*.] OK" greeting))
(nnheader-report 'nnimap "%s" greeting)
;; Store the greeting (for debugging purposes).
(setf (nnimap-greeting nnimap-object) greeting)