Support for the Dovecot version 1 SASL protocol is available
in Postfix 2.3 and later. At the time
of writing, only server-side SASL support is available, so you can't
use it to authenticate to your network provider's server. Dovecot
uses its own daemon process for authentication. This keeps the
Postfix build process simple, because there is no need to link extra
libraries into Postfix.
To generate the necessary Makefiles, execute the following
in the Postfix top-level directory:
% make makefiles CCARGS='-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\"'
After this, proceed with "make" as described in the
INSTALL document.
Notes:
-
The "-DDEF_SERVER_SASL_TYPE" stuff is not necessary; it just
makes Postfix configuration a little more convenient because you
don't have to specify the SASL plug-in type in the Postfix
main.cf
file.
-
If you also want support for LDAP or TLS, you will have to merge
their CCARGS and AUXLIBS into the above command line.