From: martin f. krafft Date: Mon, 19 Mar 2018 10:22:31 +0000 (+0100) Subject: filter out spam mailbox X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/a941246cf7b167c2221170054d7d4ab22d0d4dc3 filter out spam mailbox --- 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