Article View: news.admin.peering
Article #1624Re: Newbie question
From: Julien ÉLIE
Date: Fri, 07 Apr 2023 15:23
Date: Fri, 07 Apr 2023 15:23
63 lines
4047 bytes
4047 bytes
Hi Eli, > I have another question about the settings in expire.ctl. > > What settings should I use if I want to delete all posts older than 90 days > for 1 specific newsgroup (e.g. linux.debian.bugs.dist). > > As far as I can read in the documentation, this mainly concerns the middle > field (the default value) and the first and last fields (keep and purge) are > only important for messages that have an expiration header. But if I set the > <purge> field lower than the <default> field, inncheck still throws a warning. > So it seems that the <keep and purge> fields still affect the <default> value. > > linux.debian.bugs.dist:AX:0:90:11 > inncheck returns: purge `11' younger than default `90' """ <pattern>:<flag>:<min>:<default>:<max> The middle field, <default>, will be used as the expiration period for most articles. The other two fields, <min> and <max>, only come into play if the article requests a particular expiration date with an Expires header field. Articles with an Expires header field will be expired at the date given in that header field, subject to the constraints that they will be retained at least <min> days and no longer than <max> days. One should think of the fields as a lower bound, the default, and an upper bound. Since most articles do not have an Expires header field, the second field is the most important and most commonly applied. It is often useful to honor the Expires header field in articles, especially those in moderated groups. To do this, set <min> to zero, <default> to whatever normal expiration you wish, and <max> to "never" or some large number, like 365 days for a maximum article life of a year. """ > linux.debian.bugs.dist:AX:0:90:90 > seems good. It is indeed what I would parameter for this newsgroup. > What I would like is to have all messages older than 90 days deleted > immediately and messages with the expiration header deleted immediately after > the expiration date. That's what the 0:90:90 setting does. With 0:90:11, suppose that you have an article with an Expires header field corresponding to 30 days, it would be deleted after 11 days which is not what you were expecting. That's the reason of the warning from inncheck; it looks unusual to force the deletion of articles with an Expires header field sooner than other articles. (The date in the Expires header field will still be respected.) -- Julien ÉLIE « A killfile on Usenet can get you peace and quiet. A killfile in the real world can get you twenty years to life. » (Nils Nieuwjaar)
Technical Details
Message-ID:
<u0pci2$10dft$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<sXMOL.4024495$MJk2.1098149@fx06.ams4> <u0n4rp$uic5$1@news.trigofacile.com> <nhHXL.973853$5Fj1.717913@fx07.ams4> <u0ogpq$vv88$1@news.trigofacile.com> <8%UXL.2263692$gs1.368622@fx15.ams4>Show Full Headers
Complete Article Headers
Message-ID: <u0pci2$10dft$1@news.trigofacile.com> Subject: Re: Newbie question Date: Fri, 7 Apr 2023 17:23:46 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <u0n4rp$uic5$1@news.trigofacile.com> <nhHXL.973853$5Fj1.717913@fx07.ams4> <u0ogpq$vv88$1@news.trigofacile.com> <8%UXL.2263692$gs1.368622@fx15.ams4> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.admin.peering Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 7 Apr 2023 15:23:46 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1062397"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Cancel-Lock: sha1:MNF+kxL0TPscu7kkLKdXDG4cMGQ= sha256:7Jvh1MiBoZZ0JojU9vNc1DpLfSlOaocfJXzZyijz4wI= sha1:dLTe0GHDPacsOb/4bGEopHQBQAo= sha256:4OTLmLPovBYBDS0GkHQ9EPiv7Ar6oh0nyBbsSnKriKU= In-Reply-To: <8%UXL.2263692$gs1.368622@fx15.ams4>