From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Rainer Orth Newsgroups: gmane.emacs.bugs Subject: bug#40089: 27.0.90; nnimap shows empty groups with Cyrus IMAP 3.0.11 Date: Mon, 16 Mar 2020 14:49:39 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="62422"; mail-complaints-to="usenet@ciao.gmane.io" To: 40089@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 16 17:25:22 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jDsYL-000G6S-SN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Mar 2020 17:25:21 +0100 Original-Received: from localhost ([::1]:42138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDsYK-0004Sr-Tl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Mar 2020 12:25:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51697) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDq84-00020b-Fk for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2020 09:50:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDq82-0007jk-H4 for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2020 09:50:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDq81-0007ia-RK for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2020 09:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDq81-00076G-Nv; Mon, 16 Mar 2020 09:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rainer Orth Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 16 Mar 2020 13:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40089 X-GNU-PR-Package: emacs,gnus X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158436659527273 (code B ref -1); Mon, 16 Mar 2020 13:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Mar 2020 13:49:55 +0000 Original-Received: from localhost ([127.0.0.1]:36214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDq7u-00075p-P3 for submit@debbugs.gnu.org; Mon, 16 Mar 2020 09:49:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDq7s-00075g-Dn for submit@debbugs.gnu.org; Mon, 16 Mar 2020 09:49:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51468) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDq7p-0001wr-NY for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2020 09:49:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDq7m-0006ze-U7 for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2020 09:49:48 -0400 Original-Received: from smtp.cebitec.uni-bielefeld.de ([129.70.160.84]:34564) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDq7l-0006g4-U6 for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2020 09:49:46 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 58FA4A6C69 for ; Mon, 16 Mar 2020 14:49:42 +0100 (CET) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Original-Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vRriQ-ccWlkE for ; Mon, 16 Mar 2020 14:49:41 +0100 (CET) Original-Received: from manam.CeBiTec.Uni-Bielefeld.DE (p4FDDB167.dip0.t-ipconnect.de [79.221.177.103]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 2C5ABA6347 for ; Mon, 16 Mar 2020 14:49:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1584366581; bh=tfbRArmxn5jlTMY00gSMLAfO3obLxixqNrWOLyt4GCU=; h=From:To:Subject:Date:From; b=jxEV41l3TCj+j37tV2aTObhkCHsaD2AiCcmna0V0hMtbK7yutnGwrN0VBMJmDlg0L Y7ZdFoMwBcFe4+NY4WKGKH37/U3dxxG2zsCiVHxoBlZlkNTyyFhxE6Dee4qMAlF4SQ cXkOtIHDm4fHCuLzgHSf2a+h/JDN2WCBPbFLC/3pF/smCuRhe7HFF/4wY07aE5ubVw inbo8qH5934bTGIbKx5vHfRe00sWdluBYmA4qliXgO8E4hChHV/Zlids+lokWpo32T iZaa642l26pKx+J4OqcWdTsOb3rwtvW4EgX3+Pjd5BSgseeBJKfkqB7t3KnpVurMG3 SDWzj1X8Aa2Zw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177414 Archived-At: Our site recently switched from Cyrus IMAP 2.3.14 to 3.0.11. The first time I connected to the new server, everything seemed fine (i.e. both the correct nnimap groups were listed as well as the messages in the groups). However, once I've quit a group and reenter it, at best newly arrived messages are shown, even in groups that have several marked messages and thus shouldn't come up empty. When no new messages are present, the groups comes up empty, and if I try to enter it with C-u =, I just get e.g. Group nnimap+cebitec:INBOX contains no messages which is simply not true. What is a bit weird that in the group view, all groups containing marked messages still showed up with the leading "*", despite the claim not to contain messages. Other mail clients (e.g. Thunderbird 68.4.1) show no unexpected behaviour, displaying the group contents as expected, and we also got no complaints from our users after the server upgrade, which mildly suggests an issue on the nnimap side. I originally experienced this with Emacs 26.3, but after upgrading to 27.0.90, the problem remains. In the imapd logs, I find many message like Mar 12 12:04:02 imap cyrus/imaps[29978]: inefficient qresync (1880 > 1503) user.ro.llvm-project for my mailboxes, which suggests something weird is going on. I did enable full session logging for my mailbox, but my IMAP foo is very weak these days, having looked deeper into the protocol more than 15 years ago. Prompted by the "inefficient qresync" messages cited above and the fact that the previous imapd version didn't support that extension, I tried and disabled it in impad.conf (suppress_capabilities: QRESYNC) and immediately, everything went back to normal: my nnimap groups show all the expected contents and nothing vanishes. In GNU Emacs 27.0.90 (build 1, x86_64-pc-solaris2.11, GTK+ Version 3.24.11) of 2020-03-12 built on manam Windowing system distributor 'Oracle Corporation, based on X.Org Foundation sources', version 11.0.12006000 System Description: Oracle Solaris Trunk Recent messages: No news is good news Saving /homes/ro/.newsrc.eld... Saving file /homes/ro/.newsrc.eld... Wrote /homes/ro/.newsrc.eld Saving /homes/ro/.newsrc.eld...done Checking new news... Reading active file via nnnil...done nnimap read 129k from imap.CeBiTec.Uni-Bielefeld.DE Checking new news...done No news is good news Configured using: 'configure 'CFLAGS=-g3 -O2 -m64' --prefix=/vol/gnu --without-gif PKG_CONFIG_PATH=/usr/lib/64/pkgconfig:/usr/lib/64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF PNG RSVG DBUS GSETTINGS GLIB NOTIFY GFILENOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: gnus-topic-mode: t cursor-sensor-mode: t gnus-undo-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: /homes/ro/.emacs.d/elpa/go-mode-1.5.0/go-mode hides /vol/gnu/share/emacs/site-lisp/go-mode /vol/gnu/share/emacs/site-lisp/psgml/psgml-edit hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-edit /vol/gnu/share/emacs/site-lisp/psgml/psgml-charent hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-charent /vol/gnu/share/emacs/site-lisp/psgml/psgml-dtd hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-dtd /vol/gnu/share/emacs/site-lisp/psgml/psgml-parse hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-parse /vol/gnu/share/emacs/site-lisp/psgml/psgml-api hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-api /vol/gnu/share/emacs/site-lisp/psgml/psgml-info hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-info /vol/gnu/share/emacs/site-lisp/psgml/psgml-other hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-other /vol/gnu/share/emacs/site-lisp/psgml/psgml hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml /vol/gnu/share/emacs/site-lisp/psgml/psgml-other hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-other /vol/gnu/share/emacs/site-lisp/psgml/psgml-edit hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-edit /vol/gnu/share/emacs/site-lisp/psgml/psgml hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml /vol/gnu/share/emacs/site-lisp/psgml/psgml-api hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-api /vol/gnu/share/emacs/site-lisp/psgml/psgml-info hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-info /vol/gnu/share/emacs/site-lisp/psgml/psgml-dtd hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-dtd /vol/gnu/share/emacs/site-lisp/psgml/psgml-charent hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-charent /vol/gnu/share/emacs/site-lisp/psgml/psgml-parse hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-parse /vol/gnu/share/emacs/site-lisp/info-look hides /vol/gnu/share/emacs/27.0.90/lisp/info-look Features: (shadow emacsbug tabify conf-mode shr-color color dired-aux vc-filewise vc-rcs jka-compr misearch multi-isearch smerge-mode diff diff-mode easy-mmode mailalias smtpmail pcase sendmail nnir gnus-draft flow-fill mule-util mm-archive cl-extra help-mode sort smiley ansi-color gnus-cite mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table gnus-topic cursor-sensor nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig utf-7 rfc2104 gnutls network-stream nsm nnfolder gnus-cache gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml dom nnnil gnus-demon nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date mail-utils mm-util mail-prsvr wid-edit tex-site finder-inf desktop frameset package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind gfilenotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 779860 123163) (symbols 48 19770 17) (strings 32 85182 20497) (string-bytes 1 2781675) (vectors 16 42632) (vector-slots 8 1438075 147088) (floats 8 458 325) (intervals 56 6739 2126) (buffers 1000 102)) -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University