Kevin Brubeck Unhammer čálii: > Kevin Brubeck Unhammer čá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