Deleting all old postings

Julien ÉLIE julien at trigofacile.com
Wed Oct 15 20:56:02 UTC 2008


Hi Alexander,

> Remove all groups:
>
>   awk '{printf "ctlinnd rmgroup %s\n", $1}' /var/lib/news/active
>
> To recreate all groups stored in a saved copy of the active file:
>
>   awk '{printf "ctlinnd newgroup %s %s\n", $1, $4}' active

The problem is that it will cause problems if tradspool is used:
articles in the news spool are not deleted so when the active file
is regenerated, it will start again from 1.  innd will be complaining
as soon as article numbering reaches the previous low water mark.

-- 
Julien ÉLIE

« Aut bibas aut abeas. » 



More information about the inn-workers mailing list