2017-06-30 12:43:24 +00:00
|
|
|
# Sample minimal config file. Copy this to ~/.offlineimaprc and edit to
|
|
|
|
# get started fast.
|
|
|
|
|
|
|
|
[general]
|
|
|
|
accounts = gmail,andthensome
|
|
|
|
maxsyncaccounts = 1
|
|
|
|
|
|
|
|
[Account gmail]
|
|
|
|
localrepository = gmail-local
|
|
|
|
remoterepository = gmail-remote
|
|
|
|
autorefresh = 0.5
|
|
|
|
quick = 10
|
|
|
|
|
|
|
|
[Repository gmail-local]
|
2017-07-06 19:20:34 +00:00
|
|
|
type = Maildir
|
2017-06-30 12:43:24 +00:00
|
|
|
localfolders = ~/mail/gmail
|
|
|
|
|
|
|
|
[Repository gmail-remote]
|
|
|
|
type = Gmail
|
|
|
|
remoteuser = alrayyes@gmail.com
|
|
|
|
remotepass = ubfsohoybafijmpg
|
|
|
|
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
|
|
|
nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
|
|
|
|
re.sub ('sent_mail', 'sent',
|
|
|
|
re.sub ('starred', 'flagged',
|
|
|
|
re.sub (' ', '_', foldername.lower()))))
|
|
|
|
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
|
|
|
|
keepalive = 60
|
|
|
|
holdconnectionopen = yes
|
|
|
|
createfolders = False
|
|
|
|
|
|
|
|
|
|
|
|
[Account andthensome]
|
|
|
|
localrepository = andthensome-local
|
|
|
|
remoterepository = andthensome-remote
|
|
|
|
autorefresh = 0.5
|
|
|
|
quick = 10
|
|
|
|
|
|
|
|
[Repository andthensome-local]
|
2017-07-06 19:20:34 +00:00
|
|
|
type = Maildir
|
2017-06-30 12:43:24 +00:00
|
|
|
localfolders = ~/mail/andthensome
|
|
|
|
|
|
|
|
[Repository andthensome-remote]
|
|
|
|
type = Gmail
|
|
|
|
remoteuser = ryan@andthensome.nl
|
|
|
|
remotepass = zaglfcekciupfsqe
|
|
|
|
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
|
|
|
|
nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
|
|
|
|
re.sub ('sent_mail', 'sent',
|
|
|
|
re.sub ('starred', 'flagged',
|
|
|
|
re.sub (' ', '_', foldername.lower()))))
|
|
|
|
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
|
|
|
|
keepalive = 60
|
|
|
|
holdconnectionopen = yes
|
|
|
|
createfolders = False
|
|
|
|
|
|
|
|
# Mutt support
|
|
|
|
[mbnames]
|
|
|
|
enabled = yes
|
|
|
|
filename = ~/.mutt/mailboxes
|
|
|
|
header = "mailboxes "
|
|
|
|
peritem = "+%(accountname)s/%(foldername)s"
|
|
|
|
sep = " "
|
|
|
|
footer = "\n"
|