when the LOGINDISABLED capability is advertised.
+2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
+ when the LOGINDISABLED capability is advertised.
+
2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
* elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
(concat "(" (downcase (elmo-match-string 1 string)) ")"))))
(defun elmo-imap4-clear-login (session)
+ (when (elmo-imap4-session-capable-p session 'logindisabled)
+ (signal 'elmo-authenticate-error '(elmo-imap4-clear-login)))
(let ((elmo-imap4-debug-inhibit-logging t))
(or
(elmo-imap4-read-ok