Cpanel v86 Exim Mail Server (on another port) setting does not change

vacancy

Well-Known Member
Sep 20, 2012
576
232
93
Turkey
cPanel Access Level
Root Administrator
Hello

Setting changes in "Exim Mail Server (on another port)" option in "service manager" section does not work in 86.0.12 and 86.0.13 versions. I activated this option and saved the port as 587, when I returned, this setting had returned to default.

Service manager settings save log;
Code:
Unable to set exim altport to 587. Please select another port....

...Failed
 
Last edited:

quietFinn

Well-Known Member
Feb 4, 2006
2,109
580
493
Finland
cPanel Access Level
Root Administrator
Hello

Setting changes in "Exim Mail Server (on another port)" option in "service manager" section does not work in 86.0.12 and 86.0.13 versions. I activated this option and saved the port as 587, when I returned, this setting had returned to default.
Doesn't it say "Allow exim to listen on a port other than 25, 465, and 587" ?
So exim is already listening on port 587.
I have v86.0.12.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there!

@quietFinn is correct - the reason you can't enter 587 in that box is because that is already a standard port for mail services that is in use by Exim. The message next to the box says this:

"Allow exim to listen on a port other than 25, 465, and 587. "

This field is designed for you to setup a port so users whose local network is blocking port 25 can still connect to your mail server to use messages inside a client such as Outlook or Thunderbird.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
Exim, by default listesns on 587, 465 and 25.

Code:
[root@server ~]# netstat -plan |grep exim
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      694/exim
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      694/exim
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      694/exim
tcp6       0      0 :::587                  :::*                    LISTEN      694/exim
tcp6       0      0 :::465                  :::*                    LISTEN      694/exim
tcp6       0      0 :::25                   :::*                    LISTEN      694/exim
This means that not only is adding 587 not going to work but it's redundant.

If you add a port that exim is *not* already listening on does the issue persist?
 

vacancy

Well-Known Member
Sep 20, 2012
576
232
93
Turkey
cPanel Access Level
Root Administrator
Exim, by default listesns on 587, 465 and 25.

Code:
[root@server ~]# netstat -plan |grep exim
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      694/exim
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      694/exim
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      694/exim
tcp6       0      0 :::587                  :::*                    LISTEN      694/exim
tcp6       0      0 :::465                  :::*                    LISTEN      694/exim
tcp6       0      0 :::25                   :::*                    LISTEN      694/exim
This means that not only is adding 587 not going to work but it's redundant.

If you add a port that exim is *not* already listening on does the issue persist?
I can select for 26 ports, but 587 cannot be set and smtp mail cannot be sent.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
I can select for 26 ports, but 587 cannot be set and smtp mail cannot be sent.
Right, yeah that's standard as far as being able to set the ports in WHM. You can even confirm which ports exim is currently listening on by running the netstat command I ran in my example.

But it sounds like your issue sending SMTP mail may be unrelated. What's the error you're getting when trying to send SMTP mail and what's the configuration?