diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-07-30 23:41:32 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-07-31 00:30:37 +0200 |
commit | 0e303fbb13e7124067bb4bb8b16989819d9a37cc (patch) | |
tree | 92d544072d4ef401dd843dfb1e794ef8dbed7564 | |
parent | bc662bee6a3eb1f243c89d67b91369fee293c2da (diff) | |
download | dotfiles-0e303fbb13e7124067bb4bb8b16989819d9a37cc.tar.xz |
Add mbsyncrc
-rw-r--r-- | mbsyncrc | 21 | ||||
-rw-r--r-- | mutt/muttrc | 3 |
2 files changed, 22 insertions, 2 deletions
diff --git a/mbsyncrc b/mbsyncrc new file mode 100644 index 0000000..6a2ce0f --- /dev/null +++ b/mbsyncrc @@ -0,0 +1,21 @@ +IMAPAccount theos +Host theos.kyriasis.com +User kyrias +PassCmd "pass show mail/johannes@kyriasis.com" +UseIMAPS yes +CertificateFile /etc/ssl/certs/ca-certificates.crt + +IMAPStore theos-remote +Account theos + +MaildirStore theos-local +Path ~/.mail/ +Inbox ~/.mail/Inbox + +Channel theos +Master :theos-remote: +Slave :theos-local: +Patterns * +Create Slave +SyncState * +Expunge Both diff --git a/mutt/muttrc b/mutt/muttrc index 33b2741..b9bbede 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -40,8 +40,7 @@ macro index,pager A "<pipe-message>goobook -c \"$XDG_CONFIG_HOME/goobookrc\" add bind editor <Tab> complete-query # Sync email -#macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail" -#macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox" +macro index O '<shell-escape>mbsync -c "$XDG_CONFIG_HOME/mbsyncrc" theos<return>' "run mbsync to sync all mail" set sendmail = "/usr/bin/msmtp -a theos" set sendmail_wait = 0 |