summaryrefslogtreecommitdiffstats
path: root/offlineimaprc
blob: 6f11da1e62211df71beca15fe47b7fb812809a98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[general]
ui = TTY.TTYUI
#accounts = MatthewLemon, Gmail
accounts = MatthewLemon, purelymail
pythonfile=~/.offlineimap.py
fsync = False

[Account purelymail]
localrepository = purelymail-local
remoterepository = purelymail-remote


[Account MatthewLemon]
localrepository = MatthewLemon-Local
remoterepository = MatthewLemon-Remote
#status_backend = sqlite
#postsynchook = notmuch new

[Repository MatthewLemon-Local]
type = Maildir
localfolders = ~/.mail/matt-matthewlemon.com
# nametrans = lambda folder: {'drafts': '/Drafts',
#  				'sent':	'/Sent',
#  				'archive': '/Archive',
#  				'inbox': '/Inbox',
#  				}.get(folder, folder)

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

[Repository purelymail-remote]
maxconnections = 3
type = IMAP
remotehost = imap.purelymail.com
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
remoteuser = mrlemon@purelymail.com
remotepasseval = get_pass("purelymail_neomutt") 


[Repository MatthewLemon-Remote]
#cert_fingerprint = 54137524fe721f0cbb8a6a0e1e280ade50482e29
maxconnections = 3
type = IMAP
#remotehost = mail.messagingengine.com
remotehost = imap.fastmail.com
#ssl = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
#sslcacertfile = /etc/ssl/cert.pem
remoteuser = mrlemon@mailforce.net
remotepasseval = get_pass("evolution_email_fastmail")
#remotepasseval = keyring.get_password('offlineimap', 'matthewlemon') 
nametrans = lambda folder: {'/Drafts': 'drafts',
				'/Sent': 'sent',
				'/Archive': 'archive',
				'/Inbox': 'inbox',
				'/Trash': 'trash',
				}.get(folder, folder)
folderfilter = lambda folder: folder in ['INBOX', 'Archive', 'Sent', 'Drafts', 'Trash']
#folderfilter = lambda folder: folder in ['INBOX', 'INBOX.Sent Items', 'INBOX.Archive', 'INBOX.Drafts']

#[Account Gmail]
#localrepository = Gmail-Local
#remoterepository = Gmail-Remote
#synclabels = yes
#
#[Repository Gmail-Local]
#type = GmailMaildir
#localfolders = ~/.mail/matthew.lemon-gmail.com
#
#[Repository Gmail-Remote]
#type = Gmail
#remoteuser = matthew.lemon@gmail.com
#remotepass = hvhmfbdlgggebxgc
#nametrans = lambda folder: {'drafts': '/Drafts',
#				'sent':	'/Sent',
#				'archive': '/Archive',
#				'inbox': '/Inbox',
#				}.get(folder, folder)
#folderfilter = lambda foldername: foldername not in ['Gmail]/All Mail']
#sslcacertfile = /etc/ssl/certs/ca-certificates.crt
#ssl_version = tls1_2