diff options
-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 |