Roundcube SMTP Error (250): Authentication failed

Recently while trying to install roundcube I am stuck with the error “roundcube SMTP Error (250): Authentication failed”.

With the error the clear hint is there should be some issue with SMTP setting, so I checked all SMTP settings and I had bit doubt on following settings.

$rcmail_config['smtp_user'] = '%u';

$rcmail_config['smtp_pass'] = '%p';

After doing some experiments with my file following tweaks are worked for me.

$rcmail_config['smtp_user'] = '';

$rcmail_config['smtp_pass'] = '';


8 comments on “Roundcube SMTP Error (250): Authentication failed

  1. This trick doesn’ work if: smtpd_tls_auth_only = yes

    I changed:
    // SMTP server host (for sending mails).
    // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
    //$config[‘smtp_server’] = ‘localhost’;
    $config[‘smtp_server’] = ‘tls://localhost’;

    // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
    // deprecated SSL over SMTP (aka SMTPS))
    //$config[‘smtp_port’] = 25;
    $config[‘smtp_port’] = 587;

    Now everything works fine.

    Nevertheless this blog gave me the hint to look in the right place, so thanks!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s