Article View: news.software.nntp
Article #36321Re: INN 2.2 posting and expiring probs.
From: Russ Allbery
Date: Sun, 04 Apr 1999 00:00
Date: Sun, 04 Apr 1999 00:00
42 lines
2399 bytes
2399 bytes
Arthur Hagen <art@flying.broomstick.com> writes:
> Edwin Yau <edwin@darkjedi.idps.co.uk> writes:
>> method cnfs {
>> newsgroups: *
>> class: 1
>> size: 0,0
>> expires: 0s,5d
>> options: BIGAREA
>> }
> So what you're saying is that you'll only store postings that *have* an
> Expires: header, and haven't expired, but will expire before 5 days have
> passed. Anything without an Expires: header (read: almost every posting
> on usenet), anything expired before passed on to your newsserver, or any
> FAQ-type posting which expires more than 5 days from now will not be
> stored.
He doesn't have quite that problem. From storage.conf(5):
``Mintime'' and ``maxtime'' are the times into the future the
`Expires:' header for the article indicates that it should be
expired, and are formatted 0d0h0m0s, for days, hours, minutes and
seconds into the future. If ``mintime'' is non-zero, the storage
method will not match an article without an 'Expires:' header. If
``maxtime'' is ``0s'', there is no upper bound on the expire time for
the article to fall in this entry. Note that ``expires'' parameter
never controls expire time. This is used just for determining
storage class based on ``Expires:'' header.
Since mintime is 0, it will match postings without an Expires header. So
what that configuration entry is saying is to not store any posting with
an Expires header more than 5 days in the future in that metacycbuff.
Which may be exactly what he wants.
The size directive there is certainly pointless, however. But it could be
there just for documentation purposes, as it does nothing at all.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<yl677b36n8.fsf@windlord.stanford.edu>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:
<370789F0.584DB8EE@darkjedi.idps.co.uk> <g0i8e7.idb3.ln@flying.broomstick.com>Show Full Headers
Complete Article Headers
Message-ID: <yl677b36n8.fsf@windlord.stanford.edu> Subject: Re: INN 2.2 posting and expiring probs. Date: Sun, 04 Apr 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <370789F0.584DB8EE@darkjedi.idps.co.uk> <g0i8e7.idb3.ln@flying.broomstick.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-mail X-Deja-AN: 462789585 Organization: The Eyrie Newsgroups: news.software.nntp