.offlineimaprc
This commit is contained in:
parent
e7ddca4a79
commit
1ae38bb62f
1 changed files with 4 additions and 1 deletions
|
@ -42,6 +42,8 @@ localfolders = ~/documents/mail/arch
|
|||
type = Maildir
|
||||
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]
|
||||
type = Maildir
|
||||
localfolders = ~/documents/mail/iactor
|
||||
|
@ -76,7 +78,8 @@ remoteusereval = getuser("imap.google.com")
|
|||
remotepasseval = getpassword("imap.google.com")
|
||||
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]
|
||||
type = IMAP
|
||||
|
|
Loading…
Reference in a new issue