2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2025-12-07 13:57:07 +01:00

Replace SSMTP with MSMTP for sendmail

- New parameter "SMTP_PORT"
- Removed parameter "SMTP_AUTH_METHOD"
- Replacing config mapping based on env-variables
This commit is contained in:
Philipp Holzer 2020-07-22 23:17:31 +02:00
commit 55b4574787
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
16 changed files with 191 additions and 170 deletions

View file

@ -9,7 +9,7 @@ RUN set -ex; \
bzip2 \
git \
# For mail() support
ssmtp \
msmtp \
# For tini installation
gnupg dirmngr \
; \
@ -108,7 +108,7 @@ RUN set -ex; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini; \
\
{ \
echo sendmail_path = "/usr/sbin/sendmail -t -i"; \
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; \