forked from Fachschaft/nixConfig
Compare commits
2 commits
4d965ba394
...
eaf90b9a4a
Author | SHA1 | Date | |
---|---|---|---|
eaf90b9a4a | |||
3b94711c6a |
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ in {
|
||||||
# Get the mail addresses' local-part
|
# Get the mail addresses' local-part
|
||||||
cut -d '@' -f 1 /var/lib/mailman/data/postfix_lmtp | grep -v '#' | grep "\S" > /tmp/addresses
|
cut -d '@' -f 1 /var/lib/mailman/data/postfix_lmtp | grep -v '#' | grep "\S" > /tmp/addresses
|
||||||
# Post local-parts to HRZ
|
# 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=${cfg.hostname} -F password=$(cat /run/secrets/allowlistPass) -F emailliste=@/tmp/addresses -F meldungen=voll
|
||||||
# Cleanup
|
# Cleanup
|
||||||
rm /tmp/addresses
|
rm /tmp/addresses
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue