X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/191e0ed463e21d3f78023deeab2cec63c1720f48..49b43d51154cbea0374c4f2ed2283dc84b05edea:/.offlineimap/helper.py?ds=sidebyside diff --git a/.offlineimap/helper.py b/.offlineimap/helper.py index 77506fa..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/.+|spool|discard|spam)', x) + return acct in ['seamus.madduck.net'] \ + and not re.search('^(store(/.+)?|retrain/(ham|spam)|spool|discard|spam)', x)