commit c4620286efd38e5b172a4c73f8005ef995ddca85
parent a590209cb31c667838b3148e4d39c2108d48dbba
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date: Sun, 10 Jul 2022 13:53:22 +0200
Update mail
Diffstat:
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/astroid/.config/astroid/poll.sh b/astroid/.config/astroid/poll.sh
@@ -46,7 +46,7 @@ movemail posteo note Notes
mbsync posteo
if ! notmuch new | grep "No new mail"; then
notify-send "New mail
- $(notmuch search tag:new | sed 's/^thread:[0-9a-z]*[ ]*//')"
+ $(notmuch search tag:new | sed 's/^thread:[0-9a-z]*[ ]*//')" | true
fi
tag +posteo path:"posteo/**"
diff --git a/goimapnotify/.config/goimapnotify/config.json b/goimapnotify/.config/goimapnotify/config.json
@@ -0,0 +1,17 @@
+{
+ "host": "posteo.de",
+ "port": 993,
+ "tls": true,
+ "tlsOptions": {
+ "rejectUnauthorized": false
+ },
+ "username": "szymon.mikulicz@posteo.net",
+ "password": "",
+ "passwordCmd": "~/.config/astroid/get_pass.py \"https://posteo.de\"",
+ "onNewMail": "~/.config/astroid/poll.sh",
+ "onNewMailPost": "",
+ "boxes": [
+ "INBOX"
+ ]
+}
+