summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalrmstaleaccounts4
1 files changed, 0 insertions, 4 deletions
diff --git a/localrmstaleaccounts b/localrmstaleaccounts
index c7c4fde..269bb9e 100755
--- a/localrmstaleaccounts
+++ b/localrmstaleaccounts
@@ -23,10 +23,6 @@ for user in $@; do
warn "Skipping user $user: Email gets forwarded"
elif [ ! -d "$home/Maildir" ]; then
warn "Skipping user $user: Missing Maildir"
- elif untouchedinbox "$home" || untouchednewmail "$home"; then
- localrmaccount "$user"
- elif untouchedinbox "$home" || untouchednewmail "$home"; then
- localrmaccount "$user"
elif find "$home/Maildir/new" -maxdepth 0 -type d -mtime +365 | grep -q .; then
info "Removing user $user: Maildir INBOX/new untouched for a year"
localrmaccount "$user"