Send Outgoing Email on Port 587?

loyalcom

Member
Apr 12, 2014
23
0
51
cPanel Access Level
Root Administrator
By default cpanel allow 587 port. you can also use 26 port for outgoing. but you have to add the port from WHM > Service Configuration »Service Manager
 

sparek-3

Well-Known Member
Aug 10, 2002
2,087
243
368
cPanel Access Level
Root Administrator
This isn't going to help you communicate with other SMTP servers (i.e. send mail to other services, like gmail).

This is because all SMTP communication is done on port 25.

Gmail's servers (or any mail server) isn't going to accept relayed mail on port 587.

You need to configure your DigitalOcean server to use a smarthost (where you obtain that smarthost is entirely up to you).

Then configure your DigitalOcean server to send all mail out to that smarthost (which you can use port 587 for). Then your the smarthost will send the message on to it's destination:

DigitalOcean -> (Port 587) -> Smarthost -> (Port 25) -> Gmail's server
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,273
1,282
313
Houston
You can tell exim to listen on port 26 as well by going to WHM>>Service Configuration>>Service Manager

This is usually the solution employed by those with providers that block 25