From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20793 invoked from network); 11 Feb 2023 11:46:57 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 11 Feb 2023 11:46:57 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pQoLH-009T0e-65 for ml@inbox.vuxu.org; Sat, 11 Feb 2023 05:46:55 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1pQoLG-000Ckj-2p for ml@inbox.vuxu.org; Sat, 11 Feb 2023 05:46:54 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1pQoLC-000Cka-0n for ding@lists.math.uh.edu; Sat, 11 Feb 2023 05:46:50 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pQoL6-009T0A-Ee for ding@lists.math.uh.edu; Sat, 11 Feb 2023 05:46:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=x5+Wg5Wa8Q1EzGSe4VjUx8wkriEYqmZVLTHyaEMsRyQ=; b=WHRDti8mgu1NjdinVyvRLIZtfx w7is3rueBxvd2o09t4cMVqDNfdt5peC/kYaelC8gMBwAybm3rTvhF/1pM/1cmjNu/3GYxzhsb9pt7 NahthURUvb20trrIwCW00V6tNDtfcSCaWwrQI6id1WeUYfH5BUMVU7fCkH8yvcwvN8Dw=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pQoKx-0004Yt-57 for ding@gnus.org; Sat, 11 Feb 2023 12:46:39 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pQoKu-0006k5-9r for ding@gnus.org; Sat, 11 Feb 2023 12:46:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org To: ding@gnus.org From: Steinar Bang Subject: nnimap displays wrong article after server move (Was: "Ghost count" on nnimap group after server move) Date: Sat, 11 Feb 2023 12:46:24 +0100 Organization: Probably a good idea Message-ID: <87o7q0xw4v.fsf_-_@dod.no> References: <87lel5zecb.fsf@dod.no> <87h6vtzdlp.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:0HiwaZebd3FyPMDoYWsr62BUvCQ= Mail-Copies-To: never List-ID: Precedence: bulk Summary: - I have moved my IMAP server to a different machine - Both machines running dovecot on debian 11.6. - I have rsynced config and mail from the old server to the new - I see weird behaviour in Gnus after the move By "weird behaviour", I mean: - The count issues mentioned earlier in this thread - Missing articles (articles I thought I had seen in gnus were gone from the Maildir, when I looked into the Maildir on the server) - Re-appearing deleted articles (some spam articles I was sure I had deleted in gnus with "B DEL" were still in the Maildir) I thought the problem was in the server: something in the dovecot.* files in the Maildir directories maybe. But then I switched off the gnus agent for that IMAP server and I saw different kind of strange: In the group summary, I saw the same articles I saw in the Maildir, which were not the same articles I saw with the agent present. I tried sending some messages from my work address. The messages arrived, and looked right in the summary: R [ 5: BANG Steinar ] Test fra jobben til meg hos bang 1 R [ 5: BANG Steinar ] Test fra jobben steinar at bang 2 But the content of the messages were older messages, eg. for the first one (wrong subject, wrong text in the body 1and wrong date), with anonymized email addresses: From: BANG Steinar Subject: Test fra jobben To: "sb@mydomain.no" Date: Tue, 7 Feb 2023 22:08:52 +0000 (3 days, 13 hours, 12 minutes ago) Attachment: [3. text/html]... Kommer denne fram? So then I thought: is it my client? So I installed thunderbird and added the server credentials, and yep, I saw the same files I saw physically in the Maildir. So yep, definitely my client. So in case someone wonders: Moving from one dovecot to another, using rsync for dovecot config and the mail content, and switching the server in DNS, while keeping the config on gnus (agent disconnected until the DNS alias had switched), probably doesn't work. There is something funky with the article ids probably? That's why I saw articles in the agent that no longer were present on the server, and saw articles I thought I had deleted. I had "B DEL"'d the wrong articles on the server. So will need to sync up gnus to the current server somehow? Why do I get the wrong articles? Can gnus be loading the agent articles even though I stopped using agent for that server? Things to try: 1. Stop gnus and rename the agent directory for the server 2. Delete all groups from the server and stop gnus and then restart gnus on a different emacs (to ensure nothing is cached in memory) and readd the groups I'll do the above anyway, but if someone have suggestions to things I should have done instead, then I'll be happy to hear them (even if they come too late for me).