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

This commit is contained in:
Michael Kroes committed 2019-07-16 13:05:23 +02:00
1 parent a86a7f6dd5
commit 5362155046
1 file changed
+1 -1
+1 -1
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