diff options
author | Tharre <tharre3@gmail.com> | 2015-07-19 16:47:31 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2016-10-07 20:13:35 +0000 |
commit | 8c7a495fc164f358daaf8688dd22ac63ccc31e7c (patch) | |
tree | 46051ed77b895da9a859c6b18babfd7462e81ab5 /email/_offlineimaprc | |
parent | 3198ee4d4c23f9b5303cd16babbe4830e71bb37e (diff) | |
download | dotfiles-8c7a495fc164f358daaf8688dd22ac63ccc31e7c.tar.gz dotfiles-8c7a495fc164f358daaf8688dd22ac63ccc31e7c.tar.xz dotfiles-8c7a495fc164f358daaf8688dd22ac63ccc31e7c.zip |
Add mutt configuration (unfinished)
Diffstat (limited to 'email/_offlineimaprc')
-rw-r--r-- | email/_offlineimaprc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/email/_offlineimaprc b/email/_offlineimaprc new file mode 100644 index 0000000..b74910b --- /dev/null +++ b/email/_offlineimaprc @@ -0,0 +1,43 @@ +[general] +ui = TTY.TTYUI +accounts = Tharre +pythonfile=~/.mutt/offlineimap.py +fsync = False + +[Account Tharre] +localrepository = Tharre-Local +remoterepository = Tharre-Remote +status_backend = sqlite +postsynchook = notmuch new + +[Repository Tharre-Local] +type = Maildir +localfolders = ~/.mail/tharre3@gmail.com +nametrans = lambda folder: {'drafts': '[Gmail]/Drafts', + 'sent': '[Gmail]/Sent Mail', + 'flagged': '[Gmail]/Starred', + 'trash': '[Gmail]/Trash', + 'archive': '[Gmail]/All Mail', + }.get(folder, folder) + +[Repository Tharre-Remote] +maxconnections = 8 +type = Gmail +remoteuser = tharre3@gmail.com +remotepasseval = get_pass("tharre3@gmail.com") +realdelete = no +# Necessary as of OfflineIMAP 6.5.4 +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts', + '[Gmail]/Sent Mail': 'sent', + '[Gmail]/Starred': 'flagged', + '[Gmail]/Trash': 'trash', + '[Gmail]/All Mail': 'archive', + }.get(folder, folder) +folderfilter = lambda folder: folder not in ['[Gmail]/Trash', + 'Nagios', + 'Django', + 'Flask', + '[Gmail]/Important', + '[Gmail]/Spam', + ] |