diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-12-11 22:40:01 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-12-11 22:40:01 +0000 |
commit | 1f7ed635e21a70b1f1a6807557cf31f5612531af (patch) | |
tree | 428ff1005afbeaf3fe8e4fd9a0c54e23a15a3a67 /.offlineimap/offlineimaprc | |
parent | e04fe8d2555db89470db0bd71579c464e349bfd4 (diff) |
Add openmailbox
Diffstat (limited to '.offlineimap/offlineimaprc')
-rw-r--r-- | .offlineimap/offlineimaprc | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/.offlineimap/offlineimaprc b/.offlineimap/offlineimaprc index 96c13c5..87b517a 100644 --- a/.offlineimap/offlineimaprc +++ b/.offlineimap/offlineimaprc @@ -1,7 +1,7 @@ [general] ui = ttyui pythonfile = /home/urbain/.offlineimap.py -accounts = Imperial, Main, Gmail +accounts = Imperial, Main, Gmail, openmailbox maxsyncaccounts = 4 [Account Imperial] @@ -43,8 +43,8 @@ remoteuser = urbain.p.vaes remotepasseval = mailpasswd("main") realdelete = no maxconnections = 3 -nametrans = lambda folder : {'INBOX' : 'Main', '[Gmail]/Sent Mail' : 'Sent', '[Gmail]/Drafts' : 'Drafts'}.get(folder, folder) -folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Sent Mail', '[Gmail]/Drafts'] +nametrans = lambda folder : {'INBOX' : 'Main', '[Gmail]/Sent Mail' : 'Sent', '[Gmail]/Drafts' : 'Drafts', '[Gmail]/Bin' : 'Bin'}.get(folder, folder) +folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Sent Mail', '[Gmail]/Drafts', '[Gmail]/Bin'] sslcacertfile = /etc/ssl/certs/ca-certificates.crt [Account Gmail] @@ -68,6 +68,28 @@ nametrans = lambda folder: {'INBOX' : 'Gmail'}.get(folder, folder) folderfilter = lambda folder: folder in ['INBOX'] sslcacertfile = /etc/ssl/certs/ca-certificates.crt +[Account openmailbox] +localrepository = openmailbox-Local +remoterepository = openmailbox-Remote +autorefresh = 10 + +[Repository openmailbox-Local] +type = Maildir +localfolders = ~/.mail/openmailbox +status_backend = sqlite +nametrans = lambda folder : {'Free' : 'INBOX'}.get(folder, folder) + + +[Repository openmailbox-Remote] +type = IMAP +remotehost = imap.openmailbox.org +remoteuser = urbain.p.vaes@openmailbox.org +remotepasseval = mailpasswd("openmailbox") +nametrans = lambda folder: {'INBOX' : 'Free'}.get(folder, folder) +folderfilter = lambda folder: folder in ['INBOX'] +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +realdelete = no + [mbnames] enabled = yes filename = ~/.mutt/mailboxes |