At 08:53 AM 3/20/01 +0100, you wrote:
>hi there,
>
>i have manually set the pile rules, but it seems that they are not doing
>
>i like :)
>
>cat expire.conf:
># How many days to keep entries in the history file after item has
>expired
>remember 3
>
># Pile rules, these are new for version 5.0
>pile 1 use 64% groups *
>pile 2 use 37% groups *binaries*,*warez*,*pictures*,*sounds*,*mp3*
>pile 3 days 365 groups at.local-group
>pile 4 days 40 groups at.*,netwin.dnews,comp.mail.sendmail
>pile 5 days 1 use 1% groups control*
>--end of pile
>
>the thing i wonna do is, that at.local-group will be holded for 1 year
>on the server, in pile 4
>all at.* and other listed groups for 40 days, independent of diskspace.
>
>do i make here an mistake, or is that file okay?

Yes, the mistake is that dnews uses the LAST matching pile, so your group 
at.local-group
is currently being stored in pile 4 not pile 3.

To fix move it past pile 4, e.g.

pile 1 use 64% groups *
pile 2 use 37% groups *binaries*,*warez*,*pictures*,*sounds*,*mp3*
pile 3 days 365 groups none
pile 4 days 40 groups at.*,netwin.dnews,comp.mail.sendmail
pile 5 days 1 use 1% groups control*
pile 6 days 365 groups at.local-group

Then you will need to do a
         tellnews reload
         tellnews rebuild_piles
To move the data into the correct piles if you want the change to take 
affect on existing
items.    However, before doing a rebuild_piles I would backup the 
db*_4.itm files incase
something goes wrong :-)

                 ChrisP.



Reply via email to