Gnus development mailing list
 help / color / mirror / Atom feed
* Wrong message count on IMAP servers
@ 2011-07-25 21:33 j.cubizolles
  2011-08-21  4:20 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: j.cubizolles @ 2011-07-25 21:33 UTC (permalink / raw)
  To: ding

I've set up gnus to read mail from two IMAP servers, but the read message
counts are awfully wrong :

* at free.fr (french provider) gnus announces 301740 unread emails
  instead of the 1732 from the webmail

* at gmail.com gnus announces 862 unread emails instead of 520 from the
  webmail.

This makes commands like / o N completely useless since I need to ask
for N in the hundreds to get a few emails.

Could it be that some old emails are not completely deleted from the
imap server but nevertheless not displayed by the webmail ? 

Is the number of read imap emails correct for some of you ?

Here are the nnimap lines from my .gnus.el

,----
| (setq nnimap-fetch-partial-articles "text/")
| (setq gnus-secondary-select-methods
|       '(
| 	(nnimap "gmail"
|                 (nnimap-address "imap.gmail.com")
| 		(nnimap-authentificator "j.cubizolles")
|                 (nnimap-authinfo-file "~/.authinfo")
|                 (nnimap-server-port 993)
|                 (nnimap-stream ssl))
| 	(nnimap "free"
| 		(nnimap-address "imap.free.fr")
| 		(nnimap-authentificator "j.cubizolles")
| 		(nnimap-authinfo-file "~/.authinfo")
| ;		(nnimap-server-port 143)
| 		)
| ))
| (setq nnimap-split-inbox '("INBOX"))
| 
| (setq nnimap-split-rule 'nnimap-split-fancy)
| (setq nnimap-split-fancy
|    `(|
|         (: gnus-registry-split-fancy-with-parent)
|         (: spam-split 'spam-use-bogofilter)
| 	(any "\\b\\(\\w+\\)@.*bretagne.*" "ml.ups.\\1")
| 	(any ".*ups-\\b\\(\\w+\\)@listes\\.prepas\\.org" "ml.ups.\\1")
| 	("gnus-warning" "duplicat\\(e\\|ion\\) of message" "duplicate")
|     )
| )
`----

I'm using the gnus version shipped with GNU Emacs 24.0.50.1.



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

* Re: Wrong message count on IMAP servers
  2011-07-25 21:33 Wrong message count on IMAP servers j.cubizolles
@ 2011-08-21  4:20 ` Lars Magne Ingebrigtsen
  2011-09-02 18:18   ` Julien Cubizolles
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-08-21  4:20 UTC (permalink / raw)
  To: ding

j.cubizolles@free.fr writes:

> I've set up gnus to read mail from two IMAP servers, but the read message
> counts are awfully wrong :
>
> * at free.fr (french provider) gnus announces 301740 unread emails
>   instead of the 1732 from the webmail

If the message numbers are sparse (i. e., there are many missing
messages in between other messages), nnimap groups, like all other
groups, will report a theoretical maximum instead of the actual number.

Fixing this is not in the cards before the release of Emacs 24.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




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

* Re: Wrong message count on IMAP servers
  2011-08-21  4:20 ` Lars Magne Ingebrigtsen
@ 2011-09-02 18:18   ` Julien Cubizolles
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2011-09-02 18:18 UTC (permalink / raw)
  To: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> j.cubizolles@free.fr writes:
>
>> I've set up gnus to read mail from two IMAP servers, but the read message
>> counts are awfully wrong :
>>
>> * at free.fr (french provider) gnus announces 301740 unread emails
>>   instead of the 1732 from the webmail
>
> If the message numbers are sparse (i. e., there are many missing
> messages in between other messages), nnimap groups, like all other
> groups, will report a theoretical maximum instead of the actual
> number.  Fixing this is not in the cards before the release of Emacs
> 24.

Ok, it's not that important anyway.

Julien.




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

end of thread, other threads:[~2011-09-02 18:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-25 21:33 Wrong message count on IMAP servers j.cubizolles
2011-08-21  4:20 ` Lars Magne Ingebrigtsen
2011-09-02 18:18   ` Julien Cubizolles

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).