aboutsummaryrefslogtreecommitdiff
path: root/.offlineimap.py
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-06-26 10:49:25 +0800
committergxlin <[email protected]>2021-06-26 10:49:25 +0800
commitd79b3e6c9a904d8fc4f28f85ea60cb6ab040164b (patch)
treefa385565b9964c28db1384e047b393b3050ae4fd /.offlineimap.py
parent2aa3bd3b351aa99bee9e8bc905975744bf24a4bf (diff)
downloaddotfiles-d79b3e6c9a904d8fc4f28f85ea60cb6ab040164b.tar.gz
dotfiles-d79b3e6c9a904d8fc4f28f85ea60cb6ab040164b.tar.bz2
dotfiles-d79b3e6c9a904d8fc4f28f85ea60cb6ab040164b.zip
Notification of offlineimap
Diffstat (limited to '.offlineimap.py')
-rw-r--r--.offlineimap.py13
1 files changed, 0 insertions, 13 deletions
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')