4. What do you need to offer SMTP AUTH in Postfix?

4.1. Authentication for Mail clients

You want Postfix to authenticate incoming connections from Mail clients?

You have to go through the following steps:

  1. install Cyrus-SASL

  2. configure Cyrus-SASL

  3. configure Postfix source-code with Cyrus-SASL support

  4. build Postfix

  5. (re)install Postfix

  6. figure Postfix to use the SASL smtpd features

[Important]Important

If you want Postfix to authenticate incoming connections from Mail clients and offer the mechanism PLAIN and/or LOGIN we strongly recommend that you also add the use of TLS to your solution.

4.2. Authentication for Mail servers

You want Postfix to authenticate itself to other Mail servers?

You have to go through the following steps:

  1. install Cyrus-SASL

  2. configure Cyrus-SASL

  3. configure Postfix source-code with Cyrus-SASL support

  4. build Postfix

  5. (re)install Postfix

  6. configure Postfix to use the SASL SMTP features