Here’s how to Fix the SMTP (454) Authentication Failed Error in Roundcube

Here’s how to Fix the SMTP (454) Authentication Failed Error in Roundcube

Roundcube is a free and open source webmail tool. That’s why it’s adopted by many admins as part of email management practice. But as with other tools, you’re likely to come across a few errors from time to time. And one of them is the SMTP (454) Error. You’ll get this error when trying to send emails using Roundcube. If you’re stuck with this error, you might be looking for ways to fix it. In this article, learn how to solve the SMTP authentication failed error in Roundcube.

Why this Error Occurs?

Before fixing the error, it’s worth learning about the cause.

When you see this error, you’ll receive a message that reads, “SMTP Error: Authentication failure: Invalid response code received from server (Code: 454)”

If you get the following error, then you can access it at /var/log/maillog:

Code:
“Jun 20 21:10:02 postfix/smtpd[28890]: warning: SASL authentication failure: no secret in database
Jun 20 21:10:03 postfix/smtpd[28890]: warning: localhost[::1]: SASL DIGEST-MD5 authentication failed: authentication failure”
The two main reasons behind this error are:
  • Postfix configuration is broken
  • Pc-remote service is stopped
How to Fix the Error?

How to fix the error will depend on the reason behind the error. So you need to follow the appropriate solution.
  • Fixing the Broken Postfix config
When the postfix configuration is broken, you’d have to reinstall Postfix. You can do this by first moving to Qmail briefly and then jump back to Postfix. This can be done in a couple of ways.

Use Plesk Installer

Here are the steps to follow:
  • Go to Plesk and then take Tools & Settings
  • Then navigate into Updates.
plesk1.png

  • Take Add/Remove Components and then navigate into Mail hosting.
plesk2.png

  • Take SMTP servers and then select Qmail server
  • Select “Continue” to initiate the installation process
  • After the process is done, click on OK
  • Navigate into Add/Remove Components and take Mail hosting
  • Then navigate into SMTP servers to select Postfix mail
  • Click on Continue to begin the installation process
  • Once done, click on OK
Using CLI

You can use the Command Line Interface as well. Here are the steps involved:
  • Connect to your server using SSH terminal
  • Run the below commands:
Code:
# plesk installer --select-release-current --install-component qmail
# plesk installer --select-release-current --install-component postfix
Pc-remote Service is Stopped

If this is the reason, then you have to start the service.

Another thing to note is that there will be a difference in the error message you get. If you open the /var/log/maillog file, you’ll notice the following message:

Code:
warning: connect to Milter service inet:127.0.0.1:12768: Connection refused NOQUEUE: milter-reject: CONNECT from example.com[203.0.113.2]: 451 4.7.1 Service unavailable – try again later; proto=SMTP
To fix this, you’d have to follow these steps:
  • Log in to your Plesk account
  • Open Tools & Settings and then Scheduled Tasks
plesk3.png

  • Take Add Task
plesk4.png

  • Select Task Type as Run a Command
  • When you see the Command* section, paste this line -
Code:
/usr/sbin/service pc-remote start
  • For the section “System User” select “root” from the drop down menu
  • Tap on the “Run Now” button to start the service
So that’s how you fix the SMTP (454) error.
Author
kumkumsharma
Views
11,148
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top