I'm running SpamAssassin 3.0.3 on a Debian server, and finding lots of
SA-originated .tmp files left in the /tmp director.
In this setup, mimedefang (running as a sendmail milter) is calling
SpamAssassin, and SA is calling DCC. The .tmp files are owned by user
"defang", and from what I can tell from the docs, the files are related
to DCC calls.
Besides privacy issues in writing to /tmp, my concern is that I don't
want to risk maxing out the available space on the root file system, if
these files aren't deleted when they're no longer needed.
One step seems to be resetting $TMPFILE so that these files are written
to a different location.
The other question would be in how to get the files cleaned up.
Is there some setting that I'm missing, that would force the files to be
deleted when the call to DCC is completed, or is it better simply to run
a periodic cron job to discard files that are more than a day old?
Smith