-
Notifications
You must be signed in to change notification settings - Fork 0
/
offlineimaprc
65 lines (56 loc) · 1.9 KB
/
offlineimaprc
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
[general]
pythonfile = ~/.offlineimaprc.py
accounts = TG,AG
ui = TTY.TTYUI
fsync = False
socktimeout = 120
[Account TG]
localrepository = TG-Local
remoterepository = TG-Remote
status_backend = sqlite
#postsynchook = notmuch new
[Repository TG-Local]
type = Maildir
localfolders = ~/Mail/TG
[Repository TG-Remote]
remotehost=imap.outlook.com
remotepasseval = keyring.get_password('Office365', 'TIMGroup')
remoteuser=adam.gibbins@acuris.com
maxconnections = 1
realdelete = yes
type = IMAP
ssl = yes
sslcacertfile = ~/.mutt/certs/cacert.pem
folderfilter = lambda folder: folder not in [
'Calendar',
'Calendar/TIM Group Cezanne Holidays',
'Contacts',
'Deleted Items'
'INBOX/Journal',
'INBOX/Junk Email',
'INBOX/News Feed',
'INBOX/Notes',
'INBOX/RSS Feeds',
'INBOX/Suggested Contacts'
'Sync Issues',
'RSS Feeds',
'Trash',
]
[Account AG]
localrepository = AG-Local
remoterepository = AG-Remote
status_backend = sqlite
[Repository AG-Local]
type = Maildir
localfolders = ~/Mail/AG
[Repository AG-Remote]
remotehost=imap.fastmail.com
remoteuser=adamgibbins@fastmail.com
remotepasseval = keyring.get_password('Fastmail', 'AdamGibbins')
maxconnections = 3
expunge = no
type = IMAP
ssl = yes
sslcacertfile = ~/.mutt/certs/cacert.pem
folderfilter = lambda foldername: foldername not in ['Trash']
# vim: ft=cfg