24 lines
695 B
Text
24 lines
695 B
Text
|
[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'
|