legacy-dotfiles/.offlineimaprc

111 lines
4.4 KiB
Text
Raw Normal View History

2012-10-19 22:57:58 +02:00
# -*- mode: conf-unix; -*-
2011-01-11 13:43:17 +01:00
[general]
# NOTE: cronjob calls the quiet UI with -u
ui = TTYUI
2012-03-20 17:25:18 +01:00
accounts = ryuslash.org,gmail,aethon,ninthfloor
2011-01-11 13:43:17 +01:00
pythonfile = ~/.offlineimap.py
2012-10-19 22:57:58 +02:00
[Account ryuslash.org]
localrepository = ryuslash.org-local
remoterepository = ryuslash.org-remote
2013-05-15 17:35:51 +02:00
# postsynchook = /home/slash/usr/bin/emacs-send-mail ryuslash.org
2011-01-11 13:43:17 +01:00
2012-10-19 22:57:58 +02:00
[Repository ryuslash.org-local]
type = Maildir
localfolders = ~/documents/mail/ryuslash.org
nametrans = lambda folder: re.sub('^Inbox$', 'INBOX', folder.capitalize())
2011-01-11 13:43:17 +01:00
2012-10-19 22:57:58 +02:00
[Repository ryuslash.org-remote]
type = IMAP
remotehost = imap.alwaysdata.com
remoteusereval = getuser("imap.alwaysdata.com")
remotepasseval = getpassword("imap.alwaysdata.com")
nametrans = lambda folder: folder.lower()
2011-01-11 13:43:17 +01:00
[Account aethon]
2012-10-19 22:57:58 +02:00
localrepository = aethon-local
remoterepository = aethon-remote
2013-05-15 17:35:51 +02:00
# postsynchook = /home/slash/usr/bin/emacs-send-mail aethon
2012-10-19 22:57:58 +02:00
[Repository aethon-local]
type = Maildir
localfolders = ~/documents/mail/aethon
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', re.sub('^drafts$', '[Gmail]/Concepten', re.sub('^sent$', '[Gmail]/Verzonden berichten', re.sub('^trash$', '[Gmail]/Prullenbak', folder))))
2012-10-19 22:57:58 +02:00
[Repository aethon-remote]
type = Gmail
remoteusereval = getuser("imap.google.com-aethon")
remotepasseval = getpassword("imap.google.com-aethon")
realdelete = no
2013-05-15 17:35:51 +02:00
cert_fingerprint = b0ba392bba326e6feb1add4d04fa0fb86cd173fa
2012-10-19 22:57:58 +02:00
folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Concepten', '[Gmail]/Verzonden berichten', '[Gmail]/Prullenbak']
nametrans = lambda folder: re.sub('^INBOX$', 'inbox', re.sub('^\[Gmail\]/Concepten$', 'drafts', re.sub('^\[Gmail\]/Verzonden berichten$', 'sent', re.sub('^\[Gmail\]/Prullenbak$', 'trash', folder))))
2012-10-19 22:57:58 +02:00
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
2013-05-15 17:35:51 +02:00
# postsynchook = /home/slash/usr/bin/emacs-send-mail gmail
2011-01-11 13:43:17 +01:00
[Repository gmail-local]
type = Maildir
localfolders = ~/documents/mail/gmail
2012-10-19 22:57:58 +02:00
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', re.sub('^drafts$', '[Gmail]/Drafts', re.sub('^sent$', '[Gmail]/Sent Mail', re.sub('^trash$', '[Gmail]/Trash', folder))))
2011-01-11 13:43:17 +01:00
2012-10-19 22:57:58 +02:00
[Repository gmail-remote]
type = Gmail
remoteusereval = getuser("imap.google.com")
remotepasseval = getpassword("imap.google.com")
realdelete = no
2013-05-15 17:35:51 +02:00
cert_fingerprint = b0ba392bba326e6feb1add4d04fa0fb86cd173fa
2012-10-19 22:57:58 +02:00
folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Drafts', '[Gmail]/Sent Mail', '[Gmail]/Trash']
nametrans = lambda folder: re.sub('^INBOX$', 'inbox', re.sub('^\[Gmail\]/Drafts$', 'drafts', re.sub('^\[Gmail\]/Sent Mail$', 'sent', re.sub('^\[Gmail\]/Trash$', 'trash', folder))))
2012-10-19 22:57:58 +02:00
[Account ninthfloor]
localrepository = ninthfloor-local
remoterepository = ninthfloor-remote
2013-05-15 17:35:51 +02:00
# postsynchook = /home/slash/usr/bin/emacs-send-mail ninthfloor
2012-03-20 16:40:23 +01:00
[Repository ninthfloor-local]
type = Maildir
localfolders = ~/documents/mail/ninthfloor
2012-10-19 22:57:58 +02:00
nametrans = lambda folder: re.sub('^Inbox$', 'INBOX', folder.capitalize())
2012-10-19 22:57:58 +02:00
[Repository ninthfloor-remote]
type = IMAP
remotehost = ninthfloor.org
remoteusereval = getuser("ninthfloor.org")
remotepasseval = getpassword("ninthfloor.org")
nametrans = lambda folder: folder.lower()
2012-03-20 15:51:42 +01:00
2012-10-19 22:57:58 +02:00
[Account arch]
localrepository = arch-local
remoterepository = arch-remote
2012-10-19 22:57:58 +02:00
[Repository arch-local]
type = Maildir
localfolders = ~/documents/mail/arch
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', re.sub('^drafts$', '[Gmail]/Drafts', re.sub('^sent$', '[Gmail]/Sent Mail', re.sub('^trash$', '[Gmail]/Trash', folder))))
2012-03-20 15:54:02 +01:00
2011-01-11 13:43:17 +01:00
[Repository arch-remote]
2012-10-19 22:57:58 +02:00
type = Gmail
remoteusereval = getuser("imap.google.com-arch")
remotepasseval = getpassword("imap.google.com-arch")
realdelete = no
cert_fingerprint = 6d1b5b5ee0180ab493b71d3b94534b5ab937d042
folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Drafts', '[Gmail]/Sent Mail', '[Gmail]/Trash']
nametrans = lambda folder: re.sub('^INBOX$', 'inbox', re.sub('^\[Gmail\]/Drafts$', 'drafts', re.sub('^\[Gmail\]/Sent Mail$', 'sent', re.sub('^\[Gmail\]/Trash$', 'trash', folder))))
2011-01-11 13:43:17 +01:00
2012-10-19 22:57:58 +02:00
[Account iactor]
localrepository = iactor-local
remoterepository = iactor-remote
2011-01-11 13:43:17 +01:00
2012-10-19 22:57:58 +02:00
[Repository iactor-local]
type = Maildir
localfolders = ~/documents/mail/iactor
2011-01-11 13:43:17 +01:00
[Repository iactor-remote]
type = IMAP
remotehost = mail.iactor.nl
remoteusereval = getuser("mail.iactor.nl")
remotepasseval = getpassword("mail.iactor.nl")