summaryrefslogtreecommitdiffstats
path: root/offlineimap/.offlineimaprc
blob: 60d9801e0008b9a31321a796599443f408e1e844 (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
[general]
pythonfile = ~/.offlineimap.py
accounts = Gmail, aminb
maxsyncaccounts = 3

[Account Gmail]
localrepository = GmailL
remoterepository = GmailR

[Account aminb]
localrepository = aminbL
remoterepository = aminbR

[Repository GmailL]
type = Maildir
localfolders = ~/Maildir/Gmail

[Repository GmailR]
type = IMAP
remotehost = imap.gmail.com
remoteusereval = mailuser("gmail")
remotepasseval = mailpasswd("gmail")
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
ssl = yes
folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
maxconnections = 1
realdelete = no

[Repository aminbL]
type = Maildir
localfolders = ~/Maildir/aminb

[Repository aminbR]
type = IMAP
remotehost = mail.aminb.org
remoteusereval = mailuser("aminb")
remotepasseval = mailpasswd("aminb")
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
ssl = yes
folderfilter = lambda foldername: foldername not in 'dovecot.sieve'
maxconnections = 1
realdelete = no