[Mimedefang] Temp Directories

Jeff Grossman jeff at stikman.com
Mon Mar 24 12:09:01 EST 2003


on 3/24/03 8:26 AM, Barry Byrne at barry.byrne at wbtsystems.com wrote:

> ********************************************
> 
> #!/bin/sh
> 
> # Remove all files/dirs older than AGE days, matching PATTERN, from SPOOLDIR
> 
> SPOOLDIR=/var/spool/MIMEDefang
> AGE=7
> PATTERN="qdir-*001"
> 
> find "$SPOOLDIR" -mtime "+$AGE" -name "$PATTERN" | xargs rm -fr
> 
> ********************************************

That script removes the quarantine directories, but don't you have a problem
with excessive mdefang directories?  I believe the mdefang directories are
working directories that, for some reason, do not get deleted.  I have found
the mdefang directory problem much greater than the qdir pileup.

Jeff
-- 
Jeff Grossman (jeff at stikman.com)




More information about the MIMEDefang mailing list