unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Gnus nnimap missing messages
@ 2017-12-17 10:25 Ashish SHUKLA
  2017-12-17 12:06 ` Andreas Schwab
  2017-12-17 20:03 ` Nikolaus Rath
  0 siblings, 2 replies; 7+ messages in thread
From: Ashish SHUKLA @ 2017-12-17 10:25 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 4456 bytes --]

Hi,

I've noticed that Gnus (in Emacs 25.3) is not showing couple of messages in my
IMAP folder, which are showing up just fine in other MUA (Thunderbird). The
messages are neither showing up when visiting the folder normally, nor on
search.

Following is what I see in *imap log* buffer, when I try to search for the
messages with subject "help":

--8<---------------cut here---------------start------------->8---
15:29:37 [mail.domain.tld] 367 SELECT "INBOX"^M
15:29:37 [mail.domain.tld] 368 UID SEARCH SUBJECT "help"^M
15:29:37 [mail.domain.tld] 369 SELECT "INBOX"^M
15:29:37 [mail.domain.tld] 370 UID FETCH 12114,12555,15544,15651,66216:66217,91222,91270,103779,105201,117165,122773:122774,123031,123837,127703,129897,133254,134698,134984 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref X-Spam-Status X-Bogosity X-CRM114-Status To Newsgroups Cc)])^M
--8<---------------cut here---------------end--------------->8---

UIDs 135021, and 135051 are not being fetched by the Gnus.

Following is an excerpt from the communication over telnet:

--8<---------------cut here---------------start------------->8---
367 SELECT "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft gnus-expire Junk NonJunk)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft gnus-expire Junk NonJunk \*)] Flags permitted.
* 6547 EXISTS
* 0 RECENT
* OK [UNSEEN 6547] First unseen.
* OK [UIDVALIDITY 1293092912] UIDs valid
* OK [UIDNEXT 135054] Predicted next UID
* OK [HIGHESTMODSEQ 272541] Highest
367 OK [READ-WRITE] Select completed (0.008 + 0.000 + 0.007 secs).
368 UID SEARCH SUBJECT "help"
* SEARCH 12114 12555 15544 15651 66216 66217 91222 91270 103779 105201 117165 122773 122774 123031 123837 127703 129897 133254 134698 134879 134904 134923 134969 134970 134984 135021 135051
368 OK Search completed (0.050 + 0.000 + 0.049 secs).
369 UID FETCH 135021,135051  (UID BODY.PEEK[HEADER.FIELDS (Date)])
* 6539 FETCH (UID 135021 BODY[HEADER.FIELDS (DATE)] {40}
Date: Fri, 8 Dec 2017 00:13:32 +0530

)
* 6546 FETCH (UID 135051 BODY[HEADER.FIELDS (DATE)] {41}
Date: Fri, 15 Dec 2017 23:41:47 +0530

)
369 OK Fetch completed (0.001 + 0.000 secs).
--8<---------------cut here---------------end--------------->8---

Following is through Dovecot tools, as I happen to administer this mail server:

