HEADER_CHECKS: formatting

This commit is contained in:
malware-watch 2019-10-02 16:24:58 +02:00
parent 7179b6cd36
commit 86c384a4c6

11
run.sh
View file

@ -195,15 +195,14 @@ else
fi
if [ ! -z "$MASQUERADED_DOMAINS" ]; then
echo -e "$notice Setting up address masquerading: ${emphasis}$MASQUERADED_DOMAINS${reset}"
postconf -e "masquerade_domains = $MASQUERADED_DOMAINS"
postconf -e "local_header_rewrite_clients = static:all"
echo -e "$notice Setting up address masquerading: ${emphasis}$MASQUERADED_DOMAINS${reset}"
postconf -e "masquerade_domains = $MASQUERADED_DOMAINS"
postconf -e "local_header_rewrite_clients = static:all"
fi
if [ ! -z "$HEADER_CHECKS" ]; then
echo -e "$notice Setting up header_checks"
postconf -e "smtp_header_checks=regexp:/etc/header_checks"
echo -e "$notice Setting up header_checks"
postconf -e "smtp_header_checks=regexp:/etc/header_checks"
fi
DKIM_ENABLED=