From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52574 Path: main.gmane.org!not-for-mail From: Matthias Andree Newsgroups: gmane.emacs.gnus.general Subject: nnimap compatibility issues (UTF-7, msg count, SEARCH vs. group select) Date: Tue, 13 May 2003 02:24:21 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1052785406 1583 80.91.224.249 (13 May 2003 00:23:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 May 2003 00:23:26 +0000 (UTC) Original-X-From: ding-owner+M1117@lists.math.uh.edu Tue May 13 02:23:22 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19FNZh-0000Os-00 for ; Tue, 13 May 2003 02:23:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19FNat-000586-00; Mon, 12 May 2003 19:24:35 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19FNal-000580-00 for ding@lists.math.uh.edu; Mon, 12 May 2003 19:24:27 -0500 Original-Received: (qmail 85380 invoked by alias); 13 May 2003 00:24:26 -0000 Original-Received: (qmail 85375 invoked from network); 13 May 2003 00:24:26 -0000 Original-Received: from pd951fa54.dip.t-dialin.net (HELO m2a2.dyndns.org) (postfix@217.81.250.84) by sclp3.sclp.com with SMTP; 13 May 2003 00:24:26 -0000 Original-Received: by merlin.emma.line.org (Postfix, from userid 500) id C1A0082B85; Tue, 13 May 2003 02:24:21 +0200 (CEST) Original-To: ding@gnus.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52574 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52574 Hi, I have some compatibility issues with using imap.web.de. First of all: Mozilla 1.3 and Sylpheed 0.8.11claws get it right, so it seems doable with some effort. Whether it's worth it, is up to others to decide, but I'll report it all the same, I have IMAP traces and profile or backtrace where needed. I don't speak IMAP4r1 very well, but I hope I got the relevant sections. I will refine my logs if needed. Contents: 1. UTF-7 decoding mangled 2. message count hosed 3. selecting group fails and hogs CPU to 100% load -------------------- 1. UTF-7 decoding mangled Here's the IMAP excerpt: 1 CAPABILITY * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ UIDPLUS X-NETSCAPE 1 OK Completed 2 LOGIN "hohohoimnottellingyou" "youdlovetoknow" 2 OK User logged in 3 LIST "" "*%" * LIST (\Noinferiors ) "/" "Trash" * LIST (\Noinferiors ) "/" "Unerw&APw-nscht" ... 3 OK Completed The "Unerw&APw-nscht" string is misdisplayed in the server buffer, it prints as "Unerw.=FCnscht"; UTF-7 decoding is on. However, it appears correctly as "Unerw=C3=BCnscht" in other client software, namely Sylpheed 0.8.11claws and Mozilla 1.3. Just in case: CVS 5.10.x Gnus, emacs 21.3. -------------------- 2. Next, the INBOX message count in the server buffer is apparently hosed: K 0: Gesendet 107062715: INBOX K 0: Papierkorb Evidently, the INBOX has only 365 messages. 18 EXAMINE "INBOX" * 365 EXISTS * OK [UNSEEN 7] Message 359 is first unseen * OK [PERMANENTFLAGS (\Deleted \Seen \Answered)] * OK [UIDVALIDITY 1] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) 18 OK Completed [READ-ONLY] 19 FETCH 1,* UID * 1 FETCH (UID 643933627) * 365 FETCH (UID 700320820) 19 OK Completed -------------------- 3. Group selection fails with 100% CPU loop (the server is agentized, FWIW): 26 SELECT "INBOX" * 365 EXISTS * OK [UNSEEN 7] Message 359 is first unseen * OK [PERMANENTFLAGS (\Deleted \Seen \Answered)] * OK [UIDVALIDITY 1] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) 26 OK Completed [READ-WRITE] 27 UID SEARCH UNSEEN UNDELETED 27 BAD Function not implemented 28 UID SEARCH SEEN 28 BAD Function not implemented ... Gnus then tries SEARCH ANSWERED, SEARCH RECENT (all BAD), again FETCH, and these four SEARCH commands again and then goes into a 100% CPU loop. Here's the ELP trace: Function Name Call Count Elapsed Time Average = Time =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D nnimap-request-group 2 16.718578 8.359289 nnimap-request-update-info-internal 2 16.645619 8.3228095 nnimap-find-minmax-uid 1 0.071981 0.071981 nnimap-mark-permanent-p 28 0.001458 5.207...= e-05 nnimap-possibly-change-group 4 0.00096 0.00024 nnimap-mark-to-flag 30 0.0006149999 2.049...= e-05 nnimap-mark-to-flag-1 30 0.0001290000 4.300...= e-06 nnimap-server-opened 2 7.8e-05 3.9e-05 And here's a backtrace, just in case: Debugger entered--Lisp error: (quit) gnus-list-of-unread-articles("nnimap+imap.web.de:INBOX") gnus-select-newsgroup("nnimap+imap.web.de:INBOX" nil nil) gnus-summary-read-group-1("nnimap+imap.web.de:INBOX" nil nil nil nil nil) gnus-summary-read-group("nnimap+imap.web.de:INBOX" nil nil nil nil nil ni= l) gnus-group-read-group(nil) gnus-mouse-pick-group((mouse-2 (# 37 (324 . 13) 569= 61915))) call-interactively(gnus-mouse-pick-group) ... --=20 Matthias Andree