Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Kevin Brubeck Unhammer <unhammer@fsfe.org>
To: info-gnus-english@gnu.org
Subject: Re: *Group* message counts completely off (and not changing) for imap
Date: Mon, 23 Jan 2017 10:37:31 +0100	[thread overview]
Message-ID: <87pojeglr8.fsf@fsfe.org> (raw)
In-Reply-To: <871svvh3ks.fsf@fsfe.org>


[-- Attachment #1.1: Type: text/plain, Size: 1542 bytes --]

Kevin Brubeck Unhammer <unhammer@fsfe.org> čálii:

> Kevin Brubeck Unhammer <unhammer@fsfe.org> čálii:
>
>> Hi,
>>
>> I'm using mbsync+dovecot and a .newsrc.eld synced with Syncthing. When I
>> enter the *Group* buffer, the message count is completely off for the
>> IMAP folders, e.g. it claims 729 unread for my INBOX that has 21 read
>> articles and no unread. Another machine claims 1041. Where do the
>> *Group* counts come from, and what do I do to fix it? I've had issues
>> with synced .newsrc.eld's before, but typically the numbers were fixed
>> by just entering and exiting the summary, but no longer.
>
> However, when I do ^ and look at IMAP folders I can subscribe to, it
> shows the correct counts in that buffer.

Actually, they're not always correct there either – my INBOX currently
has one message in cur with UID 67:

$ cat .Maildir/INBOX/.uidvalidity 
1484944233
67

$ cat .Maildir/INBOX/dovecot-uidlist 
3 V1484949311 N68 G9afa571227878258553300006656e48d
67 W18869 :1485162486.975_430.tenkjepadda,U=67

but when I do ^, *Gnus Browse Server* shows 67 as the message *count*:

      67: INBOX

while *Group* currently says

      1028: nnimap.fmmbsync.INBOX


-----


This is the secondary-select-method, by the way:

 '(nnimap "fmmbsync"
    (nnimap-address "localhost")
    (nnimap-shell-program "MAIL=maildir:$HOME/.Maildir /usr/lib/dovecot/imap")
    (nnimap-stream shell))

Dovecot has

  mail_location = maildir:~/.Maildir/:LAYOUT=fs:INBOX=~/.Maildir/INBOX


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]



  reply	other threads:[~2017-01-23  9:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-21  7:59 Kevin Brubeck Unhammer
2017-01-21  8:20 ` Kevin Brubeck Unhammer
2017-01-22  9:00 ` Kevin Brubeck Unhammer
2017-01-23  9:37   ` Kevin Brubeck Unhammer [this message]
2017-01-22 22:00 ` Dan Christensen
2017-01-23  9:00   ` Kevin Brubeck Unhammer
2017-01-23 10:16 ` Kevin Brubeck Unhammer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pojeglr8.fsf@fsfe.org \
    --to=unhammer@fsfe.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).