Choosing A Port
First you want to decide on a port. Many use port 26 as the alternate SMTP port and CPanel recommends it, but several ISPs who do port 25 filtering also filter port 26, so it really isn’t a great choice. I personally recommend conforming (at least partially) to the RFC’s, so I decided to go with port 587 based on RFC4409.
Setting Up Exim To Listen On Your Chosen Port
Login to your Web Host Manager ( http://whatever.yourserver.com/whm ) and navigate to Service Configuration -> Service Manager. Scroll to the bottom and you will see an option for “Exim on another port”. Check this box and set it to the chosen port (in my case 587).

Hmm…Firewall?
I’m assuming you are running a firewall of some sort (I hope!), likely APF. To open the port in APF run a…
Assuming the file is located in /etc/apf/ you need to…
nano conf.apf
Find the line…
IG_TCP_CPORTS="20,21,22,25,53,80,110,143,443,465,993,995,2082,2083,2084,2086,2087,2095,2096,3306,6666,7786,9000"
and add port 587 to it…
IG_TCP_CPORTS="20,21,22,25,53,80,110,143,443,465,587,993,995,2082,2083,2084,2086,2087,2095,2096,3306,6666,7786,9000"
Viola!
There you have it! Pretty painless for the most part and easy enough for anyone who has WHM and SSH access to a CPanel server. Questions? Suggestions for another walkthrough? As always, ask away!
| 2.8 (1 person) |
Rate this post:
Related Posts
- Webmaster’s Edge Tutorials On Tutorialized
- CPanel Video Tutorials And Video Tutorials To Appear On The Edge
- CPanel Release Tree And Roundcube Webmail
- Wiki Updates: CPanel Information And MySQL Upgrade Issues
- The Edge Is Now NoFollow Free!
Previous Post:
Super Video Sunday: Bow To Your Google Overlords Part Deux
Next Post:
Cutting Back In Today’s Economy




Bradford
(1 votes, average: 9 out of 10)















No comments yet.