Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap+agent+registry -> ghost articles
@ 2004-07-07 21:10 Raymond Scholz
  2004-07-16 17:02 ` Ted Zlatanov
  0 siblings, 1 reply; 2+ messages in thread
From: Raymond Scholz @ 2004-07-07 21:10 UTC (permalink / raw)


Hi,

I'm using nnimap with the gnus registry (splitting with parent) and
the agent for caching overviews to increase speed.  Most of my mail is
split by maildrop into Maildirs on the IMAP server.  Anything else is
put into the IMAP INBOX which will then be split by Gnus using the
registry information.  Some articles end up in INBOX since the
registry has no information on their parents.  These articles drive
Gnus nuts.

;; registry setup
(gnus-registry-initialize)
(setq gnus-registry-max-entries 20000)
(setq gnus-registry-use-long-group-names t)
(setq gnus-registry-unfollowed-groups
      '("delayed"
	"drafts"
	"queue"
	"sent\\.mail"
	"sent\\.news"
	"^nnrss:"
	"^nntp:"
	))

;; nnimap + splitting setup
(setq nnimap-split-rule 'nnimap-split-fancy)
(setq nnimap-split-fancy
      '(|
	(: gnus-registry-split-fancy-with-parent)
	"INBOX"))

(setq nnimap-split-inbox '("INBOX"))
(setq nnimap-split-predicate "UNDELETED")
(setq nnimap-split-crosspost nil)

(setq gnus-use-cache t)

Gnus from CVS, just a few minutes ago.

To reproduce the ghost articles I sent myself an email to
rscholz@localhost which ends up in INBOX after hitting `g'.

~/News/agent/nnimap/unnamed/INBOX/.overview contains a line:

4419	test - 02	Raymond Scholz <rscholz@zonix.de>	Wed, 07 Jul 2004 22:11:25 +0200	<.877jtfmvbm@hush.zonix.de>		1008	4	Xref: hush.zonix.de INBOX:4409	To: rscholz@localhost	Content-Type: text/plain; charset=iso-8859-1	

and ~/.gnus.registry.eld a line

("<.877jtfmvbm@hush.zonix.de>" ((mtime 16620 22872 767890)) "nnimap:INBOX")

So far, so good.

Now I hit `g' again.  The article in INBOX is passed to the Gnus
splitting process again, which shouldn't hurt.  But the article count
in the Group buffer indicates two unread articles in INBOX now.
Entering the group shows the duplicated articles which can both be
displayed.

And ~/News/agent/nnimap/unnamed/INBOX/.overview contains

4419	test - 02	Raymond Scholz <rscholz@zonix.de>	Wed, 07 Jul 2004 22:11:25 +0200	<.877jtfmvbm@hush.zonix.de>		1008	4	Xref: hush.zonix.de INBOX:4409	To: rscholz@localhost	Content-Type: text/plain; charset=iso-8859-1	
4420	test - 02	Raymond Scholz <rscholz@zonix.de>	Wed, 07 Jul 2004 22:11:25 +0200	<.877jtfmvbm@hush.zonix.de>		1008	4	Xref: hush.zonix.de INBOX:4409	To: rscholz@localhost	Content-Type: text/plain; charset=iso-8859-1	

and ~/.gnus.registry.eld ends with 

("<.877jtfmvbm@hush.zonix.de>" ((mtime 16620 22872 767890)) "nnimap:INBOX" "nnimap:INBOX")

Subsequent invocations of `gnus-group-get-new-news' add more lines in
the overview file and more entries for the respective message ID in
the registry.

The real pain starts when I delete the article or move it to another
folder.  Deletion of ghost articles doesn't work ("Couldn't delete
articles (4420 4421)") and I usually end up with rm -rf
~/News/agent/nnimap/ and a restart of Gnus.

Cheers, Ray
-- 
Hfr fgebat rapelcgvba!




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

* Re: nnimap+agent+registry -> ghost articles
  2004-07-07 21:10 nnimap+agent+registry -> ghost articles Raymond Scholz
@ 2004-07-16 17:02 ` Ted Zlatanov
  0 siblings, 0 replies; 2+ messages in thread
From: Ted Zlatanov @ 2004-07-16 17:02 UTC (permalink / raw)


On Wed, 07 Jul 2004, ray-2004@zonix.de wrote:

> Now I hit `g' again.  The article in INBOX is passed to the Gnus
> splitting process again, which shouldn't hurt.  But the article count
> in the Group buffer indicates two unread articles in INBOX now.
> Entering the group shows the duplicated articles which can both be
> displayed.

This seems like a bug in the spooling code's interaction with the
Agent, but I'm not sure that the registry is involved directly.

Without the registry, do things work correctly?  Without the Agent,
do things work correctly?

Ted



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

end of thread, other threads:[~2004-07-16 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-07 21:10 nnimap+agent+registry -> ghost articles Raymond Scholz
2004-07-16 17:02 ` Ted Zlatanov

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