From: martin f. krafft Date: Fri, 24 Oct 2008 06:04:53 +0000 (+0200) Subject: only ignore actual retrain folders in mbnames X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/5b94def837167592906bcbada832872a17b75205?ds=inline;hp=-c;pf=etc only ignore actual retrain folders in mbnames --- 5b94def837167592906bcbada832872a17b75205 diff --git a/.offlineimap/helper.py b/.offlineimap/helper.py index 77506fa..f238a7d 100644 --- a/.offlineimap/helper.py +++ b/.offlineimap/helper.py @@ -58,4 +58,4 @@ def py_folderfilter_seamus(x): return True def py_folderfilter_mbnames(acct, x): - return not re.search('^(store(/.+)?|retrain/.+|spool|discard|spam)', x) + return not re.search('^(store(/.+)?|retrain/(ham|spam)|spool|discard|spam)', x)