mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-08 23:45:56 +08:00
HEADER_CHECKS: formatting
This commit is contained in:
parent
7179b6cd36
commit
86c384a4c6
1 changed files with 5 additions and 6 deletions
11
run.sh
11
run.sh
|
@ -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=
|
||||
|
|
Loading…
Add table
Reference in a new issue