diff --git a/.offlineimaprc b/.offlineimaprc index a5c8956..868bb87 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -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]