Deleting Messages


The anonytidy script

It is important that the administrator be able to keep the number of messages down to a managable size. In order to allow this to happen automatically, the anonytidy script has been provided. It must be run as root or a member of the anonyuse group, and can be run from a command line.

The syntax of the command is

anonytidy [nnn]
where nnn is a number greater than zero. The script will search the /var/AnonyNews/messages directory for all files older than nnn days, then delete them.

The default value for nnn is 60 days, so if that is sufficient, do not supply the number.

It is possible to automate this task by setting it up in "crontab".