• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Email error with roundcube. SMTP Error (250): Authentication failed.

RaulBoli

New Pleskian
Hello.
I have a VPS with plesk 12 I created an email account with one of my domains and when I try to send emails from this account through webmal of roundcube, I get the following error.:

An error has occurred!
SMTP Error (250): Authentication failed.

I would like to know what this error is due and as he could fix it.

Thank you.
 
Up please ! I have the same problem... and no solution to fix it... It's impossible to send an email (with roundcube or horde...)

Same message :
An error has occurred!
SMTP Error (250): Authentication failed.

Any idea ?
 
for me, the solution was to set the following variables:
$rcmail_config['smtp_server'] = '%t';
$rcmail_config['smtp_port'] = 25; //same as default
$rcmail_config['smtp_user'] = '%u'; //same as default
$rcmail_config['smtp_pass'] = '%p'; //same as default
$rcmail_config['smtp_auth_type'] = 'LOGIN';
 
If you're not keen on changing defaults in files, and are happy for users to have permission to relay using their email/password combo, the following should sort:

Server Management... Tools & Settings... Mail Server Settings... Relay Options... Authorisation Is Required - SMTP

With this turned OFF, RoundCube in its default state won't work :)
 
I have set
smtpd_tls_auth_only = yes
and so setting user and password to blank didn't work for me.

What worked:
Code:
// 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.

This may help some other people with the same problem saving some time.

Best regards
 
Hello!
I have set
smtpd_tls_auth_only = yes
and so setting user and password to blank didn't work for me.

What worked:
Code:
// 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.

This may help some other people with the same problem saving some time.

Best regards

When I do these changes, after doing smtpd_tls_auth_only = yes and smtpd_use_tls = yes I get the following, SMTP Error (-1): Connection to server failed

Also changed smtp_auth_type to LOGIN .. I just don't know what to do.
 
Properly setting up of POP3 and SMTP for the gmail is important in this case, as the same resolves variety of soft and hard bounce errors associated with email even I have resolved variety of gmail associated issues when I was having trouble while sending email including Error 007
 
Back
Top