about summary refs log blame commit diff
path: root/users/tazjin/dotfiles/offlineimaprc
blob: 78315447e4bd5b7a6a8c94f94f8f39259ab7fe79 (plain) (tree)
1
2
3
4
5
6
7
8
9
         
                        




                                                  

                              
           




























                                               
[general]
accounts = tazjin, gmail

[DEFAULT]
ssl = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt

# Private GMail account (old):
[Account gmail]
maxage = 90
localrepository = gmail-local
remoterepository = gmail-remote
synclabels = yes

[Repository gmail-local]
type = GmailMaildir
localfolders = ~/mail/gmail

[Repository gmail-remote]
type = Gmail
remoteuser = tazjin@gmail.com
remotepassfile = ~/.config/mail/gmail-pass
folderfilter = lambda folder: folder == 'INBOX'

# Main private account:
[Account tazjin]
localrepository = tazjin-local
remoterepository = tazjin-remote

[Repository tazjin-local]
type = Maildir
localfolders = ~/mail/tazjin

[Repository tazjin-remote]
type = IMAP
remotehost = mail.runbox.com
remoteuser = mail@tazj.in
remotepassfile = ~/.config/mail/tazjin-pass
auth_mechanisms = LOGIN