.offlineimaprc

This commit is contained in:
Tom Willemsen 2012-03-20 16:37:32 +01:00
parent e7ddca4a79
commit 1ae38bb62f

View file

@ -42,6 +42,8 @@ localfolders = ~/documents/mail/arch
type = Maildir type = Maildir
localfolders = ~/documents/mail/gmail localfolders = ~/documents/mail/gmail
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', re.sub('^drafts$', '[Gmail]/Drafts', re.sub('^sent$', '[Gmail]/Sent Mail', re.sub('^trash$', '[Gmail]/Trash', folder))))
[Repository iactor-local] [Repository iactor-local]
type = Maildir type = Maildir
localfolders = ~/documents/mail/iactor localfolders = ~/documents/mail/iactor
@ -76,7 +78,8 @@ remoteusereval = getuser("imap.google.com")
remotepasseval = getpassword("imap.google.com") remotepasseval = getpassword("imap.google.com")
realdelete = no realdelete = no
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)))))) 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))))
[Repository iactor-remote] [Repository iactor-remote]
type = IMAP type = IMAP