Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 47 lines (39 sloc) 1.357 kB
b439391 @falconindy initial commit
authored
1 ##################################################
2 # General definitions
3 ##################################################
4
5 [general]
6 metadata = ~/.config/offlineimap/metadata
7 accounts = gmail
8d884db @falconindy offlineimap: use new UI naming convention
authored
8 ui = ttyui
b439391 @falconindy initial commit
authored
9 ignore-readonly = no
10
11 #[mbnames]
12 #enabled = yes
13 #filename = ~/.mutt/muttrc.mailboxes
14 #header = "mailboxes "
15 #peritem = "+%(foldername)s"
16 #sep = " "
17 #footer = "\n"
18
19 [Account gmail]
20 localrepository = gmail_local
21 remoterepository = gmail_remote
22 maxsyncaccounts = 3
23 maxconnections = 3
24
25 [Repository gmail_local]
26 type = Maildir
27 localfolders = ~/var/mail/gmail
28
29 [Repository gmail_remote]
30 type = Gmail
31 remoteuser = d@falconindy.com
32 realdelete = no
33 nametrans = lambda folder: re.sub('.*Spam$', 'spam',
34 re.sub('.*ArchLists$', 'arch',
35 re.sub('.*Reisner$', 'reisner',
36 re.sub('.*go-nuts$', 'gonuts',
37 re.sub('.*Brookdale$', 'brookdale',
38 re.sub('.*Drafts$', 'drafts',
39 re.sub('.*Sent Mail$', 'sent',
40 re.sub('.*Starred$', 'flagged',
41 re.sub('.*Trash$', 'trash',
42 re.sub('.*All Mail$', 'archive', folder))))))))))
43
3873c96 @falconindy offlineimap: dont sync gmail/important
authored
44 folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important']
b439391 @falconindy initial commit
authored
45
46 # vim: ft=cfg tw=0
Something went wrong with that request. Please try again.