From 282eb150a9cce6b419b59f2282010f2fb9e426a6 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 13 Oct 2021 17:11:24 +0200 Subject: [PATCH] broader catch for Dodona-automated mails --- services/mailsync/run | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/mailsync/run b/services/mailsync/run index 30c680e..b8b4ab0 100755 --- a/services/mailsync/run +++ b/services/mailsync/run @@ -45,9 +45,9 @@ minc $(mdirs /data/mail) > "$s" mpick -t 'subject =~ "\[hackers\] \[slstatus\]"' < "$s" mpick -t 'subject =~ "\[hackers\] \[svkdb\]"' < "$s" mpick -t 'subject ~~ "*Bump * from * to *" && "cc" !~~ "Felix*"' < "$s" - mpick -t 'from = "" && subject ~~ "* vraagt om lesgeversrechten"' < "$s" - mpick -t 'from = "" && subject ~~ "* Je vraag naar lesgeversrechten werd goedgekeurd"' < "$s" - mpick -t 'from = "" && subject ~~ "* Your request for teacher rights was granted"' < "$s" + mpick -t 'from = "dodona@ugent.be" && subject ~~ "* vraagt om lesgeversrechten"' < "$s" + mpick -t 'from = "dodona@ugent.be" && subject ~~ "* Je vraag naar lesgeversrechten werd goedgekeurd"' < "$s" + mpick -t 'from = "dodona@ugent.be" && subject ~~ "* Your request for teacher rights was granted"' < "$s" # Muted mails for muted in $(cat ~/.mblaze/muted); do