Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3246a24dea
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (39 sloc) 1.357 kb
##################################################
# General definitions
##################################################
[general]
metadata = ~/.config/offlineimap/metadata
accounts = gmail
ui = ttyui
ignore-readonly = no
#[mbnames]
#enabled = yes
#filename = ~/.mutt/muttrc.mailboxes
#header = "mailboxes "
#peritem = "+%(foldername)s"
#sep = " "
#footer = "\n"
[Account gmail]
localrepository = gmail_local
remoterepository = gmail_remote
maxsyncaccounts = 3
maxconnections = 3
[Repository gmail_local]
type = Maildir
localfolders = ~/var/mail/gmail
[Repository gmail_remote]
type = Gmail
remoteuser = d@falconindy.com
realdelete = no
nametrans = lambda folder: re.sub('.*Spam$', 'spam',
re.sub('.*ArchLists$', 'arch',
re.sub('.*Reisner$', 'reisner',
re.sub('.*go-nuts$', 'gonuts',
re.sub('.*Brookdale$', 'brookdale',
re.sub('.*Drafts$', 'drafts',
re.sub('.*Sent Mail$', 'sent',
re.sub('.*Starred$', 'flagged',
re.sub('.*Trash$', 'trash',
re.sub('.*All Mail$', 'archive', folder))))))))))
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important']
# vim: ft=cfg tw=0
Jump to Line
Something went wrong with that request. Please try again.