Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.emacs.gnus > #7830 > unrolled thread

how to correct (?) the article count on the nnimap inbox

Started byGijs Hillenius <gijs@hillenius.net>
First post2023-07-20 18:13 +0200
Last post2023-07-24 17:04 +0200
Articles 4 — 2 participants

Back to article view | Back to gnu.emacs.gnus


Contents

  how to correct (?) the article count on the nnimap inbox Gijs Hillenius <gijs@hillenius.net> - 2023-07-20 18:13 +0200
    Re: how to correct (?) the article count on the nnimap inbox Thomas Dupond <thomas@dupond.eu> - 2023-07-24 11:34 +0200
    Fixed (was: how to correct (?) the article count on the nnimap inbox) Gijs Hillenius <gijs@hillenius.net> - 2023-07-24 14:44 +0200
      Re: Fixed Thomas Dupond <thomas@dupond.eu> - 2023-07-24 17:04 +0200

#7830 — how to correct (?) the article count on the nnimap inbox

FromGijs Hillenius <gijs@hillenius.net>
Date2023-07-20 18:13 +0200
Subjecthow to correct (?) the article count on the nnimap inbox
Message-ID<87pm4mr26c.fsf@hillenius.net>
Hi!

A rather messy update on the imap server has impacted My Gnus inbox.

When I run gnus-topic-get-new-news-this-topic on the Inbox it shows
700417: nnimap+server:INBOX

When I run gnus-topic-catchup-articles, it goes to 0.

When I run gnus-group-get-new-news it will show 0.

But there is new unread mail in the INBOX. I will only see it because
the number increases at gnus-topic-get-new-news-this-topic

So I am losing track of new mail in the INBOX. Some mail I will only
find hours after delivery, having cycled thru g, c, M-g and restarting
gnus.

I've tried various things, including putting back a .newsrc-eld and
.newsrc-dribble from last week, and changing the numbers via
gnus-topic-edit-parameters:

,----
| ((modseq . "4645") (uidvalidity . "1689838942") (active 81 . 702488)
|  (permanent-flags %Answered %Flagged %Draft %Deleted %Seen gnus-expire
| 		  gnus-dormant gnus-score gnus-save gnus-download
| 		  gnus-forward %*)
|  (visible . t))
`----

I had the same with (only) one of the subfolders, which in the end I
"fixed" by simply deleting it. Recreating the same folder unfortunately
made the problem reappear, so I deleted it /forever/. Can't do that with
the inbox. Right?

I've checked ALL the other folders for some kind of unread messages that
are tallied into the count on the inbox.


If anybody has suggestions, thanks

Gijs

[toc] | [next] | [standalone]


#7831

FromThomas Dupond <thomas@dupond.eu>
Date2023-07-24 11:34 +0200
Message-ID<00zg3lhcui.fsf@pc-lheea204.ec-nantes.fr>
In reply to#7830
Hi Gijs,

Gijs Hillenius <gijs@hillenius.net> a écrit :
> A rather messy update on the imap server has impacted My Gnus inbox.
>
> When I run gnus-topic-get-new-news-this-topic on the Inbox it shows
> 700417: nnimap+server:INBOX
>
> When I run gnus-topic-catchup-articles, it goes to 0.
>
> When I run gnus-group-get-new-news it will show 0.
>
> But there is new unread mail in the INBOX.

I have also encountered this behaviour but my solution may not be the
best :(

To solve this I migrated to using offlineimap3 and nnmaildir in Gnus
and I have not had an issue since!

I configured offlineimap3 with the dedicated systemd services to fetch
mails every two minutes and it works like a charm.

I also use mairix and nnmairix to search for email and just rebuild
the database every time offlineimap3 fetches mail.

If I can help in setting this up by sharing my config I will no
problems.

Cheers,
-- 
Thomas

[toc] | [prev] | [next] | [standalone]


#7832 — Fixed (was: how to correct (?) the article count on the nnimap inbox)

FromGijs Hillenius <gijs@hillenius.net>
Date2023-07-24 14:44 +0200
SubjectFixed (was: how to correct (?) the article count on the nnimap inbox)
Message-ID<87wmypo4vz.fsf@hillenius.net>
In reply to#7830
On 20 July 2023 18:13 Gijs Hillenius, wrote:

> Hi!
>
> A rather messy update on the imap server has impacted My Gnus inbox.
>
> When I run gnus-topic-get-new-news-this-topic on the Inbox it shows
> 700417: nnimap+server:INBOX
>
> When I run gnus-topic-catchup-articles, it goes to 0.
>
> When I run gnus-group-get-new-news it will show 0.
>
> But there is new unread mail in the INBOX. I will only see it because
> the number increases at gnus-topic-get-new-news-this-topic
>
> So I am losing track of new mail in the INBOX. Some mail I will only
> find hours after delivery, having cycled thru g, c, M-g and restarting
> gnus.

After lots of others attempts to solve this, I fixed the INBOX article
count problem by recreating the account;

1) duplicate the server in the *Server* buffer (giving a different name)

2) adapt various settings in gnus.el, to use this new server

3) subscribe to all mailfolders (like for the other server)

4) close the other server

[toc] | [prev] | [next] | [standalone]


#7833 — Re: Fixed

FromThomas Dupond <thomas@dupond.eu>
Date2023-07-24 17:04 +0200
SubjectRe: Fixed
Message-ID<00r0oxgxl9.fsf@pc-lheea204.ec-nantes.fr>
In reply to#7832
Gijs Hillenius <gijs@hillenius.net> a écrit :

> After lots of others attempts to solve this, I fixed the INBOX article
> count problem by recreating the account;
>
> 1) duplicate the server in the *Server* buffer (giving a different name)
>
> 2) adapt various settings in gnus.el, to use this new server
>
> 3) subscribe to all mailfolders (like for the other server)
>
> 4) close the other server

Nice, hope this works for you!

For me this issue kept coming back or others appeared like some
archived mails could not be found by IMAP search even when there, etc.
My config may not have been the cleanest one but I darn tried.

--
Thomas

[toc] | [prev] | [standalone]


Back to top | Article view | gnu.emacs.gnus


csiph-web