From b60155ba6b7f09d88a3926c3b22c53c4c5e01094 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 8 Feb 2022 01:55:13 -0500 Subject: improve goimapnotify subprocess handling --- config/imapnotify/tozt.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/imapnotify/tozt.conf b/config/imapnotify/tozt.conf index 80ed2b7..151c52b 100644 --- a/config/imapnotify/tozt.conf +++ b/config/imapnotify/tozt.conf @@ -3,6 +3,7 @@ "port": 993, "tls": true, "username": "doy@tozt.net", - "passwordCmd": "head -n1 /run/user/1000/mbsyncloop", - "boxes": [ "INBOX", "personal" ] + "passwordCmd": "rbw get mail.tozt.net doy@tozt.net", + "boxes": [ "INBOX", "personal" ], + "onNewMail": "echo new" } -- cgit v1.2.3-54-g00ecf