Plesk Email Problem: "Connect to 127.0.0.1:10024 Connection Refused" Error Solution
Plesk Can't Send/Receive Email: "Connect to 127.0.0.1[127.0.0.1]:10024: Connection Refused" Error Solution
Do you receive the "Connect to 127.0.0.1[127.0.0.1]:10024: Connection Refused" error while sending and receiving emails on Plesk? In this article, we will discuss the causes and solutions of this problem in detail.
Problem Description and Causes
This error is usually related to the Amavis service running on the Plesk server. Amavis is a software that checks email traffic for viruses and spam. The "Connection Refused" error indicates that the Amavis service is not running or cannot be reached on a specific port. The causes of this problem include:
- Amavis service stopped or crashed
- Firewall or port settings incorrectly configured
- Lack of updates in Plesk or Amavis software
Check Required Services
First, you should check if Plesk and Amavis services are running. You can connect to your server via SSH and use the following commands:
systemctl status amavisd
systemctl status psa
These commands will show the status of the relevant services. If the services are stopped, you can try restarting them with the following commands:
systemctl start amavisd
systemctl start psa
If the services are not running or are giving errors, you can review the log files to get more information.

Restarting the Amavis Service
Restarting the Amavis service often solves the problem. To restart the service, you can use the following command over SSH:
systemctl restart amavisd
This command will stop and restart the Amavis service. If the problem persists, it is important to check the log files for more information:
tail -f /var/log/maillog
This command will display the last lines of the mail log file. You can find error messages and clues about the problem here.
Firewall and Port Settings
Firewall settings can prevent the Amavis service from working properly. Make sure that port 10024 is open. You can use the following command to check if this port is open:
iptables -L -n | grep 10024
If port 10024 is not listed, you can use the following commands to open the port:
iptables -A INPUT -p tcp --dport 10024 -j ACCEPT
service iptables save
service iptables restart
These commands will open port 10024 and restart the firewall.
Plesk Reinstallation and Updates
If the above steps do not resolve the issue, Plesk and related services may need to be updated or reinstalled. Plesk updates usually resolve many issues and ensure that you are using the most up-to-date and secure version of the software. To update Plesk, you can follow these steps:
- Log in to the Plesk administration panel.
- Click on the "Tools & Settings" tab from the left menu.
- Click on "Updates and Upgrades".
- Check for updates and install the necessary updates.
If the updates do not solve the problem, you may consider reinstalling Plesk. However, you should definitely back up your data before doing this.
Frequently Asked Questions
- 1. What is the Amavis service?
- Amavis is a software that checks e-mail traffic for viruses and spam. It works with server management software such as Plesk.
- 2. What does the "Connection Refused" error mean?
- This error indicates that access to a specific service or port is blocked or the service is not running.
- 3. How can I check the firewall settings?
- You can check the firewall settings using iptables commands by connecting to your server via SSH and adjust them if necessary.
- 4. Why are Plesk updates important?
- Plesk updates ensure that you are using the most up-to-date and secure version of the software and solve many problems.
- 5. What should I pay attention to when reinstalling Plesk?
- You should definitely back up your data before reinstalling Plesk. You should also be careful during the installation process and follow all the steps correctly.
Comments0
No Comments Yet
Be the first to share your thoughts.
Please sign in or sign up to leave a comment.