-
Notifications
You must be signed in to change notification settings - Fork 1
/
.offlineimaprc
83 lines (68 loc) · 2.31 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[general]
accounts = GMail, UoE, LaBRI
maxsyncaccounts = 5
pythonfile = ~/.offlineimap.py
[Account GMail]
localrepository = gmaildir
remoterepository = gmailimap
[Repository gmaildir]
type = Maildir
localfolders = /home/pazz/mail/gmail/
[Repository gmailimap]
type = IMAP
remotehost = imap.gmail.com
remoteuser = [email protected]
remotepasseval = getpwd("Gmail")
#folderfilter = lambda foldername: foldername not in ['[Google Mail]/Spam', 'Trash', '[Google Mail]/Bin', '[Google Mail]/Sent Mail', ]
folderfilter = lambda foldername: foldername not in ['[Google Mail]/Spam', 'Trash', '[Google Mail]/Bin']
# "[Gmail]/Some Folder" --> some_folder
#nametrans = lambda foldername: re.sub(' Mail','',re.sub('^\[Google\ Mail\]\/', '',foldername))
#nametrans = lambda folder: re.sub('^inbox$', 'INBOX',
# re.sub(' +', '_',
# re.sub(r'.*/(.*)$', r'\1', folder).lower()))
ssl = yes
#cert_fingerprint = b0ba392bba326e6feb1add4d04fa0fb86cd173fa
#cert_fingerprint = 89091347184d41768bfc0da9fad94bfe882dd358
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 4
holdconnectionopen = yes
#idlefolders = ['INBOX']
#Setting realdelete = yes will Really Delete email from the server.
#Otherwise "deleting" a message will just remove any labels and
#retain the message in the All Mail folder.
realdelete = no
[Account UoE]
localrepository = uoedir
remoterepository = uoeimap
[Repository uoedir]
type = Maildir
localfolders = /home/pazz/mail/uoe/
[Repository uoeimap]
type = IMAP
remotehost = imap.staffmail.ed.ac.uk
remoteuser = s0976898
remotepasseval = getpwd("UoE")
ssl = yes
#cert_fingerprint = 89091347184d41768bfc0da9fad94bfe882dd358
#cert_fingerprint = e7e9d60b80c3c69aef59f97c413388770c01f0e8
cert_fingerprint = 268abffc841f457e435e5bf27c2ca7abb0b7c75d
maxconnections = 6
holdconnectionopen = yes
idlefolders = ['INBOX']
[Account LaBRI]
localrepository = LABRIdir
remoterepository = LABRIrep
[Repository LABRIdir]
type = Maildir
localfolders = /home/pazz/mail/labri
[Repository LABRIrep]
type = IMAP
remotehost = mailhost.labri.fr
remoteuser = ptotzke
remotepasseval = getpwd("LaBRI")
ssl = yes
cert_fingerprint = 5122b1dff718ca7143c47a87ace0bf0e32329a2f
#cert_fingerprint = e7e9d60b80c3c69aef59f97c413388770c01f0e8
maxconnections = 6
holdconnectionopen = yes
idlefolders = ['INBOX']