-
Notifications
You must be signed in to change notification settings - Fork 3
/
offlineimaprc
59 lines (47 loc) · 1.44 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
[general]
accounts = Fastmail
maxsyncaccounts = 3
pythonfile = ~/.offlineimap.py
[Account Outlook]
localrepository = LocalOutlook
remoterepository = RemoteOutlook
[Repository LocalOutlook]
type = Maildir
localfolders = ~/.mail/outlook
[Repository RemoteOutlook]
type = IMAP
ssl = yes
sslcacertfile = OS-DEFAULT
auth_mechanisms = PLAIN
remotehost = outlook.office365.com
remoteusereval = get_user("itdesign/outlook.microsoft.com")
remotepasseval = get_pass("itdesign/outlook.microsoft.com")
folderfilter = lambda folder: folder in ['Archive', 'Deleted Items', 'Drafts', 'INBOX', 'Junk Email', 'Outbox', 'Sent Items']
[Account Fastmail]
localrepository = LocalFastmail
remoterepository = RemoteFastmail
[Repository LocalFastmail]
type = Maildir
localfolders = ~/.mail/fastmail
[Repository RemoteFastmail]
type = IMAP
ssl = yes
sslcacertfile = OS-DEFAULT
auth_mechanisms = PLAIN
remotehost = imap.fastmail.com
remoteusereval = get_user("mail/fastmail.com/offlineimap")
remotepasseval = get_pass("mail/fastmail.com/offlineimap")
[Account Gmail]
localrepository = LocalGmail
remoterepository = RemoteGmail
[Repository LocalGmail]
type = GmailMaildir
localfolders = ~/.mail/gmail
[Repository RemoteGmail]
type = Gmail
remoteusereval = get_user("mail/gmail.com")
remotepasseval = get_pass("mail/gmail.com")
ssl = yes
sslcacertfile = OS-DEFAULT
ssl_version = tls1_2
folderfilter = lambda folder: folder in ['INBOX', 'Trash', '[Google Mail]/Trash', '[Google Mail]/Spam']