-SENDMAIL = ['/usr/sbin/sendmail', '-t', '-oi']
-#SENDMAIL = ['/bin/cat']
-
-EXPLANATIONS = [
-u"""\
-{hostname} /home is growing close to full. If you have anything in there that
-you no longer need, please clean it up.""" # By Martin Zobel-Helas
-,u"""\
-Can you please look at your $HOME on {hostname} and remove files which you
-no longer need (such as old sources).""" # By Martin Michlmayr
-,u"""\
-Thanks for your porting effort on {hostname}!
-
-Please note that /home is running short of diskspace, so please remove files
-you do not need anymore.""" # By Bill Allombert
- # Please add more from your archive!
+DRYRUN = False
+
+if DRYRUN:
+ SENDMAIL_COMMAND = ['/bin/cat']
+ RM_COMMAND = ['/bin/echo', 'Would remove']
+else:
+ SENDMAIL_COMMAND = ['/usr/sbin/sendmail', '-t', '-oi']
+ RM_COMMAND = ['/bin/rm', '-rf']
+
+CRITERIA = [
+ { 'size': 10240, 'notifyafter': 5, 'deleteafter': 40 },
+ { 'size': 1024, 'notifyafter': 10, 'deleteafter': 50 },
+ { 'size': 100, 'notifyafter': 30, 'deleteafter': 90 },
+ { 'size': 20, 'notifyafter': 90, 'deleteafter': 150 },
+ { 'size': 5, 'deleteafter': 700 }