Allow postfix master.cf overrides to start with numbers, not only characters (#1190)

This commit is contained in:
Torben Weibert 2019-07-24 15:11:00 +02:00 committed by Thomas VIAL
parent c3e7ecc773
commit cba6b07391

View file

@ -1039,7 +1039,7 @@ function _setup_postfix_override_configuration() {
fi
if [ -f /tmp/docker-mailserver/postfix-master.cf ]; then
while read line; do
if [[ "$line" =~ ^[a-z] ]]; then
if [[ "$line" =~ ^[0-9a-z] ]]; then
postconf -P "$line"
fi
done < /tmp/docker-mailserver/postfix-master.cf