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