mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
postfix.sh: add missing -E for extended regexes in smtpd_sender_restrictions (#3272)
This commit is contained in:
parent
3f22cbce01
commit
2f33f44f4a
|
@ -77,7 +77,7 @@ function _setup_postfix_late
|
||||||
__postfix__log 'trace' 'Configuring user access'
|
__postfix__log 'trace' 'Configuring user access'
|
||||||
if [[ -f /tmp/docker-mailserver/postfix-send-access.cf ]]
|
if [[ -f /tmp/docker-mailserver/postfix-send-access.cf ]]
|
||||||
then
|
then
|
||||||
sed -i 's|(smtpd_sender_restrictions =)|\1 check_sender_access texthash:/tmp/docker-mailserver/postfix-send-access.cf,|' /etc/postfix/main.cf
|
sed -i -E 's|(smtpd_sender_restrictions =)|\1 check_sender_access texthash:/tmp/docker-mailserver/postfix-send-access.cf,|' /etc/postfix/main.cf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f /tmp/docker-mailserver/postfix-receive-access.cf ]]
|
if [[ -f /tmp/docker-mailserver/postfix-receive-access.cf ]]
|
||||||
|
|
Loading…
Reference in a new issue