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.

Was this answer helpful?

 Print this Article

Also Read

Response: 421 Home directory not available - aborting Error: Could not connect to server

While connecting to hosting service using FTP client, I was getting below error message...

How to force the site to use https using .htaccess file?

If you've working SSL certificate on your website and you'd like force your website to load using...

How to preview the edited page in WordPress?

I have edited the WordPress site page but it was not reflected on the live site.Solution :-1....

Access to context [/] is denied!

While accessing the site, I was getting the error as -Access to context [/] is denied!Solution...

ERROR: There was an error connecting to the server, Please verify the settings

While updating the WordPress plugin using FTP client I was getting the error as -'ERROR: There...

Powered by WHMCompleteSolution