From a941246cf7b167c2221170054d7d4ab22d0d4dc3 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 19 Mar 2018 11:22:31 +0100 Subject: [PATCH 1/1] filter out spam mailbox --- .mutt/list-mailboxes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mutt/list-mailboxes b/.mutt/list-mailboxes index c65c47c..497a253 100755 --- a/.mutt/list-mailboxes +++ b/.mutt/list-mailboxes @@ -2,5 +2,5 @@ find "$1/" -type d -name cur -printf '%h\n' | \ sed -e "s,^$1/,=,g" -e "s,^$1\$,$2," | \ - egrep -v '^=(spool|discard|retrain(/(sp|h)am)?)$' | \ + egrep -v '^=(sp(ool|am)|discard|retrain(/(sp|h)am)?)$' | \ sort | xargs echo mailboxes -- 2.39.5