Article View: news.software.nntp
Article #45122Re: Bad Expires: header ( inn1.7.2)
From: Frank Slootweg
Date: Mon, 20 Mar 2000 00:00
Date: Mon, 20 Mar 2000 00:00
28 lines
1906 bytes
1906 bytes
jan <jan@online.be> wrote: [deleted] > Bad Expires: header in misc.jobs.offered/5232383 > ... > > Most of these files are very old and shouldn't be there. > What is the best way to get rid of those files ? > i guess "find /news/spool/articles/ -atime +90 | xargs -t rm" > isn't the best solution :) Why don't you just remove the *reported* files? I.e. "misc.jobs.offered/5232383" means file misc/jobs/offered/5232383 in your spool directory, i.e. f.e. /usr/spool/news/misc/jobs/offered/5232383. Then after you have rebuilt the history, you let expire(8) and expireover(8) do their work (i.e. see news.daily(8), expire.ctl, etc..). What also happens is the reverse problem, i.e. article files which should have been removed because their history entry has been remove/expired, but which still exist. I collect all Message-ID:s from my spool and feed them to "grephistory -i". That gives me a list of such 'orphans' (article files without a history entry). I then inspect/remove those article files (and do a "expireover -s -v" to remove any left-over overview entries). Ofcourse you should only do this *after* rebuilding the history and first expire run, because otherwise you would probably also remove some perfectly good (i.e. not to be expired) articles.
Technical Details
Message-ID:
<8b5bos$hmh$2@news.neth.hp.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<38D25C00.88EF4D79@online.be>Show Full Headers
Complete Article Headers
Message-ID: <8b5bos$hmh$2@news.neth.hp.com>
Subject: Re: Bad Expires: header ( inn1.7.2)
Date: Mon, 20 Mar 2000 00:00:00 +0000
From: Frank Slootweg <franks@neth.hp.com>
References: <38D25C00.88EF4D79@online.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 599948965
Organization: NOYB
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/847))
Newsgroups: news.software.nntp