Merge 8dd58ad456
into 90708bc924
This commit is contained in:
commit
df45c61956
|
@ -175,6 +175,7 @@ if [ -f /tmp/docker-mailserver/postfix-virtual.cf ]; then
|
|||
cp -f /tmp/docker-mailserver/postfix-virtual.cf /etc/postfix/virtual
|
||||
while read from to
|
||||
do
|
||||
([[ "$from" =~ ^#.*$ ]] || [ -z "$from" ] ) && continue
|
||||
# Setting variables for better readability
|
||||
uname=$(echo ${from} | cut -d @ -f1)
|
||||
domain=$(echo ${from} | cut -d @ -f2)
|
||||
|
@ -351,6 +352,7 @@ esac
|
|||
#
|
||||
if [ -f /tmp/docker-mailserver/postfix-main.cf ]; then
|
||||
while read line; do
|
||||
([[ "$line" =~ ^#.*$ ]] || [ -z "$line" ] ) && continue
|
||||
postconf -e "$line"
|
||||
done < /tmp/docker-mailserver/postfix-main.cf
|
||||
echo "Loaded 'config/postfix-main.cf'"
|
||||
|
|
Loading…
Reference in New Issue