IMAPS and outgoing TLS from prologic
This commit is contained in:
parent
ac9f32de1e
commit
5f6a8976a0
@ -93,6 +93,6 @@ RUN useradd -g vmail -u 5000 vmail -d /vmail -m
|
|||||||
# Volume to store email
|
# Volume to store email
|
||||||
VOLUME ["/vmail"]
|
VOLUME ["/vmail"]
|
||||||
|
|
||||||
EXPOSE 25 143 587 4190
|
EXPOSE 25 143 587 993 4190
|
||||||
|
|
||||||
CMD /boot && exec /usr/bin/supervisord -n -c /etc/supervisord.conf
|
CMD /boot && exec /usr/bin/supervisord -n -c /etc/supervisord.conf
|
||||||
|
@ -53,6 +53,7 @@ Use the the example config files in `config/example` to get you started.
|
|||||||
-p 25:25 \
|
-p 25:25 \
|
||||||
-p 587:587 \
|
-p 587:587 \
|
||||||
-p 143:143 \
|
-p 143:143 \
|
||||||
|
-p 993:993 \
|
||||||
-p 4190:4190 \
|
-p 4190:4190 \
|
||||||
-v /var/lib/dockermail/settings:/mail_settings \
|
-v /var/lib/dockermail/settings:/mail_settings \
|
||||||
-v /var/lib/dockermail/vmail:/vmail \
|
-v /var/lib/dockermail/vmail:/vmail \
|
||||||
|
@ -5,9 +5,8 @@ service imap-login {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#disable imaps since we use TLS connections through the standard imap
|
|
||||||
inet_listener imaps {
|
inet_listener imaps {
|
||||||
port = 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ recipient_delimiter = +
|
|||||||
# SMTP configuration for incoming mail (port 25)
|
# SMTP configuration for incoming mail (port 25)
|
||||||
# Outgoing mail (port 587) configuration is specified in master.cf
|
# 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)
|
# allow all connections (since we want to receive mail from outside)
|
||||||
smtpd_client_restrictions = permit
|
smtpd_client_restrictions = permit
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ dovecot unix - n n - - pipe
|
|||||||
# authenticate after HELO has been sent
|
# authenticate after HELO has been sent
|
||||||
submission inet n - n - - smtpd
|
submission inet n - n - - smtpd
|
||||||
-o smtpd_etrn_restrictions=reject
|
-o smtpd_etrn_restrictions=reject
|
||||||
|
-o smtpd_tls_security_level=may
|
||||||
-o smtpd_sasl_type=dovecot
|
-o smtpd_sasl_type=dovecot
|
||||||
-o smtpd_sasl_path=private/auth
|
-o smtpd_sasl_path=private/auth
|
||||||
-o smtpd_sasl_auth_enable=yes
|
-o smtpd_sasl_auth_enable=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user