1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-15 01:24:34 +02:00

Fix the postconf command and rename the override file, fix #239

This commit is contained in:
kaiyou
2017-09-10 13:56:46 +02:00
parent 1fa01745a3
commit 1deee71e51

View File

@ -16,13 +16,13 @@ else
fi
# Override Postfix master configuration
if [ -f /overrides/master.cf ]; then
if [ -f /overrides/postfix.master ]; then
while read line; do
postconf -M "$line"
done < /overrides/master.cf
echo "Loaded '/overrides/master.cf'"
postconf -Me "$line"
done < /overrides/postfix.master
echo "Loaded '/overrides/postfix.master'"
else
echo "No extra postfix settings loaded because optional '/overrides/master.cf' not provided."
echo "No extra postfix settings loaded because optional '/overrides/postfix.master' not provided."
fi
# Include table-map files