From fdd5d8347f42724b0d9a1758a718f13c5b591090 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 13 Oct 2021 17:16:03 +0200 Subject: [PATCH] s/equality/regex/ --- services/mailsync/run | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/mailsync/run b/services/mailsync/run index b8b4ab0..1aa91b1 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 = "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" + 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