aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/goimapnotify/.config/imapnotify/porkbun.conf
diff options
context:
space:
mode:
Diffstat (limited to 'goimapnotify/.config/imapnotify/porkbun.conf')
-rw-r--r--goimapnotify/.config/imapnotify/porkbun.conf15
1 files changed, 10 insertions, 5 deletions
diff --git a/goimapnotify/.config/imapnotify/porkbun.conf b/goimapnotify/.config/imapnotify/porkbun.conf
index 77b531e..ef34d93 100644
--- a/goimapnotify/.config/imapnotify/porkbun.conf
+++ b/goimapnotify/.config/imapnotify/porkbun.conf
@@ -1,14 +1,19 @@
-{
+[
+ {
"host": "imap.porkbun.com",
"port": 993,
"tls": true,
"tlsOptions": {
- "rejectUnauthorized": false
+ "reject_unauthorized": false
},
"username": "tobyv@tobyvin.dev",
"passwordCmd": "pass tobyv@tobyvin.dev | head -n1",
- "onNewMail": "systemctl --user start mbsync@porkbun.service",
"boxes": [
- "INBOX"
+ {
+ "mailbox": "INBOX",
+ "onNewMail": "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc porkbun:INBOX",
+ "onNewMailPost": "notmuch new"
+ }
]
-}
+ }
+]