This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/neomutt/mbsyncrc

28 lines
603 B
Bash

{%@@ for name, info in mail.items() | reverse @@%}
IMAPStore {{@@ name @@}}-remote
Host {{@@ info.mail @@}}
Port 993
User {{@@ info.user @@}}@{{@@ info.mail @@}}
PassCmd "_pass_get {{@@ info.mail @@}}"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
MaildirStore {{@@ name @@}}-local
Subfolders Verbatim
Path ~/.local/share/mail/{{@@ name @@}}/
Inbox ~/.local/share/mail/{{@@ name @@}}/INBOX
Flatten .
Channel {{@@ name @@}}
Expunge Both
Far :{{@@ name @@}}-remote:
Near :{{@@ name @@}}-local:
Patterns * !"[Gmail]/All Mail"
Create Both
SyncState *
{%@@ endfor @@%}
# vim: ft=sh