summary refs log tree commit diff stats
path: root/offlineimap/.offlineimaprc
blob: 7fe737914170711bea0e9775101d24f13e73a20c (plain)
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
[general]
# List of accounts to be synced, separated by a comma.
accounts = alanpearce.eu, riseup.net
pythonfile = ~/.offlineimap.py

[Account alanpearce.eu]
# Identifier for the local repository; e.g. the maildir to be synced via IMAP.
localrepository = alanpearce.eu-local
# Identifier for the remote repository; i.e. the actual IMAP, usually non-local.
remoterepository = alanpearce.eu-remote
autorefresh = 20
quick = 2
postsynchook = mu index --muhome=~/.cache/mu/alanpearce.eu --maildir=%(alanpearcemaildir)s --lazy-check --nocleanup --quiet
 
[Repository alanpearce.eu-local]
# OfflineIMAP supports Maildir, GmailMaildir, and IMAP for local repositories.
type = Maildir
# Where should the mail be placed?
localfolders = %(alanpearcemaildir)s

[Repository alanpearce.eu-remote]
# Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP.
type = IMAP
remotehost = mail.alanpearce.eu
remoteuser = alan
remotepasseval = get_pass("mail/alanpearce.eu")
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
keepalive = 1740
holdconnectionopen = yes
usecompression = yes
idlefolders = ['INBOX']

[Account riseup.net]
localrepository = riseup.net-local
remoterepository = riseup.net-remote
autorefresh = 20
quick = 2
postsynchook = mu index --muhome=~/.cache/mu/riseup.net --maildir=%(riseupmaildir)s --lazy-check --nocleanup --quiet

[Repository riseup.net-local]
type = Maildir
localfolders = %(riseupmaildir)s

[Repository riseup.net-remote]
type = IMAP
remotehost = mail.riseup.net
remoteuser = alanpearce
remotepasseval = get_pass("mail/riseup.net")
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
keepalive = 1740
holdconnectionopen = yes
usecompression = yes
idlefolders = ['INBOX']

[Account satoshipay.io]
localrepository = satoshipay.io-local
remoterepository = satoshipay.io-remote
autorefresh = 20
quick = 2
postsynchook = mu index --muhome=~/.cache/mu/satoshipay.io --maildir=%(satoshipaymaildir)s --lazy-check --nocleanup --quiet

[Repository satoshipay.io-local]
type = GmailMaildir
localfolders = %(satoshipaymaildir)s

[Repository satoshipay.io-remote]
type = Gmail
remoteuser = alan@satoshipay.io
remotepasseval = get_pass("satoshipay/google")
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
keepalive = 1740
holdconnectionopen = yes
usecompression = yes
idlefolders = ['INBOX']

[DEFAULT]
alanpearcemaildir = ~/mail/personal/alanpearce
riseupmaildir = ~/mail/personal/riseup
satoshipaymaildir = ~/mail/satoshipay