This commit is contained in:
andryyy 2021-01-12 20:54:55 +01:00
commit c17986b0d7

View File

@ -358,7 +358,13 @@ fi
if [[ ! -f /opt/postfix/conf/custom_postscreen_whitelist.cidr ]]; then if [[ ! -f /opt/postfix/conf/custom_postscreen_whitelist.cidr ]]; then
echo "Creating dummy custom_postscreen_whitelist.cidr" echo "Creating dummy custom_postscreen_whitelist.cidr"
echo '# Autogenerated by mailcow' > /opt/postfix/conf/custom_postscreen_whitelist.cidr cat <<EOF > /opt/postfix/conf/custom_postscreen_whitelist.cidr
# Autogenerated by mailcow
# Rules are evaluated in the order as specified.
# Blacklist 192.168.* except 192.168.0.1.
# 192.168.0.1 permit
# 192.168.0.0/16 reject
EOF
fi fi
# Fix SMTP last login on slaves # Fix SMTP last login on slaves