feat: Add message_size_limit option (#86)

* feat: Add MESSAGE_SIZE_LIMIT configuration option (PR #86)
This commit is contained in:
Nasser
2022-06-21 00:38:09 +03:00
committed by GitHub
parent 1426f26546
commit ceab4779d9
3 changed files with 11 additions and 0 deletions

6
run.sh
View File

@@ -99,6 +99,12 @@ if [ ! -z "${OVERWRITE_FROM}" ]; then
echo "Setting configuration option OVERWRITE_FROM with value: ${OVERWRITE_FROM}"
fi
# Set message_size_limit
if [ ! -z "${MESSAGE_SIZE_LIMIT}" ]; then
postconf -e "message_size_limit = ${MESSAGE_SIZE_LIMIT}"
echo "Setting configuration option message_size_limit with value: ${MESSAGE_SIZE_LIMIT}"
fi
#Start services
# If host mounting /var/spool/postfix, we need to delete old pid file before