Webhosting Blog

Open Alternative SMTP Port on a cPanel server


By default SMTP generally uses port 25, but as sometimes ISP’s may block the port 25 for access. In such situations we need to configure an alternative port of SMTP. This can be done on a cPanel enabled servers as follows:

1) Login to the WHM.

2) Navigate to Main >> Service Configuration .

3) Click on service manager.

4)Navigate to the section which says “exim on another port”.

5) Place a click on the “Enabled” box besides the setting and enter the Alternative SMTP Port in the box and apply changes.

6)Now ensure the alternative port is enabled on the server firewall.

7) For this open the file /etc/csf/csf.conf on the server and add the port in the TCP_IN, TCP_OUT, UDP_IN, UDP_OUT sections. Save the firewall and restart the firewall.

Now the alternative SMTP port is configured for your server.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s