-
Notifications
You must be signed in to change notification settings - Fork 1
/
.offlineimaprc
43 lines (34 loc) · 1.26 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
# vim filetype=config
# Here are settings for all accounts.
[general]
accounts = gmail
starttls = yes
ssl = yes
# Here's an example Gmail account, just add in a username and password to use your own.
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
[Repository gmail-remote]
type = Gmail
remoteuser = changeme@gmail.com
remotepass = ********
#Note that the line below will not sync Gmail's redundant "All Mail" box. You can add other inboxes here you don't want to sync.
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Repository gmail-local]
type = Maildir
localfolders = ~/Mail/Gmail
# Here's an other more general example. Add your username, password and IMAP server information, which you can look this up on your email host's website.
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
[Repository gmail-remote]
type = Gmail
remoteuser = changeme@gmail.com
remotepass = *********
#Note that the line below will not sync Gmail's redundant "All Mail" box
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Repository gmail-local]
type = Maildir
localfolders = ~/Mail/Gmail