Go backward to The Spool Directory Layout.
Go up to Using Taylor UUCP.
Cleaning the Spool Directory
============================
The spool directory may need to be cleaned up periodically. Under
some circumstances, files may accumulate in various subdirectories,
such as `.Preserve' (see Other Spool Subdirectories.) or `.Corrupt'
(see Execution Subdirectories.).
Also, if a remote system stops calling in, you may want to arrange
for any queued up mail to be returned to the sender. This can be done
using the `uustat' command (see Invoking uustat.).
The `contrib' directory includes a simple `uuclean' script which may
be used as an example of a clean up script. It can be run daily out of
`crontab'.
You should periodically trim the UUCP log files, as they will
otherwise grow without limit. The names of the log files are set in
`policy.h', and may be overridden in the configuration file (
see config File.). By default they are are `/usr/spool/uucp/Log' and
`/usr/spool/uucp/Stats'. You may find the `savelog' program in the
`contrib' directory to be of use. There is a manual page for it in
`contrib' as well.