summaryrefslogtreecommitdiffstatshomepage
path: root/mbsync/.config/imapnotify
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-03-28 23:53:38 -0500
committerToby Vincent <tobyv13@gmail.com>2023-03-28 23:53:38 -0500
commit2c65d14bc06370434969c68e4998062bd4b9d249 (patch)
treecf26e47aa55d509d53b09e3ef4d7b0b9c7710dd8 /mbsync/.config/imapnotify
parent7205e2b5e2d26e37391e85304eee90f4a4b7c7da (diff)
feat(mbsync): add goimapnotify in place of systemd timer
Diffstat (limited to 'mbsync/.config/imapnotify')
-rw-r--r--mbsync/.config/imapnotify/gmail.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/mbsync/.config/imapnotify/gmail.conf b/mbsync/.config/imapnotify/gmail.conf
new file mode 100644
index 0000000..fc109ff
--- /dev/null
+++ b/mbsync/.config/imapnotify/gmail.conf
@@ -0,0 +1,16 @@
+{
+ "host": "imap.gmail.com",
+ "port": 993,
+ "tls": true,
+ "tlsOptions": {
+ "rejectUnauthorized": false
+ },
+ "username": "tobyv13@gmail.com",
+ "password": "",
+ "passwordCmd": "pass gmail | head -n1",
+ "onNewMail": "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc gmail",
+ "onNewMailPost": "",
+ "boxes": [
+ "INBOX"
+ ]
+}