legacy-dotfiles/offlineimaprc

70 lines
2.1 KiB
Text
Raw Normal View History

2011-01-11 13:43:17 +01:00
[general]
# NOTE: cronjob calls the quiet UI with -u
ui = TTY.TTYUI
accounts = arch,gmail,iactor,aethon
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
[Account iactor]
localrepository = iactor-local
remoterepository = iactor-remote
[Account aethon]
localrepository = aethon-local
remoterepository = aethon-remote
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
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
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 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))))))
2011-01-11 13:43:17 +01:00
# vim: ft=cfg tw=0