Mailscanner incoming many directories

Lindsay Snider lindsay at
Mon Jan 26 17:09:49 GMT 2004

On Mon, 2004-01-26 at 11:49, Travis Zadikem wrote:
> It appears that the mailscanner incoming directory
> "/var/spool/MailScanner/incoming" on our server
> never removes the directories that are created in what
> appears to be the pid numbers of the running processes.  We
> now have about 700 directories and think this is starting to get
> annoying.  Can someone please tell me how to fix this and prevent
> it in the future.

You could run:
/usr/sbin/tmpwatch 1 /var/spool/MailScanner/incoming
from cron.

>   We had a similar problem with quarantine directory
> but with another script calle quarantine cleaner was able to get a
> handle
> on it.

What version of MailScanner are you running?  I think I remember seeing
this with an older version.  Perhaps upgrading would help.

> thanks.

More information about the MailScanner mailing list