[offlineimap] update config
[~bandali/configs] / offlineimap / .offlineimaprc
1 [general]
2 pythonfile = ~/.offlineimap.py
3 accounts = Gmail, aminb
4 maxsyncaccounts = 3
5
6 [Account Gmail]
7 localrepository = GmailL
8 remoterepository = GmailR
9
10 [Account aminb]
11 localrepository = aminbL
12 remoterepository = aminbR
13
14 [Repository GmailL]
15 type = Maildir
16 localfolders = ~/Maildir/Gmail
17
18 [Repository GmailR]
19 type = IMAP
20 remotehost = imap.gmail.com
21 remoteusereval = mailuser("gmail")
22 remotepasseval = mailpasswd("gmail")
23 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
24 ssl = yes
25 folderfilter = lambda foldername: foldername not in '[Gmail]/All Mail'
26 maxconnections = 1
27 realdelete = no
28
29 [Repository aminbL]
30 type = Maildir
31 localfolders = ~/Maildir/aminb
32
33 [Repository aminbR]
34 type = IMAP
35 remotehost = mail.aminb.org
36 remoteusereval = mailuser("aminb")
37 remotepasseval = mailpasswd("aminb")
38 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
39 ssl = yes
40 folderfilter = lambda foldername: foldername not in 'dovecot.sieve'
41 maxconnections = 1
42 realdelete = no