Changing Exim Outgoing Port in cPanel when ISP Blocks Port 25
If you're experiencing issues sending email from your cPanel account due to your Internet Service Provider (ISP) blocking outgoing port 25, don't worry - there's a solution. This article will guide you through changing the Exim outgoing port in cPanel to an alternative port, allowing you to continue sending emails.
Understanding the Issue
By default, Exim, the mail transfer agent used by cPanel, sends emails through port 25. However, some ISPs block this port to prevent spamming. To resolve this issue, you can change the Exim outgoing port to a different port that is not blocked by your ISP.
Finding an Alternative Port
Before changing the Exim outgoing port, you need to find an alternative port that is not blocked by your ISP. You can use ports like 465 (SSL) or 587 (STARTTLS). To confirm which ports are open, you can use online port scanning tools or contact your ISP.
Changing the Exim Outgoing Port in cPanel
Once you have identified an alternative port, follow these steps to change the Exim outgoing port:
- Log in to your cPanel account.
- Navigate to the "Service Configuration" section and click on "Exim Configuration Manager" or "Exim Configuration Editor" (depending on your cPanel version).
- Scroll down to the "Advanced Editor" section.
- Click on the "Outgoing SMTP" option.
- Find the line that starts with "remote_smtp" and add the following code snippet:
port = [your_alternative_port]
Replace [your_alternative_port] with the port number you have chosen (e.g., 465 or 587).
- Click on the "Save" button at the bottom of the page to apply the changes.
Testing the New Configuration
After changing the Exim outgoing port, test your email configuration by sending a test email from your cPanel account. If the email is successfully delivered, the new port is working correctly.
References
- cPanel Documentation: How to Change the Outgoing SMTP Port
- Exim Configuration Manager: Exim Configuration Manager
- Online Port Scanning Tools: YouGetSignal
By following the steps outlined in this article, you can successfully change the Exim outgoing port in cPanel, allowing you to send emails even if your ISP blocks port 25.