-
Notifications
You must be signed in to change notification settings - Fork 4
/
.offlineimaprc
29 lines (25 loc) · 743 Bytes
/
.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
# Offlineimap config file
[general]
ui = Quiet
accounts = gmail
socktimeout = 60
maxsyncaccounts = 1
[Account gmail]
quick = 5
autorefresh = 1
proxy = PROXY_TYPE_SOCKS5:127.0.0.1:9050
localrepository = gmail-local
remoterepository = gmail-remote
[Repository gmail-local]
type = Maildir
localfolders = ~/documents/mails/gmail
[Repository gmail-remote]
type = Gmail
maxconnections = 2
remoteuser = [email protected]
remotepassfile = ~/.mutt/passwd
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
#sslcacertfile = /opt/homebrew/etc/openssl@3/cert.pem
nametrans = lambda foldername: re.sub('^\[Gmail\]/', '', foldername)
folderfilter = lambda foldername: foldername in ['INBOX', '[Gmail]/Drafts',
'[Gmail]/Spam','[Gmail]/Trash', 'PgSQL']