You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-07-17 01:32:29 +02:00
Fix the postconf command and rename the override file, fix #239
This commit is contained in:
@ -16,13 +16,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Override Postfix master configuration
|
# Override Postfix master configuration
|
||||||
if [ -f /overrides/master.cf ]; then
|
if [ -f /overrides/postfix.master ]; then
|
||||||
while read line; do
|
while read line; do
|
||||||
postconf -M "$line"
|
postconf -Me "$line"
|
||||||
done < /overrides/master.cf
|
done < /overrides/postfix.master
|
||||||
echo "Loaded '/overrides/master.cf'"
|
echo "Loaded '/overrides/postfix.master'"
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
# Include table-map files
|
# Include table-map files
|
||||||
|
Reference in New Issue
Block a user