Created
August 10, 2014 15:57
-
-
Save cscorley/387234105941a16bfdf0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [general] | |
| ui = ttyui | |
| accounts = gmail,crimson | |
| fsync = False | |
| [Account gmail] | |
| localrepository = gmail-local | |
| remoterepository = gmail-remote | |
| status_backend = sqlite | |
| [Account crimson] | |
| localrepository = crimson-local | |
| remoterepository = crimson-remote | |
| status_backend = sqlite | |
| [Repository gmail-local] | |
| type = Maildir | |
| localfolders = ~/.mail/cscorley-gmail.com | |
| nametrans = lambda folder: { | |
| 'archive': '[Gmail]/All Mail' | |
| }.get(folder, folder) | |
| [Repository gmail-remote] | |
| maxconnections = 1 | |
| type = Gmail | |
| remoteuser = [email protected] | |
| oauth2_client_id = ... | |
| oauth2_client_secret = ... | |
| oauth2_refresh_token = ... | |
| realdelete = no | |
| sslcacertfile = /etc/ssl/certs/ca-certificates.crt | |
| nametrans = lambda folder: { | |
| '[Gmail]/All Mail': 'archive' | |
| }.get(folder, folder) | |
| folderfilter = lambda folder: folder not in ['[Gmail]/Trash', | |
| '[Gmail]/Important', | |
| '[Gmail]/Spam', | |
| '[Gmail]/Drafts', | |
| '[Gmail]/Sent Mail', | |
| '[Gmail]/Starred', | |
| ] | |
| [Repository crimson-local] | |
| type = Maildir | |
| localfolders = ~/.mail/cscorley-crimson.ua.edu | |
| nametrans = lambda folder: { | |
| 'archive': '[Gmail]/All Mail' | |
| }.get(folder, folder) | |
| [Repository crimson-remote] | |
| maxconnections = 1 | |
| type = Gmail | |
| remoteuser = [email protected] | |
| oauth2_client_id = ... | |
| oauth2_client_secret = ... | |
| oauth2_refresh_token = ... | |
| realdelete = no | |
| sslcacertfile = /etc/ssl/certs/ca-certificates.crt | |
| nametrans = lambda folder: { | |
| '[Gmail]/All Mail': 'archive' | |
| }.get(folder, folder) | |
| folderfilter = lambda folder: folder not in ['[Gmail]/Trash', | |
| '[Gmail]/Important', | |
| '[Gmail]/Spam', | |
| '[Gmail]/Drafts', | |
| '[Gmail]/Sent Mail', | |
| '[Gmail]/Starred', | |
| ] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment