mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
scripts: fix setting SRS_EXCLUDE_DOMAINS
during startup (#3271)
This commit is contained in:
parent
2f33f44f4a
commit
a735dddc52
|
@ -170,8 +170,8 @@ function _setup_SRS
|
|||
|
||||
if [[ -n ${SRS_EXCLUDE_DOMAINS} ]]
|
||||
then
|
||||
sed -i \
|
||||
"s/^#\?(SRS_EXCLUDE_DOMAINS=).*$/\1=${SRS_EXCLUDE_DOMAINS}/g" \
|
||||
sedfile -i -E \
|
||||
"s|^#?(SRS_EXCLUDE_DOMAINS=).*|\1${SRS_EXCLUDE_DOMAINS}|" \
|
||||
/etc/default/postsrsd
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue