From 546813d73fc501b558561934b6102caad3595edd Mon Sep 17 00:00:00 2001 From: tilosp-bot Date: Thu, 16 Apr 2020 19:24:34 +0200 Subject: Run update.sh (#1078) Signed-off-by: tilosp-bot --- 17.0-rc/fpm-alpine/config/smtp.config.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 17.0-rc/fpm-alpine/config/smtp.config.php (limited to '17.0-rc/fpm-alpine/config/smtp.config.php') diff --git a/17.0-rc/fpm-alpine/config/smtp.config.php b/17.0-rc/fpm-alpine/config/smtp.config.php new file mode 100644 index 00000000..59f1eaa1 --- /dev/null +++ b/17.0-rc/fpm-alpine/config/smtp.config.php @@ -0,0 +1,15 @@ + 'smtp', + 'mail_smtphost' => getenv('SMTP_HOST'), + 'mail_smtpport' => getenv('SMTP_PORT') ?: (getenv('SMTP_SECURE') ? 465 : 25), + 'mail_smtpsecure' => getenv('SMTP_SECURE') ?: '', + 'mail_smtpauth' => getenv('SMTP_NAME') && getenv('SMTP_PASSWORD'), + 'mail_smtpauthtype' => getenv('SMTP_AUTHTYPE') ?: 'LOGIN', + 'mail_smtpname' => getenv('SMTP_NAME') ?: '', + 'mail_smtppassword' => getenv('SMTP_PASSWORD') ?: '', + 'mail_from_address' => getenv('MAIL_FROM_ADDRESS'), + 'mail_domain' => getenv('MAIL_DOMAIN'), + ); +} -- cgit v1.2.3