aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/goimapnotify
diff options
context:
space:
mode:
Diffstat (limited to 'goimapnotify')
-rw-r--r--goimapnotify/.config/imapnotify/gmail.conf19
-rw-r--r--goimapnotify/.config/imapnotify/porkbun.conf19
-rwxr-xr-xgoimapnotify/install.sh14
3 files changed, 0 insertions, 52 deletions
diff --git a/goimapnotify/.config/imapnotify/gmail.conf b/goimapnotify/.config/imapnotify/gmail.conf
deleted file mode 100644
index 36a9cf5..0000000
--- a/goimapnotify/.config/imapnotify/gmail.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[
- {
- "host": "imap.gmail.com",
- "port": 993,
- "tls": true,
- "tlsOptions": {
- "reject_unauthorized": false
- },
- "username": "tobyv13@gmail.com",
- "passwordCmd": "pass gmail | head -n1",
- "boxes": [
- {
- "mailbox": "INBOX",
- "onNewMail": "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc gmail:INBOX",
- "onNewMailPost": "notmuch new"
- }
- ]
- }
-]
diff --git a/goimapnotify/.config/imapnotify/porkbun.conf b/goimapnotify/.config/imapnotify/porkbun.conf
deleted file mode 100644
index ef34d93..0000000
--- a/goimapnotify/.config/imapnotify/porkbun.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-[
- {
- "host": "imap.porkbun.com",
- "port": 993,
- "tls": true,
- "tlsOptions": {
- "reject_unauthorized": false
- },
- "username": "tobyv@tobyvin.dev",
- "passwordCmd": "pass tobyv@tobyvin.dev | head -n1",
- "boxes": [
- {
- "mailbox": "INBOX",
- "onNewMail": "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc porkbun:INBOX",
- "onNewMailPost": "notmuch new"
- }
- ]
- }
-]
diff --git a/goimapnotify/install.sh b/goimapnotify/install.sh
deleted file mode 100755
index 7ddea20..0000000
--- a/goimapnotify/install.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-pkgname=goimapnotify
-
-if ! command -v "$pkgname" >/dev/null; then
- printf '%s: %s not found, skipping...\n' "$0" "$pkgname"
- exit 0
-fi
-
-printf "%s: Installing services\n" "$0"
-
-for instance in gmail porkbun; do
- systemctl --user enable --now --no-block $pkgname@"$instance".service
-done