At 09:52 AM 1/11/01 -0800, you wrote:
>Yes, I know delete_items can delete the range of the post.
>Actually I mean the expired articles can be deleted automatically, not 
>view it manually.
>If I have over 200 groups, then I will need to find the expired articles 
>manually. Just want a command to delete the expired post automatically.
>I know the sorting system for expire rules do not allow to do the above 
>captioned action. So, I asked how to do before.
>

Ok, the only automatic system is to switch to the old expire rules instead
of the new ones, then you can have a rule like this:

remember 3
upto 1000% default 30 groups * maxitems 10000

When switching expire methods you need to run a rebuild_piles so it shouldn't
be done lightly.
                 ChrisP.




>way-From: dnews-gateway@ball wrote:
>
> >
> >>if I just want to keep the articles that within 3 months, how can I delete
> >>the articles which are 3 months ago.
> >
> >Normally you would do this with an expire rule
> >
> >pile 1 groups * days 90
> >
> >However, there is a trick, if you are just carrying local groups then 
> the pile
> >expiration rules are not very good at dealing with very tiny piles because
> >they work on full buckets and a full bucket is 10mb, so you need 30mb of
> >news before expiration will work exactly as expected.
> >
> >The solution is to decrease bucket size if you only have local groups: e.g.
> >in dnews.conf
> >bucket_size 100000
> >
> >
> >
> >>also just copy a group, how can I delete the over-time articles ?
> >
> >tellnews delete_items group.name fromnnn tonnn
> >
> >You have to know the item range you want to delete.
> >
> >ChrisP.
> >
> >
> >
>
>--

Reply via email to