.offlineimaprc
This commit is contained in:
parent
1ae38bb62f
commit
a17ce7fc5c
1 changed files with 4 additions and 1 deletions
|
@ -52,6 +52,8 @@ localfolders = ~/documents/mail/iactor
|
|||
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))))
|
||||
|
||||
[Repository ninthfloor-local]
|
||||
type = Maildir
|
||||
localfolders = ~/documents/mail/ninthfloor
|
||||
|
@ -93,7 +95,8 @@ 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))))))
|
||||
folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Concepten', '[Gmail]/Verzonden berichten', '[Gmail]/Prullenbak']
|
||||
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]
|
||||
type = IMAP
|
||||
|
|
Loading…
Reference in a new issue