main.cf file Postfix related parametes:
smtpd_sasl_authenticated_header = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
dovecot.conf file Dovecot related parameters:
auth default {
mechanisms = plain login
[…removed irrelevance parameters…]
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}