From e77dda71da5320909f8956e9f2a342c33e71ca8d Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 21 Apr 2019 17:21:40 +0200 Subject: Really fix tests. --- localrmstaleaccounts | 4 ---- 1 file changed, 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" -- cgit v1.2.3