diff --git a/playbooks/roles/mail/templates/user-patches.sh.j2 b/playbooks/roles/mail/templates/user-patches.sh.j2 index 2780f70..6845563 100644 --- a/playbooks/roles/mail/templates/user-patches.sh.j2 +++ b/playbooks/roles/mail/templates/user-patches.sh.j2 @@ -3,11 +3,7 @@ postconf -e 'smtpd_sasl_type = dovecot' postconf -e 'smtpd_sasl_path = /dev/shm/sasl-auth.sock' postconf -e 'smtpd_sasl_auth_enable = yes' -#postconf -e 'broken_sasl_auth_clients = yes' -postconf -e 'smtpd_relay_restrictions=permit_sasl_authenticated,reject' -postconf -e 'smtpd_delay_reject = yes' -postconf -e 'smtpd_client_restrictions = permit_sasl_authenticated, reject' -postconf -e 'smtpd_sasl_security_options = noanonymous' +postconf -e 'broken_sasl_auth_clients = yes' echo 'auth_username_format = %Ln' >> /etc/dovecot/conf.d/10-auth.conf