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
Plaintext
Raw Normal View History

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