forked from Fachschaft/nixConfig
Compare commits
2 commits
eaf90b9a4a
...
4d965ba394
Author | SHA1 | Date | |
---|---|---|---|
4d965ba394 | |||
93644c4dd1 |
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=${cfg.hostName} -F password=$(cat /run/secrets/allowlistPass) -F emailliste=@/tmp/addresses -F meldungen=voll
|
||||
# Cleanup
|
||||
rm /tmp/addresses
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue