Add Readme 'force-ssl' and 'diasble smtp-auth on port 25'.

This commit is contained in:
2018-05-01 15:20:35 +02:00
parent 18962fafec
commit 871dc5039e
2 changed files with 28 additions and 0 deletions

22
README.force-ssl Normal file
View File

@ -0,0 +1,22 @@
/etc/postfix/main.cf :
## - Only offer SMTP AUTH when talking over an encrypted connection
smtpd_tls_auth_only = yes
/usr/local/dovecot/etc/dovecot/conf.d/10-ssl.conf :
# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
#ssl = yes
ssl = required
/usr/local/dovecot/etc/dovecot/conf.d/10-auth.conf :
# Space separated list of wanted authentication mechanisms:
# plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi otp skey
# gss-spnego
# NOTE: See also disable_plaintext_auth setting.
## auth_mechanisms = plain
auth_mechanisms = plain login