summaryrefslogtreecommitdiffstats
path: root/.offlineimaprc
blob: 70c58b174f93ebe0ed63a28b9043d2fdaf5aeb7f (plain) (blame)
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, personal
starttls = yes
ssl = yes
autorefresh = 1


# 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 = YOURNAME@gmail.com
remotepass = $PASSWORD
#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 personal]

localrepository = personal-local
remoterepository = personal-remote

[Repository personal-remote]
type = IMAP
remoteuser = USER@DOMAIN.COM
remotepass = $PASSWORD
remotehost = SERVER-ADDRESS
sslcacertfile = /etc/ssl/certs/ca-certificates.crt

[Repository personal-local]
type = Maildir
localfolders = ~/.Mail/Personal