msmtprc was missing. updated msmtprc
This commit is contained in:
parent
fca7560fa8
commit
6cd78fc2ad
@ -9,7 +9,8 @@ COPY docker/pecl_install /usr/local/bin/pecl_install
|
|||||||
|
|
||||||
# Tune PHP
|
# Tune PHP
|
||||||
RUN sed -e 's/^expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini-production > /usr/local/etc/php/php.ini
|
RUN sed -e 's/^expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini-production > /usr/local/etc/php/php.ini
|
||||||
RUN sed -i -e 's#^;sendmail_path =#sendmail_path = "/usr/bin/msmtp -t"#' -e 's#^memory_limit = 128M#memory_limit = 256M#' /usr/local/etc/php/php.ini
|
RUN sed -i -e 's#^;sendmail_path =#sendmail_path = "/usr/bin/msmtp -t"#' /usr/local/etc/php/php.ini
|
||||||
|
RUN sed -i -e 's#^memory_limit = 128M#memory_limit = 256M#' /usr/local/etc/php/php.ini
|
||||||
RUN adduser -g "Hosting Admin User" -u 1000 -G www-data -h /var/www/html -HD lamp
|
RUN adduser -g "Hosting Admin User" -u 1000 -G www-data -h /var/www/html -HD lamp
|
||||||
|
|
||||||
# Base
|
# Base
|
||||||
@ -38,6 +39,7 @@ RUN apk add --no-cache libjpeg libgd libpng freetype freetype-dev zlib-dev libpn
|
|||||||
RUN curl -4 https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
|
RUN curl -4 https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
ENV COMPOSER_HOME=/var/cache/composer
|
ENV COMPOSER_HOME=/var/cache/composer
|
||||||
|
|
||||||
|
COPY msmtprc /etc/
|
||||||
COPY docker/www.conf /usr/local/etc/php-fpm.d/
|
COPY docker/www.conf /usr/local/etc/php-fpm.d/
|
||||||
COPY docker/nginx-app.conf /etc/nginx/http.d/default.conf
|
COPY docker/nginx-app.conf /etc/nginx/http.d/default.conf
|
||||||
|
|
||||||
|
16
msmtprc
16
msmtprc
@ -1,18 +1,26 @@
|
|||||||
# A system wide configuration file is optional.
|
# A system wide configuration file is optional.
|
||||||
|
defaults
|
||||||
|
port 25
|
||||||
|
tls off
|
||||||
|
|
||||||
# If it exists, it usually defines a default account.
|
# If it exists, it usually defines a default account.
|
||||||
# This allows msmtp to be used like /usr/sbin/sendmail.
|
# This allows msmtp to be used like /usr/sbin/sendmail.
|
||||||
account default
|
account default
|
||||||
|
|
||||||
|
# Authentication
|
||||||
|
auth off
|
||||||
|
|
||||||
# The SMTP smarthost
|
# The SMTP smarthost
|
||||||
host smtp
|
host smtp
|
||||||
|
|
||||||
# Envelope-from address
|
# Envelope-from address
|
||||||
#from user@example.com
|
from wordpress@%H
|
||||||
domain example.com
|
|
||||||
|
# Sets the argument of the SMTP EHLO
|
||||||
|
domain wordpress
|
||||||
|
|
||||||
# Construct envelope-from addresses of the form "user@oursite.example"
|
# Construct envelope-from addresses of the form "user@oursite.example"
|
||||||
#auto_from on
|
#allow_from_override on
|
||||||
#maildomain example.com
|
|
||||||
|
|
||||||
# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
|
# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
|
||||||
syslog LOG_MAIL
|
syslog LOG_MAIL
|
||||||
|
Loading…
Reference in New Issue
Block a user