Article ID: 127426, created on Nov 14, 2015, last review on Nov 14, 2015

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


How to setup access to webmail over as well as


  1. Create custom folder inside /usr/local/psa/admin/conf/templates directory:

    # mkdir /usr/local/psa/admin/conf/templates/custom
  2. Copy domainWebmail.php template to custom directory:

    # cp /usr/local/psa/admin/conf/templates/default/domainWebmail.php /usr/local/psa/admin/conf/templates/custom/domainWebmail.php
  3. Modify domainWebmail.php in /custom directory as follows:

    # cat /usr/local/psa/admin/conf/templates/custom/domainWebmail.php
    <?php echo AUTOGENERATED_CONFIGS; ?>
    <?php /** @var Template_VariableAccessor $VAR */ ?>
    if (!$VAR->domain->webmailActive) {
        echo "# Domain is disabled or suspended\n";
    ServerAlias "webmail.<?php echo $VAR->domain->asciiName ?>"
    ServerAlias "mail.<?php echo $VAR->domain->asciiName ?>"
    <?php foreach ($VAR->domain->mailAliases AS $alias): ?>
        ServerAlias  "webmail.<?php echo $alias->asciiName ?>"
        ServerAlias  "mail.<?php echo $alias->asciiName ?>"
    <?php endforeach; ?>
  4. After that rebuild web configuration files:

    # /usr/local/psa/admin/bin/httpdmng --reconfigure-all

Search Words

accessing webmail with ip

How to setup access to webmail over as well as

webmail alias

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF