~andrewzah/dotfiles

ref: debian10-x201 dotfiles/.offlineimaprc -rw-r--r-- 1.8 KiB
afee15f8 — Andrew Zah update install script 2 years ago
                                                                                
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[general]
# List of accounts to be synced, separated by a comma.
accounts = zah_andrewzah,gmail,junk_andrewzah

[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote

[Account zah_andrewzah]
localrepository = zah_andrewzah-local
remoterepository = zah_andrewzah-remote

[Account junk_andrewzah]
localrepository = junk_andrewzah-local
remoterepository = junk_andrewzah-remote

[Repository gmail-local]
type = Maildir
localfolders = /mnt/mail/gmail

[Repository gmail-remote]
type = Gmail
sslcacertfile = /usr/local/share/certs/ca-root-nss.crt
remoteuser = zah.andrew@gmail.com
remotepassfile = /config/creds/gmail.pass
maxconnections = 1
readonly = true
nametrans = lambda folder: {'[Gmail]/Drafts':    'drafts',
                            '[Gmail]/Sent Mail': 'sent',
                            '[Gmail]/Starred':   'flagged',
                            '[Gmail]/Important':   'important',
                            '[Gmail]/Spam':   'spam',
                            '[Gmail]/Trash':     'trash',
                            '[Gmail]/All Mail':  'archive',
                            }.get(folder, folder)

[Repository zah_andrewzah-local]
type = Maildir
localfolders = /mnt/mail/zah_andrewzah

[Repository zah_andrewzah-remote]
type = IMAP
sslcacertfile = /usr/local/share/certs/ca-root-nss.crt
remotehost = mail.gandi.net
remoteuser = zah@andrewzah.com
remotepassfile = /config/creds/zah_andrewzah.pass
maxconnections = 1
readonly = true

[Repository junk_andrewzah-local]
type = Maildir
localfolders = /mnt/mail/junk_andrewzah

[Repository junk_andrewzah-remote]
type = IMAP
sslcacertfile = /usr/local/share/certs/ca-root-nss.crt
remotehost = mail.gandi.net
remoteuser = junk@andrewzah.com
maxconnections = 1
readonly = true
remotepassfile = /config/creds/junk_andrewzah.pass