aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/tagmail.sh44
-rw-r--r--config/afew/config35
2 files changed, 0 insertions, 79 deletions
diff --git a/bin/tagmail.sh b/bin/tagmail.sh
deleted file mode 100755
index b08b005..0000000
--- a/bin/tagmail.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/env bash
-
-if [[ -z $DBUS_SESSION_BUS_ADDRESS ]]; then
- source /tmp/.Xdbus
-fi
-
-# delete mail
-notmuch search --output=files tag:deleted | xargs -I {} rm -v "{}"
-
-# Mail download
-if [ -z "$1" ]
-then
- echo "syncing all mailboxes"
- mbsync -a
-else
- echo "syncing $1 mailbox"
- mbsync "$1"
-fi
-
-# Notmuch tagging
-notmuch new
-
-notmuch tag +ci -new -- from:travis-ci.com or from:travis-ci.org or from:appveyor.com or from:circleci.com
-notmuch tag +ci -new -- from:mg.gitlab.com and subject:Pipeline
-notmuch tag +CMK-JIRA -inbox -new -- from:infra@mathias-kettner.de or from:jira@tribe29.com
-notmuch tag +alle-mk -new -- to:alle@mathias-kettner.de to:technik@tribe29.com
-notmuch tag +cmk-commits -new -- to:cmk-internal-commits@mathias-kettner.de and subject:\[cmk\]
-notmuch tag +mkde-commits -new -- to:cmk-internal-commits@mathias-kettner.de and subject:\[mkde\]
-notmuch tag +cmc-commits -new -- to:cmk-internal-commits@mathias-kettner.de and subject:\[cmc\]
-notmuch tag +cma-commits -new -- to:cma-commits@mathias-kettner.de and subject:\[cma\]
-notmuch tag +immonews -new -- from:immobilienscout24.de
-notmuch tag +immonews/communications -new -- from:nachrichten.immobilienscout24.de or subject:Kontaktaufnahme and tag:immonews
-notmuch tag +socialnews -new -- from:facebookmail.com or from:mail.instagram.com
-notmuch tag +linkedin +socialnews -new -- from:linkedin.com
-notmuch tag +promotions -- from:newsletter
-notmuch tag +toastmasters -- toastmaster NOT from:info@meetup.com
-
-notmuch tag +sms -new -- folder:hi_pers/SMS
-notmuch tag +calls -new -- folder:hi_pers/Calls
-
-# afew tagging
-afew --tag --new -v
-
-notmuch tag -inbox -- tag:lists
diff --git a/config/afew/config b/config/afew/config
deleted file mode 100644
index b964f5a..0000000
--- a/config/afew/config
+++ /dev/null
@@ -1,35 +0,0 @@
-# -*- mode: conf-unix -*-
-# This is the default filter chain
-[SpamFilter]
-[KillThreadsFilter]
-[ListMailsFilter]
-[SentMailsFilter]
-sent_tag = sent
-[ArchiveSentMailsFilter]
-
-[Filter.2]
-message = "Tag meetups info mails"
-query = from:info@meetup.com
-tags = +meetups;-new
-
-[Filter.3]
-message = "Tag reports from ingrid"
-query = from:postmaster@oscarnajera.com or from:root@oscarnajera.com
-tags = +ingrid;-new
-
-[Filter.4]
-message = "Tag the syndicate.vc"
-query = from:thesyndicate.vc
-tags = +syndicatevc;-new
-
-[Filter.5]
-message = "Fail2ban report"
-query = subject:Fail2Ban from:oscarnajera.com
-tags = +fail2ban;-new
-
-[Filter.6]
-message = "Tag the fringe.fm"
-query = from:fringe.fm
-tags = +fringe.fm;-new
-
-[InboxFilter]