From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18793 Path: news.gmane.org!.POSTED!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.user Subject: Re: wrong unread count on imap server synced with offlineimap Date: Tue, 13 Feb 2018 14:31:44 -0500 Message-ID: <87k1vgit3z.fsf@uwo.ca> References: <87r2psan4f.fsf@free.fr> <87r2psdcc7.fsf@uwo.ca> <87k1vj4sgv.fsf@free.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1518550258 24934 195.159.176.226 (13 Feb 2018 19:30:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Feb 2018 19:30:58 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Feb 13 20:30:54 2018 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elgHm-0005Hd-Ow for gegu-info-gnus-english@m.gmane.org; Tue, 13 Feb 2018 20:30:38 +0100 Original-Received: from localhost ([::1]:41861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elgJo-00027b-FY for gegu-info-gnus-english@m.gmane.org; Tue, 13 Feb 2018 14:32:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elgJe-00026I-7J for info-gnus-english@gnu.org; Tue, 13 Feb 2018 14:32:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elgJb-0001mU-0P for info-gnus-english@gnu.org; Tue, 13 Feb 2018 14:32:34 -0500 Original-Received: from [195.159.176.226] (port=33132 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elgJa-0001lr-PX for info-gnus-english@gnu.org; Tue, 13 Feb 2018 14:32:30 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1elgHH-0003Vs-IJ for info-gnus-english@gnu.org; Tue, 13 Feb 2018 20:30:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:OIhGpLD9++CRao92Nuod2jrOpNU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18793 Archived-At: On Feb 11, 2018, Julien Cubizolles wrote: > Dan Christensen writes: > > >> I don't think your set-up makes sense. I don't think it is possible >> for offlineimap to ensure that the two IMAP servers use the same >> internal message numbers when it copies messages. And Gnus uses >> these numbers to track things like unread status, so you shouldn't >> use the same .newsrc.eld for the two servers. If you don't >> synchronize the .newsrc.eld, things should work fine. > > But only if I synchronize the .newsrc.eld file can I get the > tick/dormant and so one flags consistent between the two machines The following explains how to make offlineimap sync the custom gnus flags: https://github.com/OfflineIMAP/offlineimap/wiki/Syncing-custom-tags > not to mention the nnml groups I also use. That's a harder problem. But if you use different server names for the IMAP servers on the two machines, then maybe synchronizing the .newsrc.eld won't cause a problem with IMAP. Dan