inodes problem
René Berber
r.berber at computer.org
Thu May 31 10:54:24 IST 2007
Mark Alberts wrote:
> I found : clean.SA.cache
> and clean.quarantine
> not the clean_incoming
> I looked in : usr/ mailscanner/ bin/
>
> Then there is a cron subdir :
> Which has these files :
> clean.quarantine.cron
> clean.SA.cache.cron
>
> Is one of these files the script that should run?
> Or do i look at the wrong place?
No, sorry I was wrong, the script is one I made; attached if you like to use it.
--
René Berber
-------------- next part --------------
#!/bin/bash
#
# Copyright (c) 2003 LegoSoft. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Public Licence.
incoming_dir=/var/spool/MailScanner/incoming
safetime=7
find $incoming_dir -type d -mtime +$safetime -exec rm -rf {} \;
#EOF
More information about the MailScanner
mailing list