diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-09-14 15:31:16 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-09-14 15:31:16 -0500 |
commit | a93cdc30d49ba2bb9b9e4bfc7a40568f4ba46e74 (patch) | |
tree | 26519c955308026af7e622fa2cb05d8976774874 /notmuch/.config | |
parent | cd95f9630a74fc06404abbf211cd537f60201c34 (diff) |
fix(goimapnotify): migrate to yaml config file
Diffstat (limited to 'notmuch/.config')
-rw-r--r-- | notmuch/.config/goimapnotify/goimapnotify.conf | 31 | ||||
-rw-r--r-- | notmuch/.config/goimapnotify/goimapnotify.yaml | 19 |
2 files changed, 19 insertions, 31 deletions
diff --git a/notmuch/.config/goimapnotify/goimapnotify.conf b/notmuch/.config/goimapnotify/goimapnotify.conf deleted file mode 100644 index ddc6871..0000000 --- a/notmuch/.config/goimapnotify/goimapnotify.conf +++ /dev/null @@ -1,31 +0,0 @@ -[ - { - "host": "mail.tobyvin.dev", - "port": 993, - "tls": true, - "username": "tobyv", - "passwordCmd": "pass mail.tobyvin.dev/tobyv/imap", - "boxes": [ - { - "mailbox": "INBOX", - "onNewMail": "MAILDIR=personal:INBOX notmuch new" - } - ] - }, - { - "host": "imap.gmail.com", - "port": 993, - "tls": true, - "tlsOptions": { - "reject_unauthorized": false - }, - "username": "tobyv13@gmail.com", - "passwordCmd": "pass gmail.com/tobyv13@gmail.com", - "boxes": [ - { - "mailbox": "INBOX", - "onNewMail": "MAILDIR=gmail:INBOX notmuch new" - } - ] - } -] diff --git a/notmuch/.config/goimapnotify/goimapnotify.yaml b/notmuch/.config/goimapnotify/goimapnotify.yaml new file mode 100644 index 0000000..d157aae --- /dev/null +++ b/notmuch/.config/goimapnotify/goimapnotify.yaml @@ -0,0 +1,19 @@ +configurations: + - host: mail.tobyvin.dev + port: 993 + tls: true + username: tobyv + passwordCmd: pass mail.tobyvin.dev/tobyv/imap + boxes: + - mailbox: INBOX + onNewMail: "MAILDIR=personal:INBOX notmuch new" + - host: imap.gmail.com + port: 993 + tls: true + tlsOptions: + reject_unauthorized: false + username: tobyv13@gmail.com + passwordCmd: pass gmail.com/tobyv13@gmail.com + boxes: + - mailbox: INBOX + onNewMail: "MAILDIR=gmail:INBOX notmuch new" |