1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-20 02:52:11 +00:00

Use HTTPS for Postgrey whitelist and use correct silence flags for curl

This commit is contained in:
Michael Kroes 2019-07-16 13:05:23 +02:00
parent a86a7f6dd5
commit 5362155046

View File

@ -215,7 +215,7 @@ tools/editconf.py /etc/default/postgrey \
cat > /etc/cron.monthly/mailinabox-postgrey-whitelist << EOF; cat > /etc/cron.monthly/mailinabox-postgrey-whitelist << EOF;
#!/bin/bash #!/bin/bash
# Mail-in-a-Box # Mail-in-a-Box
curl http://postgrey.schweikert.ch/pub/postgrey_whitelist_clients --output /etc/postgrey/whitelist_clients -ss curl https://postgrey.schweikert.ch/pub/postgrey_whitelist_clients --output /etc/postgrey/whitelist_clients -sS
EOF EOF
chmod +x /etc/cron.monthly/mailinabox-postgrey-whitelist chmod +x /etc/cron.monthly/mailinabox-postgrey-whitelist
/etc/cron.monthly/mailinabox-postgrey-whitelist /etc/cron.monthly/mailinabox-postgrey-whitelist