28 lines
617 B
Bash
28 lines
617 B
Bash
{%@@ for name, info in mail.items() | reverse @@%}
|
|
|
|
IMAPStore {{@@ name @@}}-remote
|
|
Host {{@@ info.mail @@}}
|
|
Port 993
|
|
User {{@@ info.user.split("@")[0] @@}}@{{@@ 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
|