legacy-dotfiles/.offlineimaprc

110 lines
3.5 KiB
Text
Raw Normal View History

2012-03-20 10:38:53 +01:00
# -*- mode: conf-unix; eval: (git-auto-commit-mode 1); -*-
2011-01-11 13:43:17 +01:00
[general]
# NOTE: cronjob calls the quiet UI with -u
ui = TTYUI
accounts = ryuslash.org,gmail,arch,aethon,ninthfloor
2011-01-11 13:43:17 +01:00
pythonfile = ~/.offlineimap.py
[Account arch]
localrepository = arch-local
remoterepository = arch-remote
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
2012-03-20 10:38:53 +01:00
postsynchook = mu index --muhome=~/.mu/gmail --maildir=~/documents/mail/gmail
2011-01-11 13:43:17 +01:00
[Account iactor]
localrepository = iactor-local
remoterepository = iactor-remote
[Account aethon]
localrepository = aethon-local
remoterepository = aethon-remote
2012-03-20 10:38:53 +01:00
postsynchook = mu index --muhome=~/.mu/aethon --maildir=~/documents/mail/aethon
[Account ninthfloor]
localrepository = ninthfloor-local
remoterepository = ninthfloor-remote
2012-03-20 10:38:53 +01:00
postsynchook = mu index --muhome=~/.mu/ninthfloor --maildir=~/documents/mail/ninthfloor
[Account ryuslash.org]
localrepository = ryuslash.org-local
remoterepository = ryuslash.org-remote
2012-03-20 10:38:53 +01:00
postsynchook = mu index --muhome=~/.mu/ryuslash --maildir=~/documents/mail/ryuslash.org
2011-01-11 13:43:17 +01:00
[Repository arch-local]
type = Maildir
localfolders = ~/documents/mail/arch
2011-01-11 13:43:17 +01:00
[Repository gmail-local]
type = Maildir
localfolders = ~/documents/mail/gmail
2011-01-11 13:43:17 +01:00
[Repository iactor-local]
type = Maildir
localfolders = ~/documents/mail/iactor
2011-01-11 13:43:17 +01:00
[Repository aethon-local]
type = Maildir
localfolders = ~/documents/mail/aethon
[Repository ninthfloor-local]
type = Maildir
localfolders = ~/documents/mail/ninthfloor
2012-03-20 15:51:42 +01:00
nametrans = lambda folder: folder.capitalize()
[Repository ryuslash.org-local]
type = Maildir
localfolders = ~/documents/mail/ryuslash.org
2012-03-20 15:54:02 +01:00
nametrans = lambda folder: folder.capitalize()
2011-01-11 13:43:17 +01:00
[Repository arch-remote]
type = Gmail
remoteusereval = getuser("imap.google.com-arch")
remotepasseval = getpassword("imap.google.com-arch")
realdelete = no
nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*Drafts$', 'drafts', re.sub('.*Sent Mail$', 'sent', re.sub('.*Starred$', 'flagged', re.sub('.*Trash$', 'trash', re.sub('.*All Mail$', 'archive', folder))))))
[Repository gmail-remote]
type = Gmail
remoteusereval = getuser("imap.google.com")
remotepasseval = getpassword("imap.google.com")
realdelete = no
2012-03-20 10:38:53 +01:00
nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*(Drafts|Concepten)$', 'drafts', re.sub('.*(Sent Mail|Verzonden berichten)$', 'sent', re.sub('.*(Starred|Met ster)$', 'flagged', re.sub('.*(Trash|Prullenbak)$', 'trash', re.sub('.*(All Mail|Alle berichten)$', 'archive', folder))))))
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")
[Repository aethon-remote]
type = Gmail
remoteusereval = getuser("imap.google.com-aethon")
remotepasseval = getpassword("imap.google.com-aethon")
realdelete = no
nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*Drafts$', 'drafts', re.sub('.*Sent Mail$', 'sent', re.sub('.*Starred$', 'flagged', re.sub('.*Trash$', 'trash', re.sub('.*All Mail$', 'archive', folder))))))
[Repository ninthfloor-remote]
type = IMAP
remotehost = ninthfloor.org
remoteusereval = getuser("ninthfloor.org")
remotepasseval = getpassword("ninthfloor.org")
2012-03-20 15:51:42 +01:00
nametrans = lambda folder: folder.lower()
2012-03-20 15:41:07 +01:00
[Repository ryuslash.org-remote]
type = IMAP
remotehost = imap.alwaysdata.com
remoteusereval = getuser("imap.alwaysdata.com")
remotepasseval = getpassword("imap.alwaysdata.com")
2012-03-20 15:54:02 +01:00
nametrans = lambda folder: folder.lower()