From d79b3e6c9a904d8fc4f28f85ea60cb6ab040164b Mon Sep 17 00:00:00 2001 From: gxlin Date: Sat, 26 Jun 2021 10:49:25 +0800 Subject: Notification of offlineimap --- .offlineimap.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .offlineimap.py (limited to '.offlineimap.py') diff --git a/.offlineimap.py b/.offlineimap.py deleted file mode 100644 index c304ef4..0000000 --- a/.offlineimap.py +++ /dev/null @@ -1,13 +0,0 @@ -import re - -def gmail_nametrans(foldername): - return re.sub('^\[gmail\].', '', - re.sub('all_mail', 'archive', - re.sub('sent_mail', 'sent', - re.sub('starred', 'flagged', - re.sub('bin', 'trash', - re.sub(' ', '_', foldername.lower())))))) - -def gmail_folderfilter(foldername): - return foldername in ('INBOX', '[Gmail]/Starred', - '[Gmail]/Drafts', '[Gmail]/All Mail') -- cgit v1.2.3