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:
parent
f18979f1ec
commit
55b4574787
16 changed files with 191 additions and 170 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue