summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b105fd8)
also move files to $XDG_CONFIG_HOME
APATH := $(realpath .)
FILES := bin
APATH := $(realpath .)
FILES := bin
-DOTFILES := conky* git* goobookrc msmtp* mutt ncmpcpp offlineimap* profile weechat xbindkeysrc Xresources xprofile zprofile zshrc
-CONFIGFILES := aliases compton.conf git mimeo.conf mpd ranger retroarch vim xkb zsh
+DOTFILES := conky* git* goobookrc msmtp* mutt ncmpcpp profile weechat xbindkeysrc Xresources xprofile zprofile zshrc
+CONFIGFILES := aliases compton.conf git mimeo.conf mpd offlineimap ranger retroarch vim xkb zsh
.PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
install: $(FILES) $(DOTFILES) $(CONFIGFILES)
.PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
install: $(FILES) $(DOTFILES) $(CONFIGFILES)
-#metadata = ~/.offlineimap
+metadata = $XDG_DATA_HOME/offlineimap
accounts = gmail
maxsyncaccounts = 1
#ui = basic
#ignore-readonly = no
accounts = gmail
maxsyncaccounts = 1
#ui = basic
#ignore-readonly = no
-pythonfile = ~/bin/offlineimap_utils.py
+pythonfile = $XDG_CONFIG_HOME/offlineimap/utils.py
socktimeout = 120
fsync = false
socktimeout = 120
fsync = false
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
-#autorefresh = 1
-quick = 10
+autorefresh = 10
+quick = -1
# presynchook = imapfilter
# postsynchook = notifysync.sh
# presynchook = imapfilter -c someotherconfig.lua
status_backend = sqlite
# maxsize = 2000000
# presynchook = imapfilter
# postsynchook = notifysync.sh
# presynchook = imapfilter -c someotherconfig.lua
status_backend = sqlite
# maxsize = 2000000
#maildir-windows-compatible = no
#maildir-windows-compatible = no
+synclabels = yes
+labelsheader = X-Label
+filterheaders = X-Label
+#ignorelabels = \Inbox, \Starred, \Sent, \Draft, \Spam, \Trash, \Important
+ignorelabels = \Draft, \Important
localfolders = ~/mail/gmail
#sep = .
#restoreatime = no
localfolders = ~/mail/gmail
#sep = .
#restoreatime = no
type = Gmail
remoteuser = samir.benmendil@gmail.com
nametrans = transremote
type = Gmail
remoteuser = samir.benmendil@gmail.com
nametrans = transremote
-#folderfilter = lambda foldername: foldername not in '[Google Mail]/All Mail'
+# 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'
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
trashfolder = '[Google Mail]/Bin'
spamfolder = '[Google Mail]/Spam'
maxconnections = 3
holdconnectionopen = yes
keepalive = 60
maxconnections = 3
holdconnectionopen = yes
keepalive = 60