• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Configure Email Client Template

Kristo

Basic Pleskian
Please have a look at the pictures. Is it possible to replace <domain.tld> with one I specify by my own?

I´m not using DNS Bind because of an external DNS.

The modal is part of the plesk panel e-mail settings.

Configure-Email-Client-Settingpage.jpg
Configure-Email-Client-Template.jpg
 
Hi Kristo,

on linux - based systems, you have the choice to use "find" and/or "grep", which gives you the possibility to search for a defined text for example. You could use:

grep -r 'Configure Email Client' /usr/local/psa
( which will for example lead you to: => "/usr/local/psa/admin/application/smb/resources/languages/en-US/controllers/email-address/configuration.php" )

Now you see at "configuration.php", that the fields are named with "fieldIncomingServer" and "fieldOutgoingServer", which again can be searched with a "grep" - command... for example:

grep -r 'fieldIncomingServer' /usr/local/psa
and
grep -r 'fieldOutgoingServer' /usr/local/psa

Both commands will now point you to the basic file "/usr/local/psa/admin/application/smb/views/scripts/email-address/configuration.phtml", where the queries are done:
Code:
...
<?php echo $this->lmsg('fieldIncomingServer'); ?>: <?php echo $this->escape($this->domainName); ?><br>
<?php echo $this->lmsg('fieldOutgoingServer'); ?>: <?php echo $this->escape($this->domainName); ?><?php echo ($this->hasSmtpAuth) ? (' (' . $this->lmsg('smtpAuth') . ')') : ''; ?><br>
...

If you would like to change the output to something you desire, you have to manually modify these lines.

Pls. be aware, that editing Plesk files are done on your own risk and your edits may disappear in case of updates/upgrades/patches from Plesk!
 
Last edited by a moderator:
Indeed grep is a very powerful command. Thanks for your help.

I´d like to avoid to edit Plesk files because of the two reasons you pointed out.

Could I manage to change those values if I install DNS Bind and change the MX record how it is used in my actual nameserver zone file?

Is that linked with each other?
 
Back
Top