Change SSL to 587 Mail Client Manual Settings template

diracuser

Active Member
Oct 22, 2014
41
1
8
cPanel Access Level
Root Administrator
Hi,

I'm configutating EXIM SERVER.
When the user access to Email account they
can see "Mail Client Manual Settings"

I want to change the SSL/TLS Configuration in
the template.
I want to change Outgoing Server --> SMTP PORT:465 to 587 and add use TLS

I see the template:
/usr/local/cpanel/base/frontend/paper_lantern/mail/clientconf_manual_settings_include.html.tt

I found the following line

<li [% IF in_html_email; li_props; END %]>[% locale.maketext("[output,abbr,SMTP,Simple Mail Transfer Protocol] Port: [_1]", mail_client_settings.smtp_port) %]</li>

and I can see there is a mail_client_settings.smtp_port, where can I change this variable ???

How Can I Modify to see PORT 587 and TLS ?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

While unsupported, you can manually update that line in /usr/local/cpanel/base/frontend/paper_lantern/mail/clientconf_manual_settings_include.html.tt to:

Code:
                              <li [% IF in_html_email; li_props; END %]>[% locale.maketext("[output,abbr,SMTP,Simple Mail Transfer Protocol] Port: 587", mail_client_settings.smtp_port) %]</li>
You'd need to exclude this file from updates by adding an entry for it to the /etc/cpanelsync.exclude file to ensure it's not overwritten by updates.

Additionally, I encourage you to vote and add feedback to the following feature request:

Ability to customise the "Mail Client Configuration" page in cPanel

Thanks!