--8<---------------cut here---------------start------------->8---
λ doveadm search mailbox INBOX subject help |awk '{ print $2; }' |xargs -n 1 -r doveadm fetch 'uid hdr.date' mailbox INBOX uid 
uid: 12114
hdr.date: Sun, 26 Apr 2015 07:05:21 -0700
uid: 12555
hdr.date: Mon, 04 May 2015 18:10:28 -0600
uid: 15544
hdr.date: Fri, 12 Jun 2015 13:14:10 -0400 (EDT)
uid: 15651
hdr.date: Sat, 13 Jun 2015 16:14:44 +0530
uid: 66216
hdr.date: Mon, 09 May 2016 15:23:37 +0530
uid: 66217
hdr.date: Mon, 09 May 2016 15:33:53 +0530
uid: 91222
hdr.date: Tue, 1 Nov 2016 23:41:57 +0530
uid: 91270
hdr.date: Wed, 02 Nov 2016 04:10:05 +0530
uid: 103779
hdr.date: Fri, 20 Jan 2017 22:20:13 +0000
uid: 105201
hdr.date: Mon, 30 Jan 2017 15:39:57 -0500
uid: 117165
hdr.date: Thu, 20 Apr 2017 02:33:10 +0000
uid: 122773
hdr.date: Thu, 1 Jun 2017 13:00:42 +0530
uid: 122774
hdr.date: Thu, 1 Jun 2017 13:00:48 +0530
uid: 123031
hdr.date: Sat, 03 Jun 2017 01:40:48 +0530
uid: 123837
hdr.date: Thu, 8 Jun 2017 13:55:55 +0530
uid: 127703
hdr.date: Thu, 06 Jul 2017 00:27:31 +0000
uid: 129897
hdr.date: Fri, 21 Jul 2017 07:43:35 -0400
uid: 133254
hdr.date: Wed, 16 Aug 2017 13:06:57 -0400
uid: 134698
hdr.date: Sun, 17 Sep 2017 14:09:04 -0400 (EDT)
uid: 134879
hdr.date: Tue, 24 Oct 2017 12:47:52 +0530
uid: 134904
hdr.date: Mon, 30 Oct 2017 16:17:39 +0530
uid: 134923
hdr.date: Tue, 7 Nov 2017 00:30:54 +0530
uid: 134969
hdr.date: Thu, 23 Nov 2017 23:42:24 +0000
uid: 134970
hdr.date: Thu, 23 Nov 2017 23:42:25 +0000
uid: 134984
hdr.date: 28 Nov 2017 12:00:49 -0500
uid: 135021
hdr.date: Fri, 8 Dec 2017 00:13:32 +0530
uid: 135051
hdr.date: Fri, 15 Dec 2017 23:41:47 +0530
--8<---------------cut here---------------end--------------->8---

Any ideas why ? Or how to debug this further ?

Thanks!
-- 
Ashish SHUKLA

“I have  discovered that all human  evil comes from this,  man's being
unable to sit still in a room.”
                                                         (Blaise Pascal)

Sent from my Emacs

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus nnimap missing messages
  2017-12-17 10:25 Gnus nnimap missing messages Ashish SHUKLA
@ 2017-12-17 12:06 ` Andreas Schwab
  2017-12-18 12:01   ` Ashish SHUKLA
  2017-12-17 20:03 ` Nikolaus Rath
  1 sibling, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2017-12-17 12:06 UTC (permalink / raw)
  To: Ashish SHUKLA; +Cc: emacs-devel

On Dez 17 2017, ashish.is@lostca.se (Ashish SHUKLA) wrote:

> Any ideas why ? Or how to debug this further ?

Can you select the missing messages by number?  Perhaps they are falsely
marked as unexist.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus nnimap missing messages
  2017-12-17 10:25 Gnus nnimap missing messages Ashish SHUKLA
  2017-12-17 12:06 ` Andreas Schwab
@ 2017-12-17 20:03 ` Nikolaus Rath
  2017-12-18 12:03   ` Ashish SHUKLA
  1 sibling, 1 reply; 7+ messages in thread
From: Nikolaus Rath @ 2017-12-17 20:03 UTC (permalink / raw)
  To: emacs-devel

> I've noticed that Gnus (in Emacs 25.3) is not showing couple of messages in my
> IMAP folder, which are showing up just fine in other MUA (Thunderbird). The
> messages are neither showing up when visiting the folder normally, nor on
> search.

Try running C-u M-g in the Group buffer with the problematic group
selected. I sometimes have the same problem, and this fixes it.


Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus nnimap missing messages
  2017-12-17 12:06 ` Andreas Schwab
@ 2017-12-18 12:01   ` Ashish SHUKLA
  0 siblings, 0 replies; 7+ messages in thread
From: Ashish SHUKLA @ 2017-12-18 12:01 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Ashish SHUKLA, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

On Sun, 17 Dec 2017 13:06:30 +0100, Andreas Schwab <schwab@linux-m68k.org> said:
> On Dez 17 2017, ashish.is@lostca.se (Ashish SHUKLA) wrote:

>> Any ideas why ? Or how to debug this further ?

> Can you select the missing messages by number?  Perhaps they are falsely
> marked as unexist.

Yes, I can see the messages by fetching them based on message-id (M-^)

> Andreas.

> -- 
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."

-- 
Ashish SHUKLA

“There was truth and there was untruth,  and if you clung to the truth
even against the whole world, you were not mad.”
                           (George Orwell, "Nineteen Eighty-Four", 1949)

