🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47146

dreaderd: Unterstanding dexpireover/dexpire.ctl

#47146
From: Kai 'wusel' Siering
Date: Wed, 28 Jun 2000 00:00
90 lines
3744 bytes
Hola,

while playing around with the reader part of diablo-2.2-REL, I
seem somewhat lost at how to get the overview exiration right --
maybe there's someone out there who could lend me a hint here?


On testnews, there's a dreaderd running on port 119, configured
to fetch articles from a remote NNTP server (no local diablo)
and _not_ to cache the retrieved articles (for now; caching might
become interessting later).

My dexpire.ctl reads:
---8<---
news@testnews:~ $ grep -v '^#' /news/dexpire.ctl

*:100:x14
*.answers:100:x31
news.announce.*:100:x31
*.binaries:100:x1
*.binaries.*:100:x1
*.*.binaries:100:x1
*.*.binaries.*:100:x1
*.*.*.binaries:100:x1
*.*.*.binaries.*:100:x1
de.alt.dateien.*:100:x2
control:100:x1
control.*:100:x1
junk:100:x1
--->8---

/news/adm/daily.reader (the sample version, which calls dexpire-
over) is run daily at 00:00 local time. As soon as daily.reader
has finished, connecting to dreaderd shows only articles of the
last day, i. e. it seems as if all overviews of articles older
than one day have been wiped, not only those in "binary"-groups.

What am I missing? The example dexpire.ctl states:
---8<---
# DEXPIRE.CTL
#
# Information from all matching entries are merged, taking
# the lowest equivalent expire time.  So, for example,
# a * entry with a maximum file size of 2m covers ALL
# articles, but a later :m400k match will reduce that.
#
# Expiration is in percentage of best-case and values may
# be between 1 and 100.  At least one entry should have
# an expiration of 100 :-). Most people specify 100 for
# local groups and lesser values for other groups.
#
# You can revert to the old FIFO spool storage mechanism
# simply by specifying a 100 expiration for all groups
# in this file.
[...]
--->8---

In my opinion, the above dexpire.ctl should follow the rules
outlined above?

The fragment of /news/adm/daily.reader which calls dexpire-
over seems, according to the man-pages, correct:

---8<---
if ( -d ${group}/. ) then
    cd ${group}
    /news/dbin/plock -t ~/.dexpireover /news/dbin/dexpireover -a -o
    /news/dbin/plock -t ~/.dexpireover /news/dbin/dexpireover -w 'alt.*' -O180
endif
--->8---

Could someone please show me the correct entries for storing
all (articles and) overviews for 14 days but wipe (articles
and) overviews for some binary group patterns after one day?
I don't want any fancy stuff, just a similar expiration as on
the remote NNTP servers (who expire "traditionally", that is
based on posting date and newsgroup pattern).

Any hints appreciated,
			kai

-- 
Kai 'wusel' Siering                       eMail @ home: wusel@uu.org
Traveller on the Information Highway doing full-time administration.
The views expressed here are not neccessarily those of any employer.

- Looking for peers for several non-european national TLHs, please -
- contact me for details so we can arrange a peering.              -

Technical Details
Message-ID: <962232236.149662@news.mediaWays.net>
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

Show Full Headers
Complete Article Headers
Message-ID: <962232236.149662@news.mediaWays.net>
Subject: dreaderd: Unterstanding dexpireover/dexpire.ctl
Date: Wed, 28 Jun 2000 00:00:00 +0000
From: wusel@uu.org (Kai 'wusel' Siering)
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: 640177348
X-NNTP-Posting-Host: 193.189.250.62 (unknown@gaspode.42.to)
Content-Type: text/plain; charset=us-ascii
X-Trace: demdwu84.mediaways.net 962232236 6309 193.189.224.35 (28 Jun 2000 22:43:56 GMT)
Organization: Unseen University
Mime-Version: 1.0
NNTP-Posting-Date: 28 Jun 2000 22:43:56 GMT
Newsgroups: news.software.nntp