Package: wl-beta
Version: 2.15.4+0.20061015-1
Severity: important
Tags: patch

In the upstream mailing list, [wl:14112] on 2006-11-29,
MORITA Naoyuki reports that an IMAP connection fails with
wl-beta 2.15.4+0.20061015-1 as follows:

| Garbage response: MESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT
| QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright
| 1998-2004 Double Precision, Inc.  See COPYING for distribution
| information. [2 times]
| byte-code: IMAP error: No `OK' response from server.

This bug is affected to wl-beta 2.15.4+0.20061015-1 (etch) and
fixed in wl-beta 2.15.5+0.20061203-1 (sid) with the follwing patch:

----
--- elmo/elmo-imap4.el  7 Nov 2006 14:18:53 -0000       1.158
+++ elmo/elmo-imap4.el  29 Nov 2006 13:43:43 -0000
@@ -983,8 +983,8 @@
       ;; Skip garbage output from process before greeting.
       (while (and (memq (process-status process) '(open run))
                  (goto-char (point-max))
-                 (forward-line -1)
-                 (not (elmo-imap4-parse-greeting)))
+                 (or (/= (forward-line -1) 0)
+                     (not (elmo-imap4-parse-greeting))))
        (accept-process-output process 1))
       (erase-buffer)
       (set-process-filter process 'elmo-imap4-arrival-filter)
----

Thanks,
--
Tatsuya Kinoshita

Attachment: pgpwWN73ZLsN5.pgp
Description: PGP signature

Reply via email to