Removing articles from the history file

Lars Magne Ingebrigtsen larsi at gnus.org
Fri Sep 27 20:09:34 UTC 2002


Russ Allbery <rra at stanford.edu> writes:

> Hm.  That may actually work.  I'm not sure.  I've never used it, and I'm
> not sure if makedbz copes with that correctly.

I've just tried it, and it didn't seem like it did what it said it
was going to do.

Here's what I did:

main:~# ctlinnd cancel '<m3ptuzjjo7.fsf at quimbies.gnus.org>'
Ok
main:~# /usr/lib/news/bin/grephistory '<m3ptuzjjo7.fsf at quimbies.gnus.org>'
@05010000000D000001350000000000000000@
main:~# grep @05010000000D000001350000000000000000@ /var/lib/news/history
[E265CA0613EE6F11F6B3A94350E6308E]      1033156256~-~1033156264 @05010000000D000001350000000000000000@
main:~# /usr/lib/news/bin/prunehistory < /tmp/pruned 
main:~# /usr/lib/news/bin/grephistory '<m3ptuzjjo7.fsf at quimbies.gnus.org>'
/dev/null

So far, so good.  However, the entry still seems to be in the history
file -- it's just removed the token for the article:

main:~# grep E265CA0613EE6F11F6B3A94350E6308E /var/lib/news/history
[E265CA0613EE6F11F6B3A94350E6308E]      1033156256~-~1033156264                 
And when I try to post a message with the same Message-ID, inn claims
that the message already exists.

So I guess I'll have to use the method you outlined earlier...

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi at gnus.org * Lars Magne Ingebrigtsen


More information about the inn-workers mailing list