forked from Fachschaft/nixConfig
Compare commits
2 commits
eaf90b9a4a
...
3a1e670c28
Author | SHA1 | Date | |
---|---|---|---|
3a1e670c28 | |||
65b380624d |
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ in {
|
|||
# Get the mail addresses' local-part
|
||||
cut -d '@' -f 1 /var/lib/mailman/data/postfix_lmtp | grep -v '#' | grep "\S" > /tmp/addresses
|
||||
# Post local-parts to HRZ
|
||||
${pkgs.curl}/bin/curl https://www-cgi.hrz.tu-darmstadt.de/mail/whitelist-update.php -F emaildomain=${cfg.hostname} -F password=$(cat /run/secrets/allowlistPass) -F emailliste=@/tmp/addresses -F meldungen=voll
|
||||
${pkgs.curl}/bin/curl https://www-cgi.hrz.tu-darmstadt.de/mail/whitelist-update.php -F emaildomain=lists.mathebau.de -F password=$(cat /run/secrets/allowlistPass) -F emailliste=@/tmp/addresses -F meldungen=voll
|
||||
# Cleanup
|
||||
rm /tmp/addresses
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue