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

Merge branch 'postgrey-whitelist'

This commit is contained in:
Michael Kroes 2019-07-16 17:07:50 +02:00
commit 5f44e22035

View File

@ -228,7 +228,10 @@ if [ ! -f /etc/postgrey/whitelist_clients ] || find /etc/postgrey/whitelist_clie
if [ \$(file -b --mime-type /tmp/postgrey_whitelist_clients) == "text/plain" ]; then if [ \$(file -b --mime-type /tmp/postgrey_whitelist_clients) == "text/plain" ]; then
mv /tmp/postgrey_whitelist_clients /etc/postgrey/whitelist_clients mv /tmp/postgrey_whitelist_clients /etc/postgrey/whitelist_clients
cat /root/mailinabox/conf/postgrey_whitelist_clients >> /etc/postgrey/whitelist_clients cat /root/mailinabox/conf/postgrey_whitelist_clients >> /etc/postgrey/whitelist_clients
else
rm /tmp/postgrey_whitelist_clients
fi fi
fi fi
fi fi
EOF EOF