|
|
@@ -39,7 +39,7 @@
|
|
|
</table>
|
|
|
</td>
|
|
|
<td class="data-dotted">
|
|
|
- <table class="data-col2" width="600px">
|
|
|
+ <table class="data-col2" width="440px">
|
|
|
<tr>
|
|
|
<td class="vst-text step-top">
|
|
|
<?php print __('Domain');?>
|
|
|
@@ -97,7 +97,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
|
|
- <textarea size="20" class="vst-textinput" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea>
|
|
|
+ <textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -107,7 +107,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
|
|
- <textarea size="20" class="vst-textinput" name="v_fwd"><?=htmlentities(trim($v_fwd, "'"))?></textarea>
|
|
|
+ <textarea size="20" class="vst-textinput short" name="v_fwd"><?=htmlentities(trim($v_fwd, "'"))?></textarea>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -144,11 +144,10 @@
|
|
|
<td class="mail-infoblock-td">
|
|
|
<div class="mail-infoblock">
|
|
|
<table>
|
|
|
- <?php $uname_arr=posix_uname(); $hostname=$uname_arr['nodename']; ?>
|
|
|
+ <?php $uname_arr=posix_uname(); $hostname=$uname_arr['nodename']; ?>
|
|
|
<tr>
|
|
|
<td colspan="2">
|
|
|
<select id="mail_configuration" class="vst-list flat">
|
|
|
- <option v_type="hostname" domain="<?=$hostname?>"><?=__('Use server hostname')?></option>
|
|
|
<option v_type="hostname" domain="<?=$v_domain?>"><?=__('Use domain hostname')?></option>
|
|
|
<option v_type="starttls"><?=__('Use STARTTLS')?></option>
|
|
|
<option v_type="ssl"><?=__('Use SSL / TLS')?></option>
|
|
|
@@ -166,7 +165,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><?=__('IMAP hostname')?>:</td>
|
|
|
- <td><div id="td_imap_hostname"><?=$hostname?></div></td>
|
|
|
+ <td><div id="td_imap_hostname">mail.<?=$v_domain?></div></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><?=__('IMAP port')?>:</td>
|
|
|
@@ -182,7 +181,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><?=__('SMTP hostname')?>:</td>
|
|
|
- <td><div id="td_smtp_hostname"><?=$hostname?></div></td>
|
|
|
+ <td><div id="td_smtp_hostname">mail.<?=$v_domain?></div></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><?=__('SMTP port')?>:</td>
|
|
|
@@ -198,7 +197,7 @@
|
|
|
</tr>
|
|
|
<?
|
|
|
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
|
|
|
- $webmail = "http://".$http_host."/webmail/";
|
|
|
+ $webmail = "http://webmail.".$v_domain."/";
|
|
|
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
|
|
|
?>
|
|
|
<tr>
|