mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Remove default postfix plugin from docker image
This commit is contained in:
parent
b301feee2f
commit
71f4cc631e
7 changed files with 0 additions and 612 deletions
|
|
@ -9,11 +9,6 @@ adduser --uid "$UID" --disabled-password --gid "$GID" --shell /bin/bash --home /
|
|||
sed -i "s/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE/g" /usr/local/etc/php-fpm.d/php-fpm.conf /etc/nginx/nginx.conf
|
||||
sed -i "s/<MEMORY_LIMIT>/$MEMORY_LIMIT/g" /usr/local/etc/php-fpm.d/php-fpm.conf
|
||||
|
||||
# Remove postfixadmin-change-password plugin if exist
|
||||
if [ -d "/snappymail/data/_data_/_default_/plugins/postfixadmin-change-password" ]; then
|
||||
rm -rf /snappymail/data/_data_/_default_/plugins/postfixadmin-change-password
|
||||
fi
|
||||
|
||||
# Set log output to STDERR if wanted (LOG_TO_STDERR=true)
|
||||
if [ "$LOG_TO_STDERR" = true ]; then
|
||||
echo "[INFO] Logging to stderr activated"
|
||||
|
|
@ -31,10 +26,6 @@ if [ "${SECURE_COOKIES}" = true ]; then
|
|||
} > /usr/local/etc/php/conf.d/cookies.ini;
|
||||
fi
|
||||
|
||||
# Add postfixadmin-change-password plugin
|
||||
mkdir -p /snappymail/data/_data_/_default_/plugins/
|
||||
cp -r /usr/local/include/postfixadmin-change-password /snappymail/data/_data_/_default_/plugins/
|
||||
|
||||
# Copy snappymail default config if absent
|
||||
SNAPPYMAIL_CONFIG_FILE=/snappymail/data/_data_/_default_/configs/application.ini
|
||||
if [ ! -f "$SNAPPYMAIL_CONFIG_FILE" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue