🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Ingo Freund Thu, 07 Apr 2005 07:43
expired articles
#71033
Author: Ingo Freund
Date: Thu, 07 Apr 2005 07:43
14 lines
1195 bytes
Hi,

is there a way to recall expired articles?

It is nothing serious here, I'd only like to know
if one has possibilities to "un"-expire articles
after an expire run.

the control line in expire.ctl is
*:A:10:30:never

TIA
--
Ingo
Re: expired articles
#71026
Author: Szymon Sokół
Date: Thu, 07 Apr 2005 08:33
15 lines
2130 bytes
Ingo Freund <news-hn@freund-hh.net> wrote:

> is there a way to recall expired articles?
Depends. If your spool is traditional, then no - the articles are physically
removed, ie. files are deleted. If you use CNFS, though, the articles still
reside in cycbuffs - only the history entries and overview records are
removed, so theoretically you could re-create them and the article would be
available again. However, I see no easy way to do it, because to find the
article's token you would have to scan the whole spool.

-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                B
Computer Center, AGH - University of Science and Technology, Cracow, Poland O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F 
Free speech includes the right not to listen, if not interested -- Heinlein H
Re: expired articles
#71028
Author: Ingo Freund
Date: Thu, 07 Apr 2005 10:48
23 lines
2052 bytes
Szymon Sokó³ wrote:
> 
>>is there a way to recall expired articles?
> 
> Depends. If your spool is traditional, then no - the articles are physically
> removed, ie. files are deleted. If you use CNFS, though, the articles still
> reside in cycbuffs - only the history entries and overview records are
> removed, so theoretically you could re-create them and the article would be
> available again. However, I see no easy way to do it, because to find the
> article's token you would have to scan the whole spool.
> 
Thanks for the answer
Indeed my spool is traditional and I noticed that the expired articles
have been deleted.
In this case the
syntax in expire.ctl seems to be a little missunderstandable:
<pattern>:<flag>:<keep>:<default>:<purge>

to me this means that the last parameter should be responsible for
final deletion but obviously this is not the case.

--
-Ingo
Re: expired articles
#71029
Author: Maurice Janssen
Date: Thu, 07 Apr 2005 10:55
21 lines
1956 bytes
Ingo Freund wrote:
>In this case the
>syntax in expire.ctl seems to be a little missunderstandable:
><pattern>:<flag>:<keep>:<default>:<purge>
>
>to me this means that the last parameter should be responsible for
>final deletion but obviously this is not the case.

man expire.ctl:

       The middle field, <default>, will be used as the expira-
       tion period for most articles.  The other two fields,
       <keep> and <purge>, only come into play if the article
       requests a particular expiration date with an Expires
       header.  Articles with an Expires header will be expired
       at the date given in that header, subject to the con-
       straints that they will be retained at least <keep> days
       and no longer than <purge> days.

-- 
Maurice
Re: expired articles
#71031
Author: Szymon Sokół
Date: Thu, 07 Apr 2005 20:21
10 lines
1972 bytes
Ingo Freund <news-hn@freund-hh.net> wrote:
> syntax in expire.ctl seems to be a little missunderstandable:
> <pattern>:<flag>:<keep>:<default>:<purge>
The syntax is all right, the names of the fields are misleading - 
<min>:<default>:<max> would be both more obvious and more precise.
-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                B
Computer Center, AGH - University of Science and Technology, Cracow, Poland O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F 
Free speech includes the right not to listen, if not interested -- Heinlein H
Re: expired articles
#71032
Author: Russ Allbery
Date: Thu, 07 Apr 2005 20:44
16 lines
1840 bytes
Szymon Sokół <szymon@bastard.operator.from.hell.pl> writes:
> Ingo Freund <news-hn@freund-hh.net> wrote:

>> syntax in expire.ctl seems to be a little missunderstandable:
>> <pattern>:<flag>:<keep>:<default>:<purge>

> The syntax is all right, the names of the fields are misleading - 
> <min>:<default>:<max> would be both more obvious and more precise.

I changed the documentation in CVS.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads