]> git.rmz.io Git - dotfiles.git/blobdiff - offlineimap/config
[WIP] Push all of the ultrahaptics changes!
[dotfiles.git] / offlineimap / config
index 4b63ed62025f0e2cce2d94c1cf114f5adbbd1873..ca1a8b1af872c117e1719cca397b6b752d4cc411 100644 (file)
@@ -1,6 +1,6 @@
 [general]
 metadata = $XDG_DATA_HOME/offlineimap
-accounts = gmail
+accounts = office365
 maxsyncaccounts = 1
 #ui = basic
 #ignore-readonly = no
@@ -18,9 +18,9 @@ footer = "\n"
 # sort_keyfunc = lambda d: (d['accountname'], d['foldername'])
 sort_keyfunc = sort_key
 
-[Account gmail]
-localrepository = gmail-local
-remoterepository = gmail-remote
+[Account office365]
+localrepository = office365-local
+remoterepository = office365-remote
 autorefresh = 10
 quick = -1
 # presynchook = imapfilter
@@ -29,31 +29,29 @@ quick = -1
 status_backend = sqlite
 # maxsize = 2000000
 # maxage = 10
-#maildir-windows-compatible = no
-synclabels = yes
-labelsheader = X-Label
-filterheaders = X-Label
-#ignorelabels = \Inbox, \Starred, \Sent, \Draft, \Spam, \Trash, \Important
-ignorelabels = \Draft, \Important
 
-[Repository gmail-local]
-type = GmailMaildir
-localfolders = ~/mail/gmail
+[Repository office365-local]
+type = Maildir
+localfolders = ~/mail/office365
 #sep = .
 #restoreatime = no
 nametrans = translocal
 
-[Repository gmail-remote]
-type = Gmail
-remoteuser = samir.benmendil@gmail.com
+[Repository office365-remote]
+type = IMAP
+remotehost = outlook.office365.com
+remoteuser = samir.benmendil@ultrahaptics.com
+# remotepasseval = 
 nametrans = transremote
-# folderfilter = lambda foldername: foldername in ['[Google Mail]/All Mail', '[Google Mail]/Drafts', '[Google Mail]/Bin']
+folderfilter = lambda foldername: foldername in mapping
+# folderfilter = lambda foldername: foldername in ['Archive', 'INBOX', 'Drafts', 'Sent', 'Junk Email', 'Deleted Items']
 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
-trashfolder = '[Google Mail]/Bin'
-spamfolder = '[Google Mail]/Spam'
-usecompression = yes
+trashfolder = '[Google Mail]/Bin'
+spamfolder = '[Google Mail]/Spam'
+usecompression = yes
 maxconnections = 3
 holdconnectionopen = yes
 keepalive = 60
-auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN
+# auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN
+#TODO   (sb:20170113)
 # readonly = True