mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Use PCRE for alias regular expressions instead of the basic type (#751)
This commit is contained in:
parent
d62ea049e6
commit
01a41e9d93
|
@ -686,8 +686,8 @@ function _setup_postfix_aliases() {
|
|||
notify 'inf' "Adding regexp alias file postfix-regexp.cf"
|
||||
cp -f /tmp/docker-mailserver/postfix-regexp.cf /etc/postfix/regexp
|
||||
sed -i -e '/^virtual_alias_maps/{
|
||||
s/ regexp:.*//
|
||||
s/$/ regexp:\/etc\/postfix\/regexp/
|
||||
s/ pcre:.*//
|
||||
s/$/ pcre:\/etc\/postfix\/regexp/
|
||||
}' /etc/postfix/main.cf
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue