.offlineimaprc

This commit is contained in:
Tom Willemsen 2012-03-20 16:55:55 +01:00
parent fdf8fca1ed
commit 585a59f5e8

View file

@ -53,7 +53,7 @@ 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))))
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', folder)
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', re.sub('^sent$', '[Gmail]/Verzonden berichten', folder))
[Repository ninthfloor-local]
type = Maildir
@ -97,7 +97,7 @@ remotepasseval = getpassword("imap.google.com-aethon")
realdelete = no
folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Concepten', '[Gmail]/Verzonden berichten', '[Gmail]/Prullenbak']
nametrans = lambda folder: re.sub('^INBOX$', 'inbox', folder)
nametrans = lambda folder: re.sub('^INBOX$', 'inbox', re.sub('^\[Gmail\]/Verzonden berichten$', 'sent', folder))
#nametrans = lambda folder: re.sub('^INBOX$', 'inbox', re.sub('^\[Gmail\]/Concepten$', 'drafts', re.sub('^\[Gmail\]/Verzonden berichten$', 'sent', re.sub('^\[Gmail\]/Prullenbak$', 'trash', folder))))
[Repository ninthfloor-remote]