From: martin f. krafft Date: Mon, 5 Jan 2009 15:38:34 +0000 (+0100) Subject: limit mbnames to main account X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/e5c6ce3fbfeedc7dc19351dffe5e02908bf390d8?ds=sidebyside limit mbnames to main account --- diff --git a/.offlineimap/helper.py b/.offlineimap/helper.py index f238a7d..056eb5d 100644 --- a/.offlineimap/helper.py +++ b/.offlineimap/helper.py @@ -58,4 +58,5 @@ def py_folderfilter_seamus(x): return True def py_folderfilter_mbnames(acct, x): - return not re.search('^(store(/.+)?|retrain/(ham|spam)|spool|discard|spam)', x) + return acct in ['seamus.madduck.net'] \ + and not re.search('^(store(/.+)?|retrain/(ham|spam)|spool|discard|spam)', x)