Commit 4ce3e3f9 authored by paul's avatar paul Committed by Hive

Switch ssmtp for msmtp

parent 06a9367a
......@@ -13,7 +13,7 @@ RUN DEBIAN_FRONTEND=noninteractive && \
dovecot-imapd \
dovecot-lmtpd \
dovecot-managesieved \
ssmtp \
msmtp \
rsyslog \
supervisor \
ca-certificates &&\
......@@ -23,7 +23,7 @@ RUN DEBIAN_FRONTEND=noninteractive && \
VOLUME /var/vmail
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
add ssmtp/ssmtp.conf /etc/ssmtp/ssmtp.conf
add msmtp/ssmtp.conf /etc/msmtprc
#ENTRYPOINT ["dovecot", "-F"]
#CMD ["-c", "/etc/dovecot/dovecot.conf"]
......
account default
host postfix
maildomain zom.bi
auth off
port 25
from mailsystem@zom.bi
#
# 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
mailhub=postfix
# Where will the mail seem to come from?
#rewriteDomain=
# The full hostname
hostname=zom.bi
# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment