Removing articles from the history file
Lars Magne Ingebrigtsen
larsi at gnus.org
Wed Oct 9 15:10:51 UTC 2002
Lars Magne Ingebrigtsen <larsi at gnus.org> writes:
> So I guess I'll have to use the method you outlined earlier...
I haven't given up my quest for a method that doesn't involve
shutting down inn yet! :-)
Ok, here's my latest strange idea for inserting messages into the
spool out-of-order:
Let's say we have articles 1-10 in a group already. Then I insert
older articles in the normal way, and they get to be 11-30. I then
rename articles 1-10 to 31-40. I run tdx-util to update the overview
file, and "ctlinnd renumber" the group.
So far, so good.
However, the history file is now totally out of whack. When fetching
stuff by Message-ID, I'll get nothing. I could leave the articles
there under the old names and just hard-link them to their new names,
and hack up tdx-util to ignore the old names, but I'm afraid that
things I haven't thought about will get very confused by doing
something as hackish as that. Probably the expiry process will just
remove from the history file all the articles that are outside the
range of valid article numbers as determined by the active file.
So I'm wondering -- could I, sort of, insert these "new names" into
the history file? I'm guessing that inn has a command/function for
"add this message under {this name,these names} to the history
file". Could I possibly call that function from a script to
overwrite the data in the history.idx file, and just append the data
to the history file?
--
(domestic pets only, the antidote for overdose, milk.)
larsi at gnus.org * Lars Magne Ingebrigtsen
More information about the inn-workers
mailing list