dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit 265f3e8c721c3bf7b799c1bd9138dd67b03fa9a0
parent 3c440283efae8f40b3b196c0d603921ef85dc7c7
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Tue,  2 Jul 2019 17:51:37 +0200

Tag mails forwarded from o2

Diffstat:
Mastroid/.config/astroid/poll.sh | 20+++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/astroid/.config/astroid/poll.sh b/astroid/.config/astroid/poll.sh @@ -2,6 +2,11 @@ set -e +if ! ping -w 1 -W 1 -c 1 posteo.de; then + echo "No connection to posteo" + exit +fi + export MAILDIR="/home/shyman/.mail" moveIt() @@ -32,13 +37,14 @@ mbsync posteo notmuch new notmuch tag --batch <<EOF - +posteo tag:new and path:"posteo/**" - +deleted tag:new and folder:posteo/Trash - +sent tag:new and folder:posteo/Sent - +inbox tag:new and folder:posteo/Inbox - +draft tag:new and folder:posteo/Drafts - +note tag:new and folder:posteo/Notes - +migration tag:new and folder:"posteo/Migration_*" + +posteo tag:new and path:"posteo/**" + +o2 tag:new and to:czilukim@o2.pl + +deleted tag:new and folder:posteo/Trash + +sent tag:new and folder:posteo/Sent + +inbox tag:new and folder:posteo/Inbox + +draft tag:new and folder:posteo/Drafts + +note tag:new and folder:posteo/Notes + +migration tag:new and folder:"posteo/Migration_*" EOF notmuch tag -new tag:new