2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-12-28 08:05:20 +01:00

Revert "Activate msmtp just in case there's a config"

This reverts commit 3d49fcaabd.
This commit is contained in:
Philipp Holzer 2021-08-28 20:54:48 +02:00
parent b8c192e711
commit 7661882be8
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
33 changed files with 68 additions and 128 deletions

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -83,6 +83,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -83,6 +83,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -83,6 +83,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -83,6 +83,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -83,6 +83,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -108,6 +108,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi

View file

@ -82,6 +82,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -107,6 +107,10 @@ RUN set -ex; \
echo 'opcache.revalidte_freq=1'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/bin/msmtp -t"; \
} > /usr/local/etc/php/conf.d/sendmail.ini; \
\
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \

View file

@ -34,13 +34,5 @@ if [ -n "${SMTP_DOMAIN+x}" ] && [ -n "${SMTP+x}" ] && [ "${SMTP}" != "localhost"
echo "aliases /etc/aliases"
} >/etc/msmtprc
# enable msmtp setup
{
echo sendmail_path = "/usr/bin/msmtp -t";
} > /usr/local/etc/php/conf.d/sendmail.ini
# reload php-config per signal
kill -USR2 1
echo "Setup finished"
fi