Created
June 14, 2018 02:56
-
-
Save phanviet/e4b0e155da7488a150f45a7d4018d407 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 | |
autorefresh = 5 | |
[Account Gmail] | |
localrepository = Gmail-Local | |
remoterepository = Gmail-Remote | |
[Repository Gmail-Local] | |
type = Maildir | |
localfolders = ~/.Mail | |
[Repository Gmail-Remote] | |
type = Gmail | |
remotehost = imap.gmail.com | |
remoteuser = <email> | |
remotepass = <pass> | |
realdelete = no | |
ssl = yes | |
sslcacertfile = /usr/local/etc/openssl/cert.pem | |
maxconnections = 1 | |
folderfilter = lambda folder: folder not in ['[Gmail]/Trash', | |
'[Gmail]/Spam', | |
'[Gmail]/All Mail' | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment