diff --git a/.offlineimaprc b/.offlineimaprc index db46d5f..e82ee9c 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -1,3 +1,5 @@ +# -*- mode: conf-unix; eval: (git-auto-commit-mode 1); -*- + [general] # NOTE: cronjob calls the quiet UI with -u ui = TTYUI @@ -11,6 +13,7 @@ remoterepository = arch-remote [Account gmail] localrepository = gmail-local remoterepository = gmail-remote +postsynchook = mu index --muhome=~/.mu/gmail --maildir=~/documents/mail/gmail [Account iactor] localrepository = iactor-local @@ -19,14 +22,17 @@ remoterepository = iactor-remote [Account aethon] localrepository = aethon-local remoterepository = aethon-remote +postsynchook = mu index --muhome=~/.mu/aethon --maildir=~/documents/mail/aethon [Account ninthfloor] localrepository = ninthfloor-local remoterepository = ninthfloor-remote +postsynchook = mu index --muhome=~/.mu/ninthfloor --maildir=~/documents/mail/ninthfloor [Account ryuslash.org] localrepository = ryuslash.org-local remoterepository = ryuslash.org-remote +postsynchook = mu index --muhome=~/.mu/ryuslash --maildir=~/documents/mail/ryuslash.org [Repository arch-local] type = Maildir @@ -66,7 +72,7 @@ remoteusereval = getuser("imap.google.com") remotepasseval = getpassword("imap.google.com") 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)))))) +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)))))) [Repository iactor-remote] type = IMAP @@ -93,5 +99,3 @@ type = IMAP remotehost = imap.alwaysdata.com remoteusereval = getuser("imap.alwaysdata.com") remotepasseval = getpassword("imap.alwaysdata.com") - -# vim: ft=cfg tw=0