http://seclists.org/bugtraq/2007/Apr/0018.html
(Suggested by Tatsuya Kinoshita)
+2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
+ http://seclists.org/bugtraq/2007/Apr/0018.html
+ (Suggested by Tatsuya Kinoshita)
+
2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
* elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
(car response)))
(defun elmo-pop3-auth-apop (session)
- (unless (string-match "^\+OK .*\\(<[^\>]+>\\)"
+ (unless (string-match "^\+OK .*\\(<[=!-;?-~]+@[=!-;?-~]+>\\)"
(elmo-network-session-greeting-internal session))
(signal 'elmo-open-error '(elmo-pop3-auth-apop)))
;; good, APOP ready server