Reported by Trey Jackson <trey_jackson@mentor.com>.
* lisp/gnus/mail-source.el (mail-source-fetch-imap): Check
`mail-source-password-cache' for password.
;; remember password
(with-current-buffer buf
(when (and imap-password
- (not (assoc from mail-source-password-cache)))
+ (not (member (cons from imap-password)
+ mail-source-password-cache)))
(push (cons from imap-password) mail-source-password-cache)))
;; if predicate is nil, use all uids
(dolist (uid (imap-search (or predicate "1:*") buf))