summaryrefslogtreecommitdiff
path: root/.offlineimap/offlineimaprc
blob: 0be202ee7ef8ceb6a27557288e4aa2988807f259 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[general]
ui         = ttyui
pythonfile = /home/urbain/.offlineimap.py
accounts   = Work, Main, Informal, Personal
maxsyncaccounts = 4

[Account Work]
localrepository  = Work-Local
remoterepository = Work-Remote
autorefresh      = 10

[Repository Work-Local]
type           = Maildir
localfolders   = ~/.mail/Work
status_backend = sqlite
nametrans      = lambda folder : {'Work' : 'INBOX', 'Work/sent' : 'Sent Items', 'Work/drafts' : 'Drafts', 'Work/bin' : 'Deleted Items'}.get(folder, folder)

[Repository Work-Remote]
type           = IMAP
remotehost     = outlook.office365.com
remoteuser     = uv113@ic.ac.uk
remotepasseval = mailpasswd('imperial/u.vaes13@imperial.ac.uk')
nametrans      = lambda folder : {'INBOX' : 'Work', 'Sent Items' : 'Work/sent', 'Drafts' : 'Work/drafts', 'Deleted Items' : 'Work/bin'}.get(folder, folder)
folderfilter   = lambda folder: folder in ['INBOX', 'Sent Items', 'Drafts', 'Deleted Items']
sslcacertfile  = /etc/ssl/certs/ca-certificates.crt
realdelete     = no
maxconnections = 3
auth_mechanisms = LOGIN


[Account Main]
localrepository  = Main-Local
remoterepository = Main-Remote
autorefresh      = 10

[Repository Main-Local]
type           = Maildir
localfolders   = ~/.mail/Main
status_backend = sqlite
nametrans      = lambda folder : {'Main' : 'INBOX', 'Main/sent' : '[Gmail]/Sent Mail', 'Main/drafts' : '[Gmail]/Drafts', 'Main/bin' : '[Gmail]/Bin'}.get(folder, folder)

[Repository Main-Remote]
type           = Gmail
remoteuser     = urbain.p.vaes
remotepasseval = mailpasswd("gmail/urbain.p.vaes@gmail.com")
nametrans      = lambda folder : {'INBOX' : 'Main', '[Gmail]/Sent Mail' : 'Main/sent', '[Gmail]/Drafts' : 'Main/drafts', '[Gmail]/Bin' : 'Main/bin'}.get(folder, folder)
folderfilter   = lambda folder: folder in ['INBOX', '[Gmail]/Sent Mail', '[Gmail]/Drafts', '[Gmail]/Bin']
sslcacertfile  = /etc/ssl/certs/ca-certificates.crt
realdelete     = no
maxconnections = 3
auth_mechanisms = LOGIN

[Account Informal]
localrepository  = Informal-Local
remoterepository = Informal-Remote
autorefresh      = 10

[Repository Informal-Local]
type           = Maildir
localfolders   = ~/.mail/Informal
status_backend = sqlite
nametrans      = lambda folder : {'Informal' : 'INBOX', 'Informal/sent' : '[Gmail]/Sent Mail', 'Informal/drafts' : '[Gmail]/Drafts', 'Informal/bin' : '[Gmail]/Bin'}.get(folder, folder)

[Repository Informal-Remote]
type           = Gmail
remoteuser     = urbainvaes90
remotepasseval = mailpasswd("gmail/urbainvaes90@gmail.com")
nametrans      = lambda folder : {'INBOX' : 'Informal', '[Gmail]/Sent Mail' : 'Informal/sent', '[Gmail]/Drafts' : 'Informal/drafts', '[Gmail]/Bin' : 'Informal/bin'}.get(folder, folder)
folderfilter   = lambda folder: folder in ['INBOX', '[Gmail]/Sent Mail', '[Gmail]/Drafts', '[Gmail]/Bin']
sslcacertfile  = /etc/ssl/certs/ca-certificates.crt
realdelete     = no
maxconnections = 3
auth_mechanisms = LOGIN

[Account Personal]
localrepository  = Personal-Local
remoterepository = Personal-Remote
autorefresh      = 10

[Repository Personal-Local]
type           = Maildir
localfolders   = ~/.mail/Personal
status_backend = sqlite
nametrans      = lambda folder : {'Personal' : 'INBOX', 'Personal/sent' : 'Sent', 'Personal/drafts' : 'Drafts', 'Personal/bin' : 'Trash'}.get(folder, folder)

[Repository Personal-Remote]
type           = IMAP
remotehost     = imap.openmailbox.org
remoteuser     = urbain.p.vaes@openmailbox.org
remotepasseval = mailpasswd("openmailbox/urbain.p.vaes@openmailbox.org")
nametrans      = lambda folder : {'INBOX' : 'Personal', 'Sent' : 'Personal/sent', 'Drafts' : 'Personal/drafts', 'Trash' : 'Personal/bin'}.get(folder, folder)
folderfilter   = lambda folder: folder in ['INBOX', 'Sent', 'Drafts', 'Trash']
sslcacertfile  = /etc/ssl/certs/ca-certificates.crt
realdelete     = no
maxconnections = 3
auth_mechanisms = LOGIN

[mbnames]
enabled  = yes
filename = ~/.mutt/mailboxes.offlineimap
header   = "mailboxes "
peritem  = "+%(accountname)s/%(foldername)s"
sep      = " "
footer   = "\n"