Working Drupal 8 container including SSMTP.

This commit is contained in:
2018-11-11 20:34:41 +01:00
parent e3e65adc20
commit 11451f205c
5 changed files with 34 additions and 8 deletions

1
src/mail.ini Normal file
View File

@ -0,0 +1 @@
sendmail_path = "/usr/sbin/ssmtp -t -i"

16
src/ssmtp.conf Normal file
View File

@ -0,0 +1,16 @@
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and you mailhub is so named.
mailhub=nathan.nehmer.net
# Where will the mail seem to come from?
rewriteDomain=nehmer.net
# The full hostname
hostname=docker.nehmer.net
UseSTARTTLS=Yes