mirror of
https://github.com/friendica/docker
synced 2024-11-05 14:31:53 +01:00
Revert "Activate msmtp just in case there's a config"
This reverts commit 3d49fcaabd
.
This commit is contained in:
parent
b8c192e711
commit
7661882be8
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue