X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mailclean;h=e79794a5a6fe236e38750258583f248ed188f976;hb=51c8b40fd2aac71d29dc9298ca65425725ad1edd;hp=204b6c6c5791920f9c9b6404851a4419495c599c;hpb=563cc41a1f3ddb95bedf595cc249f53aea6629c1;p=distro-setup diff --git a/mailclean b/mailclean index 204b6c6..e79794a 100755 --- a/mailclean +++ b/mailclean @@ -1,7 +1,7 @@ #!/bin/bash if [ -z "$BASH_VERSION" ]; then echo "error: shell is not bash" >&2; exit 1; fi -source /a/bin/errhandle/err +source /a/bin/bash-bear-trap/bash-bear source /a/bin/bash_unpublished/source-state if [[ $HOSTNAME != "$MAIL_HOST" ]]; then @@ -67,4 +67,4 @@ archive() { cd /m/md archive 800 ./!(*archive|Drafts|Sent|INBOX)/*(cur|new) ./l/!(*archive)/*(cur|new) archive 60 ./{sysadmin,rtcc,fsfcc,fsfmembers}/{cur,new} -archive 14 ./Junk/{cur,new} +archive 30 ./Junk/{cur,new}