]> git.rmz.io Git - dotfiles.git/blob - offlineimap/config
[WIP] Push all of the ultrahaptics changes!
[dotfiles.git] / offlineimap / config
1 [general]
2 metadata = $XDG_DATA_HOME/offlineimap
3 accounts = office365
4 maxsyncaccounts = 1
5 #ui = basic
6 #ignore-readonly = no
7 pythonfile = $XDG_CONFIG_HOME/offlineimap/utils.py
8 socktimeout = 120
9 fsync = false
10
11 [mbnames]
12 enabled = yes
13 filename = ~/.mutt/mailboxes
14 header = "mailboxes "
15 peritem = "+%(accountname)s/%(foldername)s"
16 sep = " "
17 footer = "\n"
18 # sort_keyfunc = lambda d: (d['accountname'], d['foldername'])
19 sort_keyfunc = sort_key
20
21 [Account office365]
22 localrepository = office365-local
23 remoterepository = office365-remote
24 autorefresh = 10
25 quick = -1
26 # presynchook = imapfilter
27 # postsynchook = notifysync.sh
28 # presynchook = imapfilter -c someotherconfig.lua
29 status_backend = sqlite
30 # maxsize = 2000000
31 # maxage = 10
32
33 [Repository office365-local]
34 type = Maildir
35 localfolders = ~/mail/office365
36 #sep = .
37 #restoreatime = no
38 nametrans = translocal
39
40 [Repository office365-remote]
41 type = IMAP
42 remotehost = outlook.office365.com
43 remoteuser = samir.benmendil@ultrahaptics.com
44 # remotepasseval =
45 nametrans = transremote
46 folderfilter = lambda foldername: foldername in mapping
47 # folderfilter = lambda foldername: foldername in ['Archive', 'INBOX', 'Drafts', 'Sent', 'Junk Email', 'Deleted Items']
48 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
49 # trashfolder = '[Google Mail]/Bin'
50 # spamfolder = '[Google Mail]/Spam'
51 # usecompression = yes
52 maxconnections = 3
53 holdconnectionopen = yes
54 keepalive = 60
55 # auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN
56 #TODO (sb:20170113)
57 # readonly = True