Configure Directory Server to store passwords in cleartext.
Configure Messaging Server so that it knows Directory Server is using cleartext passwords.
To enable CRAM-MD5, DIGEST-MD5, or APOP mechanisms, you must configure the Directory Server to store passwords in cleartext. If you are using a Directory Server prior to version 6 the following instructions should apply. For version 6 or later, refer to the latest Directory Server documentation (Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide): :
In the Directory Server Console, open the Directory Server you want to configure.
Click the Configuration tab.
Open Data in the left pane.
Click Passwords in the right pane.
From the Password encryption drop-down list, choose “cleartext”.
This change only impacts users created in the future. Existing users will have to transition or have their password reset after this change.
You can now configure Messaging Server so that it knows the Directory Server is able to retrieve cleartext passwords. This makes it safe for Messaging Server to advertise APOP, CRAM-MD5, and DIGEST-MD5:
configutil -o sasl.default.ldap.has_plain_passwords -v 1
You can disable these challenge/response SASL mechanisms by setting the value to 0.
Existing users cannot use APOP, CRAM-MD5, or DIGEST-MD5 until their password is reset or migrated (see to Transition Users).
Note that MMP has an equivalent option: CRAMs.