IMAPS and outgoing TLS from prologic

This commit is contained in:
Your Name 2016-10-10 15:58:32 +00:00
parent ac9f32de1e
commit 5f6a8976a0
5 changed files with 7 additions and 3 deletions

View File

@ -93,6 +93,6 @@ RUN useradd -g vmail -u 5000 vmail -d /vmail -m
# Volume to store email
VOLUME ["/vmail"]
EXPOSE 25 143 587 4190
EXPOSE 25 143 587 993 4190
CMD /boot && exec /usr/bin/supervisord -n -c /etc/supervisord.conf

View File

@ -53,6 +53,7 @@ Use the the example config files in `config/example` to get you started.
-p 25:25 \
-p 587:587 \
-p 143:143 \
-p 993:993 \
-p 4190:4190 \
-v /var/lib/dockermail/settings:/mail_settings \
-v /var/lib/dockermail/vmail:/vmail \

View File

@ -5,9 +5,8 @@ service imap-login {
}
#disable imaps since we use TLS connections through the standard imap
inet_listener imaps {
port = 0
}
}

View File

@ -40,6 +40,9 @@ recipient_delimiter = +
# SMTP configuration for incoming mail (port 25)
# Outgoing mail (port 587) configuration is specified in master.cf
# Opportunistic TLS
smtp_tls_security_level = may
# allow all connections (since we want to receive mail from outside)
smtpd_client_restrictions = permit

View File

@ -5,6 +5,7 @@ dovecot unix - n n - - pipe
# authenticate after HELO has been sent
submission inet n - n - - smtpd
-o smtpd_etrn_restrictions=reject
-o smtpd_tls_security_level=may
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_path=private/auth
-o smtpd_sasl_auth_enable=yes