~gpanders/dotfiles

ref: 2da1dde5ea566f82ebe6532bc6d3b8670fd77ce8 dotfiles/offlineimap/.config/offlineimap/config -rw-r--r-- 1.5 KiB
2da1dde5Greg Anders Note 'open' subcommand opens editor in NOTES_DIR when no argument given 1 year, 3 months ago
                                                                                
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
[general]
ui = ttyui
metadata = ~/.config/offlineimap
pythonfile = ~/.config/offlineimap/helpers.py
accounts = gpanders

[Account gpanders]
localrepository = gpanders-local
remoterepository = gpanders-remote
postsynchook = notmuch new
autorefresh = 0.5
quick = 10

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

[Repository gpanders-remote]
type = IMAP
sslcacertfile = /etc/ssl/cert.pem
remotehost = mail.gandi.net
remoteuser = greg@gpanders.com
remotepasseval = get_pass("mail/greg@gpanders.com")
nametrans = lambda f: "Sent" if f.startswith("Sent") else "Trash" if f.startswith("Trash") else f
folderfilter = lambda f: f not in ["Junk", "Spam"]
keepalive = 60
holdconnectionopen = yes

## Uncomment the lines below to synchronize gmail
# [Account gmail]
# localrepository = gmail-local
# remoterepository = gmail-remote
# synclabels = yes
# postsynchook = notmuch new
# autorefresh = 0.5
# quick = 10
#
# [Repository gmail-local]
# type = GmailMaildir
# localfolders = ~/.mail/gmail
# nametrans = lambda f: "[Gmail]/" + f if f in ["Drafts", "Starred", "Important", "Spam", "Trash", "All Mail", "Sent Mail"] else f
#
# [Repository gmail-remote]
# type = Gmail
# sslcacertfile = /etc/ssl/certs/ca-certificates.crt
# remoteuser = greg.p.anders@gmail.com
# remotepasseval = get_pass("google/apps/offlineimap")
# nametrans = lambda f: f.replace("[Gmail]/", "") if f.startswith("[Gmail]/") else f
# folderfilter = lambda f: f in ["INBOX", "Drafts", "Sent Mail", "Snoozed", "Trash"]
# keepalive = 60
# holdconnectionopen = yes

# vim: ft=conf