mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
offlineimap config
This commit is contained in:
parent
b8d74c29f1
commit
43b075af65
64
offlineimap/.offlineimaprc
Normal file
64
offlineimap/.offlineimaprc
Normal file
@ -0,0 +1,64 @@
|
||||
# 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]
|
||||
type = GmailMaildir
|
||||
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]
|
||||
type = GmailMaildir
|
||||
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"
|
Loading…
Reference in New Issue
Block a user