Dovecot not work with samsung app

Issue

Samsung App Email App - Cannot set up Plesk mail IMAP account in Outlook: SASL DIGEST-MD5 authentication failed: authentication failure

Fix

  1. Login to Plesk server over SSH

  2. Create a custom configuration file and place the auth_mechanisms parameter without digest-md5:

    # vi /etc/dovecot/conf.d/00-auth_mechs.conf

    auth_mechanisms = plain login cram-md5 apop

  3. Restart Dovecot to apply the configuration changes:

    # service dovecot restart