diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2016-01-30 00:42:49 -0500 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2016-01-30 00:42:49 -0500 |
| commit | a9bfb11eba8bd89b57fd890392641b366e0b0859 (patch) | |
| tree | 1e03eabfbd094a5687179b499d9ef9ba14798899 /offlineimap/.offlineimaprc | |
| parent | ba6824d123dc50ec39099e47c76f6c0c16d296fb (diff) | |
| download | dotfiles-a9bfb11eba8bd89b57fd890392641b366e0b0859.tar.gz | |
Add offlineimap
Diffstat (limited to 'offlineimap/.offlineimaprc')
| -rw-r--r-- | offlineimap/.offlineimaprc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc new file mode 100644 index 0000000..0a057bb --- /dev/null +++ b/offlineimap/.offlineimaprc @@ -0,0 +1,45 @@ +[general] + +metadata = ~/.offlineimap +accounts = Gmail +maxsyncaccounts = 3 +ui = ttyui +socktimeout = 60 +fsync = false +pythonfile = ~/.offlineimap.py + +[mbnames] + +#enabled = yes +#filename = ~/.mutt/mailboxes +#header = "mailboxes " +#peritem = "+%(accountname)s/%(foldername)s" +#sep = " " +#footer = "\n" + +[Account Gmail] + +localrepository = LocalGmail +remoterepository = RemoteGmail +autorefresh = 5 +quick = 3 +postsynchook = notmuch new +status_backend = sqlite +synclabels = yes +labelsheader = X-Keywords + +[Repository LocalGmail] + +type = GmailMaildir +localfolders = /media/data/mail/Gmail + +[Repository RemoteGmail] + +type = Gmail +remoteuser = thibaut.horel@gmail.com +remotepasseval = get_pass("email/gmail") +maxconnections = 3 +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +folderfilter = lambda folder: folder not in ['[Gmail]/All Mail'] +idlefolders = ['INBOX', 'famille', '[Gmail]/Sent Mail'] +auth_mechanisms = LOGIN |
