Skip to content

Instantly share code, notes, and snippets.

@seanh
Created September 27, 2012 17:51
Show Gist options
  • Save seanh/3795376 to your computer and use it in GitHub Desktop.
Save seanh/3795376 to your computer and use it in GitHub Desktop.
[general]
ui = TTYUI
metadata = ~/Mail/offlineimap
accounts = XXXXXXXX@XXXXXXXX.com, XXXXXXXX@XXXXXXXX.sms.ed.ac.uk, snhmnd@gmail.com, XXXXXXXX@ed-alumni.net
maxsyncaccounts = 6
#ignore-readonly = no
#pythonfile = ~/.offlineimap.py
socktimeout = 60
#fsync = True
[mbnames]
enabled = yes
filename = ~/.mutt/offlineimap_mailboxes
header = "mailboxes "
peritem = "+%(accountname)s/%(foldername)s"
sep = " "
footer = "\n"
[Account XXXXXXXX@XXXXXXXX.com]
localrepository = XXXXXXXX@XXXXXXXX.com-local
remoterepository = XXXXXXXX@XXXXXXXX.com-remote
autorefresh = 5
quick = 10
#presynchook = imapfilter
#postsynchook = ~/Scripts/backup --no-compress --no-progress --no-fuzzy ~/Mail/XXXXXXXX@XXXXXXXX.com ~/Mail.backup/XXXXXXXX@XXXXXXXX.com
status_backend = sqlite
[Repository XXXXXXXX@XXXXXXXX.com-local]
type = Maildir
localfolders = ~/Mail/XXXXXXXX@XXXXXXXX.com
sep = /
[Repository XXXXXXXX@XXXXXXXX.com-remote]
type = IMAP
remotehost = XXXXXXXX.com
ssl = yes
cert_fingerprint=XXXXXXXX
remoteuser = xxxxxxxx
remotepassfile = ~/.offlineimap.passwords.XXXXXXXX@XXXXXXXX.com
idlefolders = ['INBOX', ]
#readonly = True
[Account XXXXXXXX@XXXXXXXX.sms.ed.ac.uk]
localrepository = XXXXXXXX@XXXXXXXX.sms.ed.ac.uk-local
remoterepository = XXXXXXXX@XXXXXXXX.sms.ed.ac.uk-remote
autorefresh = 15
quick = 10
#presynchook = imapfilter
#postsynchook = ~/Scripts/backup --no-compress --no-progress --no-fuzzy ~/Mail/XXXXXXXX@XXXXXXXX.sms.ed.ac.uk ~/Mail.backup/XXXXXXXX@XXXXXXXX.sms.ed.ac.uk
[Repository XXXXXXXX@XXXXXXXX.sms.ed.ac.uk-local]
type = Maildir
localfolders = ~/Mail/XXXXXXXX@XXXXXXXX.sms.ed.ac.uk
sep = /
[Repository XXXXXXXX@XXXXXXXX.sms.ed.ac.uk-remote]
type = IMAP
remotehost = imap.sms.ed.ac.uk
ssl = yes
cert_fingerprint=XXXXXXXX
remoteuser = XXXXXXXX
remotepassfile = ~/.offlineimap.passwords.XXXXXXXX@XXXXXXXX.sms.ed.ac.uk
idlefolders = ['INBOX', ]
#readonly = True
[Account snhmnd@gmail.com]
localrepository = snhmnd@gmail.com-local
remoterepository = snhmnd@gmail.com-remote
trashfolder = [Google Mail]/Bin
spamfolder = [Google Mail]/Spam
autorefresh = 15
quick = 10
ssl = yes
#presynchook = imapfilter
#postsynchook = ~/Scripts/backup --no-compress --no-progress --no-fuzzy ~/Mail/snhmnd@gmail.com ~/Mail.backup/snhmnd@gmail.com
[Repository snhmnd@gmail.com-local]
type = Maildir
localfolders = ~/Mail/snhmnd@gmail.com
sep = /
[Repository snhmnd@gmail.com-remote]
type = Gmail
remoteuser = snhmnd@gmail.com
remotepassfile = ~/.offlineimap.passwords.snhmnd@gmail.com
realdelete = no
folderfilter = lambda foldername: (foldername.startswith('Archives') or foldername.startswith('XXXXXXXX@okfn.org')) and foldername not in ('XXXXXXXX@okfn.org/tracebacks',)
folderincludes = [
'INBOX',
'[Google Mail]/Sent Mail',
'[Google Mail]/Drafts',
'[Google Mail]/Bin',
'lists/mutt-users',
'lists/offlineimap',
]
#readonly = True
cert_fingerprint=XXXXXXXX
[Account XXXXXXXX@ed-alumni.net]
localrepository = XXXXXXXX@ed-alumni.net-local
remoterepository = XXXXXXXX@ed-alumni.net-remote
autorefresh = 5
quick = 10
#presynchook = imapfilter
#postsynchook = ~/Scripts/backup --no-compress --no-progress --no-fuzzy ~/Mail/XXXXXXXX@XXXXXXXX.com ~/Mail.backup/XXXXXXXX@XXXXXXXX.com
status_backend = sqlite
[Repository XXXXXXXX@ed-alumni.net-local]
type = Maildir
localfolders = ~/Mail/XXXXXXXX@ed-alumni.net
sep = /
[Repository XXXXXXXX@ed-alumni.net-remote]
type = IMAP
remotehost = mail.secure.aluminati.net
ssl = yes
cert_fingerprint=XXXXXXXX
remoteuser = XXXXXXXX@ed-alumni.net
remotepassfile = ~/.offlineimap.passwords.XXXXXXXX@ed-alumni.net
idlefolders = ['INBOX', ]
#readonly = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment