broader catch for Dodona-automated mails

This commit is contained in:
Felix Van der Jeugt 2021-10-13 17:11:24 +02:00
parent 21431d8026
commit 282eb150a9
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -45,9 +45,9 @@ minc $(mdirs /data/mail) > "$s"
mpick -t 'subject =~ "\[hackers\] \[slstatus\]"' < "$s" mpick -t 'subject =~ "\[hackers\] \[slstatus\]"' < "$s"
mpick -t 'subject =~ "\[hackers\] \[svkdb\]"' < "$s" mpick -t 'subject =~ "\[hackers\] \[svkdb\]"' < "$s"
mpick -t 'subject ~~ "*Bump * from * to *" && "cc" !~~ "Felix*"' < "$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 ~~ "* 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 ~~ "* 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 ~~ "* Your request for teacher rights was granted"' < "$s"
# Muted mails # Muted mails
for muted in $(cat ~/.mblaze/muted); do for muted in $(cat ~/.mblaze/muted); do