How to run Exim on an additional port
By default, exim runs on port 25. Because a lot of internet services providers block port 25, this can cause many users problems when sending email. If you are on a VPS server or have Dedicated hosting, and you have root access, you can setup exim to run on an additional port.
In this tutorial, we are going to run exim off of port 26 (in addition to port 25). This will allow users to connect and send email over port 26.
- Log into your WHM
- In the left menu, under Service Configuration, click on Service Manager.
- Find the setting labeled exim on another port. Check the box under Enabled, enter 26 next to Allow exim to listen on port, and then click on save at the bottom of the page.
- Edit your APF configuration file, and ensure port 26 is open.
Test! At this point, you can use telnet to test if exim is listening on port 26!
C:\Users\Brad>telnet example.com 26 Connecting To example.com... 220-vps###.inmotionhosting.com ESMTP Exim 4.80 #2 Fri, 17 May 2013 06:33:38 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
As you can see above, exim responded, which shows exim is now running off of port 26.