How to setup SMTP port on Linux server using WHM?

By default SMTP outgoing server is configured for port 25. If you would like to allow exim to listen on a port other than 25 then you can follow below steps -

1. Login to WHM using root details.
2. Follow WHM >> Service Manager
3. Once you will enter in service manager then search for 'Exim Mail Server (on another port)'.
4. By default it is set to port number 25. You can enter the port number which you would like to setup now for SMTP connection.
5. Save.
6. Restart the exim service from WHM >> Restart Services >> Mail Server (Exim) >> Are you sure you wish to restart this service? >> Yes.

Note : 
Make sure the port which you have entered for exim mail server is opened in your server's firewall.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to reset SSH port back to default port 22?

In some situations most of us may come across a problem that we are able to log into the WHM but...

How to setup the root login alert notification email?

Its very important to keep a check on your servers and who logs into the server, From security...

How to enable Open SSL on WHM?

Before enabling open SSL, you can check whether it is already enabled on your server. Please fire...

How to install mod_pagespeed on WHM?

'mod_pagespeed' is module of Apache which is nothing but plugin which is used for compressing the...

How to enable Hot Link Protection in cPanel?

To avoid other sites to use your website's bandwidth, you can enable the hot link protection....

Powered by WHMCompleteSolution