import re
-def mailpasswd():
+def mailpasswdnet():
return subprocess.check_output('pass mail/mart@martlubbers.net',
shell='/bin/bash').strip()
-
+def mailpasswdru():
+ return subprocess.check_output('pass science.ru.nl/mlubbers',
+ shell='/bin/bash').strip()
def folderfilter(x):
match = re.match('archive\.(\d\d\d\d).(\d\d)', x)
datetime.date(int(match.group(1)), int(match.group(2)), 1)
).days <= 31*6
else:
- return not x.startswith('archive')
+ return not x.startswith('archive') and not (x == "INBOX.Junk")