fix sed of main.cf for regexp aliases, try #2

This commit is contained in:
Thorsten von Eicken 2016-05-22 23:23:06 -07:00
parent d87bb285a6
commit 9ce94f442a
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ if [ -f /tmp/docker-mailserver/postfix-regexp.cf ]; then
# Copying regexp alias file
echo "Adding regexp alias file postfix-regexp.cf"
cp /tmp/docker-mailserver/postfix-regexp.cf /etc/postfix/regexp
sed -i -e "/^virtual_alias_maps/a|/etc/postfix/regexp|" /etc/postfix/main.cf
sed -i -e "/^virtual_alias_maps/a| regexp:/etc/postfix/regexp|" /etc/postfix/main.cf
fi
# DKIM