X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/b105fd8fa65df3dac66b9973d6ff2e86a599143a..d3bdd28f491728d969c5941d18b9f4ee2651f60b:/offlineimap/config?ds=inline diff --git a/offlineimap/config b/offlineimap/config new file mode 100644 index 0000000..5b02023 --- /dev/null +++ b/offlineimap/config @@ -0,0 +1,58 @@ +[general] +metadata = $XDG_DATA_HOME/offlineimap +accounts = gmail +maxsyncaccounts = 1 +#ui = basic +#ignore-readonly = no +pythonfile = $XDG_CONFIG_HOME/offlineimap/utils.py +socktimeout = 120 +fsync = false + +[mbnames] +enabled = yes +filename = ~/.mutt/mailboxes +header = "mailboxes " +peritem = "+%(accountname)s/%(foldername)s" +sep = " " +footer = "\n" +# sort_keyfunc = lambda d: (d['accountname'], d['foldername']) +sort_keyfunc = sort_key + +[Account gmail] +localrepository = gmail-local +remoterepository = gmail-remote +autorefresh = 10 +quick = -1 +# presynchook = imapfilter +# postsynchook = notifysync.sh +# presynchook = imapfilter -c someotherconfig.lua +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 +#sep = . +#restoreatime = no +nametrans = translocal + +[Repository gmail-remote] +type = Gmail +remoteuser = samir.benmendil@gmail.com +nametrans = transremote +# folderfilter = lambda foldername: foldername in ['[Google Mail]/All Mail', '[Google Mail]/Drafts', '[Google Mail]/Bin'] +sslcacertfile = /etc/ssl/certs/ca-certificates.crt +trashfolder = '[Google Mail]/Bin' +spamfolder = '[Google Mail]/Spam' +usecompression = yes +maxconnections = 3 +holdconnectionopen = yes +keepalive = 60 +# readonly = True