dotfiles/offlineimaprc

58 lines
1.5 KiB
Text

[general]
ui = ttyui
accounts = Sanchayan,Victor,Toradex
fsync = false
pythonfile = ~/.offlineimap.py
[Account Sanchayan]
localrepository = Sanchayan-Local
remoterepository = Sanchayan-Remote
postsynchook = notmuch new
[Account Victor]
localrepository = Victor-Local
remoterepository = Victor-Remote
postsynchook =- notmuch new
[Account Toradex]
localrepository = Toradex-Local
remoterepository = Toradex-Remote
[Repository Sanchayan-Local]
type = Maildir
localfolders = ~/Mail/Sanchayan
[Repository Victor-Local]
type = Maildir
localfolders = ~/Mail/Victor
[Repository Toradex-Local]
type = Maildir
localfolders = ~/Mail/Toradex
[Repository Sanchayan-Remote]
type = Gmail
remoteuser = maitysanchayan@gmail.com
remotepasseval = mailpasswd("sanchayan")
realdelete = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail','[Gmail]/Trash']
[Repository Victor-Remote]
type = Gmail
remoteuser = victorascroft@gmail.com
remotepasseval = mailpasswd("victor")
realdelete = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Trash']
[Repository Toradex-Remote]
type = IMAP
remotehost = outlook.office365.com
remoteuser = sanchayan.maity@toradex.com
remotepasseval = mailpasswd("toradex")
realdelete = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
folderfilter = lambda folder: folder in ['INBOX', 'Sent']
postsynchook = notmuch new