Commit ef3d61c8 authored by Vincent Vanlaer's avatar Vincent Vanlaer
Browse files

Add KU Leuven listserv muter

The KU Leuven mailing list are regenerated every day. So in order to
prevent anoying mails from reaching our already quite full mailboxes, we
can just mute te list periodically.
parents
#!/bin/sh
LIST="KULSTUD"
LOGIN_TOKEN=""
LOGIN_USER="voornaam.achternaam@student.kuleuven.be"
REALNAME="Voornaam+Achternaam"
for item in $LIST
do
echo $item
curl -d @- -X POST https://ls.kuleuven.be/cgi-bin/wa <<< "SUBED2=${item}&X=${LOGIN_TOKEN}&Y=${LOGIN_USER}&_charset_=UTF-8&L=${item}&p=${REALNAME}&q=${REALNAME}&s=${LOGIN_USER}&t=${LOGIN_USER}&0=&1=&2=&3=NOMAIL&4="
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment