Update run.sh
This commit is contained in:
parent
3949dcefc0
commit
3196395b4e
2
run.sh
2
run.sh
@ -47,7 +47,7 @@ if [ ! -f /etc/postfix/sasl_passwd ]; then
|
||||
fi
|
||||
|
||||
#Set header tag
|
||||
if [ -z "${SMTP_HEADER_TAG}" ]; then
|
||||
if [ ! -z "${SMTP_HEADER_TAG}" ]; then
|
||||
postconf -e "header_checks = regexp:/etc/postfix/header_tag"
|
||||
echo -e "/^MIME-Version:/i PREPEND RelayTag: $SMTP_HEADER_TAG\n/^Content-Transfer-Encoding:/i PREPEND RelayTag: $SMTP_HEADER_TAG" > /etc/postfix/header_tag
|
||||
echo "Setting configuration option SMTP_HEADER_TAG with value: ${SMTP_HEADER_TAG}"
|
||||
|
Loading…
Reference in New Issue
Block a user