Add postfix SMTP sasl authentication with dovecot

In order to allow the clients to send emails using SMTP authentication, update the following files:

/etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
/etc/dovecot/conf.d/10-master.conf
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0600
    user = postfix
    group = postfix
    user = $default_internal_user
  }

reload posfix
service restart dovecot

This will allow a client like Outlook to authenticate for sending emails.

Leave a Reply

Time limit is exhausted. Please reload the CAPTCHA.