This is the list of frequently asked questions about stmpclean. Before you ask your question, please consult this. $Id: FAQ,v 1.3 2000/10/17 17:53:58 shalunov Exp $ ------------------------------------------------------------ > I get this error when I run ./stmpclean -t 3w /var/spool/mail > stmpclean[24030]: RACE?: unlink("tcal") in /var/spool/mail: > Permission denied, exiting Stmpclean has not been designed to be run over mail spools or home directories! You should *not* run stmpclean on /var/spool/mail. You are risking deleting precious mail files. You're going to delete *all* mail in the system mailbox of all users who haven't gotten new mail (or changed their mailbox by reading it and, say, deleting a message) in three weeks. If you insist on doing exactly that, you can use stmpclean, but you must set permissions on /var/spool/mail as they are normally set on /tmp. You better do a backup before you delete people's mail. * Do "ls -ld /var/spool/mail"; notice the permissions on the directory. * Change the permissions: "chmod 1777 /var/spool/mail". * Run stmpclean. * Set permissions back to what they were. E.g., for "drwxrwxr-x" you'd say "chmod 775 /var/spool/mail". * Respond to angry users' questions as to where their mail is now gone. > Will stmpclean run on ? See list of supported platforms in the README file, which accompanies the distribution.