Cannot send an email using Roundcube: SMTP Error (535): Authentication failed

Created:

2017-07-30 05:46:19 UTC

Modified:

2017-08-16 17:33:19 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot send an email using Roundcube: SMTP Error (535): Authentication failed

Applicable to:

  • Plesk for Linux

Symptoms

Unable to send an email message using Roundcube webmail. The following error message occurs in Roundсube web interface:

'PLESK_INFO: 'SMTP Error (535): Authentication failed.

Cause

Incorrect configuration settings.

Resolution

Change Roundcube configuration file in the following way:

  1. Connect to the server using SSH.
  2. Locate main.inc.php configuration file:

    # rpm -qa | grep roundcube | xargs rpm -ql | grep main.inc.php
    /usr/share/psa-roundcube/config/main.inc.php

    Note: For Plesk 12, Roundcube configuration file is /usr/share/psa-roundcube/config/defaults.inc.php

  3. Change smtp_user value from the following:

    # grep smtp_user /usr/share/psa-roundcube/config/main.inc.php
    $rcmail_config['smtp_user'] = '%u';

    to the one below:

    # grep smtp_user /usr/share/psa-roundcube/config/main.inc.php
    $rcmail_config['smtp_user'] = '';

Note: That in /usr/share/psa-roundcube/config/defaults.inc.php there is $config parameter instead of $rcmail_config

Have more questions? Submit a request
Please sign in to leave a comment.