dotfiles/.offlineimaprc

24 lines
695 B
Text
Raw Normal View History

2016-12-16 21:06:16 +00:00
[general]
accounts = gigavinyl
pythonfile = ~/.offlineimappass.py
[Account gigavinyl]
localrepository = gigavinyl-local
remoterepository = gigavinyl-remote
postsynchook = ~/.config/offlineimap/hooks/postsync_gigavinyl
[Repository gigavinyl-local]
type = Maildir
localfolders = ~/mail/gigavinyl
[Repository gigavinyl-remote]
type = Gmail
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
remotehost = imap.gmail.com
remoteport = 993
remoteusereval = "gigavinyl@gmail.com"
remotepasseval = get_pass("gigavinyl")
nametrans = lambda folder: {'[Gmail]/All Mail': 'archive',
}.get(folder, folder)
folderfilter = lambda folder: folder == '[Gmail]/All Mail'