diff options
author | Jonas Smedegaard <dr@jones.dk> | 2019-04-21 17:21:40 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2019-04-21 17:21:40 +0200 |
commit | e77dda71da5320909f8956e9f2a342c33e71ca8d (patch) | |
tree | f1f8fd9134b13d01847b331666a58f454bcffddc | |
parent | 534f0efa0c6ca510675bc4f2ad17f931119c895c (diff) |
Really fix tests.
-rwxr-xr-x | localrmstaleaccounts | 4 |
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" |