Add Readme 'force-ssl' and 'diasble smtp-auth on port 25'.
This commit is contained in:
parent
18962fafec
commit
871dc5039e
6
README.disable-smpt-auth-25
Normal file
6
README.disable-smpt-auth-25
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
/etc/postfix/master.cf :
|
||||
|
||||
smtp inet n - y - - smtpd
|
||||
..
|
||||
-o smtpd_sasl_auth_enable=no
|
22
README.force-ssl
Normal file
22
README.force-ssl
Normal 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
|
Loading…
Reference in New Issue
Block a user