goimapnotify: Add dotter templating

Fixed quotes for yaml file with new dotter templating.
This commit is contained in:
Marty Oehme 2025-09-21 10:07:24 +02:00
parent 91b523dac5
commit 0986892dce
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -1,10 +1,12 @@
configurations:
- host: imap.example.com
- host: "{{#if mail_personal_host}}{{mail_personal_host}}{{else}}imap.example.com{{/if}}"
port: 993
tls: true
tlsOptions:
starttls: false
usernameCMD: "{{#if mail_personal_username_cmd}}{{mail_personal_username_cmd}}{{/if}}"
passwordCMD: "{{#if mail_personal_password_cmd}}{{mail_personal_password_cmd}}{{/if}}"
boxes:
- mailbox: INBOX
onNewMail: neomutt-syncmail purelymail-inbox
onNewMail: neomutt-syncmail personal-inbox
onNewMailPost: 'notify-send "Incoming mail"'