File layout

Julian Field mailscanner at ecs.soton.ac.uk
Fri Aug 23 20:58:29 IST 2002


At 20:34 23/08/2002, you wrote:
> >What's wrong with
> >find /var/spool/MailScanner/quarantine -type f -mtime +7 -exec /bin/rm -f
> >{} \;
> >
> >I would (vainly) hope that most mail sysadmins can do that... :-)
>
>I saw something similar and got it happening, except it leaves the empty
>daily dirs in place.  Apart from that, I don't have any other need to work
>something out like that myself :-\

cd /var/spool/MailScanner/quarantine
rmdir *

will do that, as rmdir will only delete empty dirs.
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list