Sent from my Emacs

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus nnimap missing messages
  2017-12-17 20:03 ` Nikolaus Rath
@ 2017-12-18 12:03   ` Ashish SHUKLA
  2018-01-22 18:10     ` Oleg Pykhalov
  0 siblings, 1 reply; 7+ messages in thread
From: Ashish SHUKLA @ 2017-12-18 12:03 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

On Sun, 17 Dec 2017 20:03:38 +0000, Nikolaus Rath <Nikolaus@rath.org> said:
>> I've noticed that Gnus (in Emacs 25.3) is not showing couple of messages in my
>> IMAP folder, which are showing up just fine in other MUA (Thunderbird). The
>> messages are neither showing up when visiting the folder normally, nor on
>> search.

> Try running C-u M-g in the Group buffer with the problematic group
> selected. I sometimes have the same problem, and this fixes it.

Yes, seems to have fixed it for now.

Thanks!
-- 
Ashish SHUKLA

“After all,  all he did was  string together a lot  of old, well-known
quotations.”
                                         (H. L. Mencken, on Shakespeare)

Sent from my Emacs

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus nnimap missing messages
  2017-12-18 12:03   ` Ashish SHUKLA
@ 2018-01-22 18:10     ` Oleg Pykhalov
  2018-01-22 20:24       ` Nikolaus Rath
  0 siblings, 1 reply; 7+ messages in thread
From: Oleg Pykhalov @ 2018-01-22 18:10 UTC (permalink / raw)
  To: Ashish SHUKLA; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Hello,

ashish.is@lostca.se (Ashish SHUKLA) writes:

> On Sun, 17 Dec 2017 20:03:38 +0000, Nikolaus Rath <Nikolaus@rath.org> said:
>>> I've noticed that Gnus (in Emacs 25.3) is not showing couple of messages in my
>>> IMAP folder, which are showing up just fine in other MUA (Thunderbird). The
>>> messages are neither showing up when visiting the folder normally, nor on
>>> search.
>
>> Try running C-u M-g in the Group buffer with the problematic group
>> selected. I sometimes have the same problem, and this fixes it.
>
> Yes, seems to have fixed it for now.

I have the similar issue and the solution works for me, too.


I want also to add that you could spot missing messages when you enter a
Gnus group.  

If "How many articles from INBOX (NUMBER default) is less than displayed
in selected group in *Group* buffer, then there is a problem which you
could solve by calling gnus-group-get-new-news-this-group with prefix or
C-u M-g for short.


Oleg.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus nnimap missing messages
  2018-01-22 18:10     ` Oleg Pykhalov
@ 2018-01-22 20:24       ` Nikolaus Rath
  0 siblings, 0 replies; 7+ messages in thread
From: Nikolaus Rath @ 2018-01-22 20:24 UTC (permalink / raw)
  To: emacs-devel

On Jan 22 2018, Oleg Pykhalov <go.wigust@gmail.com> wrote:
> Hello,
>
> ashish.is@lostca.se (Ashish SHUKLA) writes:
>
>> On Sun, 17 Dec 2017 20:03:38 +0000, Nikolaus Rath <Nikolaus@rath.org> said:
>>>> I've noticed that Gnus (in Emacs 25.3) is not showing couple of messages in my
>>>> IMAP folder, which are showing up just fine in other MUA (Thunderbird). The
>>>> messages are neither showing up when visiting the folder normally, nor on
>>>> search.
>>
>>> Try running C-u M-g in the Group buffer with the problematic group
>>> selected. I sometimes have the same problem, and this fixes it.
>>
>> Yes, seems to have fixed it for now.
>
> I have the similar issue and the solution works for me, too.
>
>
> I want also to add that you could spot missing messages when you enter a
> Gnus group.  
>
> If "How many articles from INBOX (NUMBER default) is less than displayed
> in selected group in *Group* buffer, then there is a problem which you
> could solve by calling gnus-group-get-new-news-this-group with prefix or
> C-u M-g for short.

So, now someone just needs to make this behavior automatic (or fix the
root cause :-)).

Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-01-22 20:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-17 10:25 Gnus nnimap missing messages Ashish SHUKLA
2017-12-17 12:06 ` Andreas Schwab
2017-12-18 12:01   ` Ashish SHUKLA
2017-12-17 20:03 ` Nikolaus Rath
2017-12-18 12:03   ` Ashish SHUKLA
2018-01-22 18:10     ` Oleg Pykhalov
2018-01-22 20:24       ` Nikolaus Rath

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).