On 02.06.19 08:03, @lbutlr wrote:
Just want a quick sanity check on enabling smts in master.cf:
smtps inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_tls_wrappermode=yes
-o syslog_name=submit/smtps
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_security_options=noanonymous
-o smtpd_sasl_path=private/auth
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o
smtpd_relay_restrictions=permit_sasl_authenticated,reject_unauth_destination,reject
-o
smtpd_recipient_restrictions=permit_sasl_authenticated,reject_unauth_destination,reject
-o smtpd_helo_restrictions=
-o smtpd_data_restrictions=
I am not sure I need smtpd_client_restrictions or smtpd_sasl_security_options
at all?
the smtpd_*_restrictions should be exactly those above - only allow
authenticated mail. They are there to override whatever you have set in
main.cf.
the same applies to smtpd_sasl_security_options.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
One OS to rule them all, One OS to find them,
One OS to bring them all and into darkness bind them