<table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr> <?php PrintCheckboxRow("SpamAssassinEnabled", "Use SpamAssassin", $SpamAssassinEnabled); PrintPropertyEditRow("SpamAssassinHost", "Host name", $SpamAssassinHost); PrintPropertyEditRow("SpamAssassinPort", "TCP/IP port", $SpamAssassinPort, 10, "number"); PrintCheckboxRow("SpamAssassinMergeScore", "Use score from SpamAssassin", $SpamAssassinMergeScore); PrintPropertyEditRow("SpamAssassinScore", "Score", $SpamAssassinScore, 4, "number"); ?> <tr> <td colspan="2"> <input type="button" value="<?php EchoTranslation("Test"); ?> " onclick="TestSpamAssassinConnection();"> <br/> <br/> <div id="SpamAssassinTestResult"></div> </td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?>
PrintHidden("page", "background_domain_name_save"); PrintHidden("action", $action); PrintHidden("domainid", $domainid); ?> <div class="tabber"> <div class="tabbertab"> <h2><?php EchoTranslation("General"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <td width="30%"><?php EchoTranslation("Name"); ?> </td> <td width="70%"><input type="text" name="aliasname" checkallownull="false"></td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
EchoTranslation("Advanced"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr> <tr> <td><?php EchoTranslation("First name"); ?> </td> <td><?php EchoTranslation("Last name"); ?> </td> </tr> <tr> <td> <input type="text" name="PersonFirstName" value="<?php echo PreprocessOutput($PersonFirstName); ?> " size="40"> </td> <td> <input type="text" name="PersonLastName" value="<?php echo PreprocessOutput($PersonLastName); ?>
<tr> <th width="30%"></th> <th width="70%"></th> </tr> <?php PrintCheckboxRow("RequireSMTPAuthLocalToLocal", "Local to local e-mail addresses", $RequireSMTPAuthLocalToLocal); PrintCheckboxRow("RequireSMTPAuthLocalToExternal", "Local to external e-mail addresses", $RequireSMTPAuthLocalToExternal); PrintCheckboxRow("RequireSMTPAuthExternalToLocal", "External to local e-mail addresses", $RequireSMTPAuthExternalToLocal); PrintCheckboxRow("RequireSMTPAuthExternalToExternal", "External to external e-mail addresses", $RequireSMTPAuthExternalToExternal); ?> </table> </div> <div class="tabbertab"> <h2><?php EchoTranslation("Other"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr> <?php PrintCheckboxRow("enablespamprotection", "Anti-spam", $enablespamprotection); PrintCheckboxRow("EnableAntiVirus", "Anti-virus", $EnableAntiVirus); ?> </table> </div> </div>
EchoTranslation("SSL certificate"); ?> </h1> <form action="index.php" method="post" onSubmit="return formCheck(this);"> <?php PrintHidden("page", "background_sslcertificate_save"); PrintHidden("action", "{$action}"); PrintHidden("id", "{$id}"); ?> <div class="tabber"> <div class="tabbertab"> <h2><?php EchoTranslation("General"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr> <?php PrintPropertyEditRow("Name", "Name", $Name); PrintPropertyEditRow("CertificateFile", "Certificate file", $CertificateFile, 50); PrintPropertyEditRow("PrivateKeyFile", "Private key file", $PrivateKeyFile, 50); ?> </table>
?> </i></td> <td><i><?php EchoTranslation("From"); ?> </i></td> <td><i><?php EchoTranslation("To"); ?> </i></td> <td><i><?php EchoTranslation("Next try"); ?> </i></td> <td><i><?php EchoTranslation("Number of retries"); ?> </i></td> </tr> <?php $undeliveredMessages = $obStatus->UndeliveredMessages; $count = 0; if (strlen($undeliveredMessages) > 0) { $list = explode("\r\n", $undeliveredMessages); $count = count($list); $as_soon_as_possible = $obLanguage->String("As soon as possible"); foreach ($list as $line) { $columns = explode("\t", $line); if (count($columns) > 4) { if ($columns[4] == "1901-01-01 00:00:00") { $columns[4] = $as_soon_as_possible;
<tr> <td><?php EchoTranslation("Upper IP"); ?> </td> <td> <input type="text" name="UpperIPAddress" value="<?php echo PreprocessOutput($UpperIPAddress); ?> " size="20"> </td> </tr> <tr> <td><?php EchoTranslation("E-mail address"); ?> </td> <td> <input type="text" name="EmailAddress" value="<?php echo PreprocessOutput($EmailAddress); ?> " size="50"> </td> </tr> </table> </div> </div> <?php
<?php if (!defined('IN_WEBADMIN')) { exit; } if (hmailGetAdminLevel() != ADMIN_SERVER) { hmailHackingAttemp(); } // Users are not allowed to show this page. ?> <h1><?php EchoTranslation("Server messages"); ?> </h1> <table border="0" width="100%" cellpadding="5"> <?php $bgcolor = "#EEEEEE"; $obSettings = $obBaseApp->Settings(); $obServerMessages = $obSettings->ServerMessages(); $Count = $obServerMessages->Count(); for ($i = 0; $i < $Count; $i++) { $obServerMessage = $obServerMessages->Item($i); $messagename = $obServerMessage->Name; $messageid = $obServerMessage->ID; $messagename = PreprocessOutput($messagename); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td width=\"80%\"><a href=\"?page=servermessage&messageid={$messageid}&\">{$messagename}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else {
<div class="tabbertab"> <h2><?php EchoTranslation("General"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <td width="30%"><?php EchoTranslation("Address"); ?> </td> <td width="70%"> <input type="text" name="routeaddress" value="<?php echo PreprocessOutput($routeaddress); ?> " size="35" checkallownull="false" checktype="email" checkmessage="<?php EchoTranslation("Address"); ?> "> </td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
EchoTranslation("Incorrect username or password."); echo "<br/><br/>"; } ?> <?php EchoTranslation("User name"); ?> :<br/> <input type="text" name="username" size="25" maxlength="256" /><br/> <br/> <?php EchoTranslation("Password"); ?> :<br/> <input type="password" name="password" size="25" maxlength="256" /><br/> <br/> <input type="submit" value="<?php EchoTranslation("OK"); ?> " /> </td> </tr> </table> </form> <script type="text/javascript"> document.mainform.username.focus(); </script>
</tr> <tr> <td><?php EchoTranslation("Address"); ?> </td> <td> <input type="text" name="RequireSenderAddress" value="<?php echo PreprocessOutput($RequireSenderAddress); ?> " size="30"> </td> </tr> <tr> <td><?php EchoTranslation("Require SMTP Authentication"); ?> </td> <td><input type="checkbox" name="listrequiresmtpauth" value="1" <?php echo $listrequiresmtpauthchecked; ?> ></td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?>
$eMTWildcardSelected = $MatchType == eMTWildcard ? "selected" : ""; echo "<option value= " . eMTEquals . " {$eMTEqualsSelected}>" . GetMatchTypeString(eMTEquals) . "</option>"; echo "<option value= " . eMTContains . " {$eMTContainsSelected}>" . GetMatchTypeString(eMTContains) . "</option>"; echo "<option value= " . eMTLessThan . " {$eMTLessThanSelected}>" . GetMatchTypeString(eMTLessThan) . "</option>"; echo "<option value= " . eMTGreaterThan . " {$eMTGreaterThanSelected}>" . GetMatchTypeString(eMTGreaterThan) . "</option>"; echo "<option value= " . eMTRegExMatch . " {$eMTRegExMatchSelected}>" . GetMatchTypeString(eMTRegExMatch) . "</option>"; echo "<option value= " . eMTNotContains . " {$eMTNotContainsSelected}>" . GetMatchTypeString(eMTNotContains) . "</option>"; echo "<option value= " . eMTNotEquals . " {$eMTNotEqualsSelected}>" . GetMatchTypeString(eMTNotEquals) . "</option>"; echo "<option value= " . eMTWildcard . " {$eMTWildcardSelected}>" . GetMatchTypeString(eMTWildcard) . "</option>"; ?> </select> </td> <td> <?php EchoTranslation("Value"); ?> <br/> <input type="text" name="MatchValue" value="<?php echo PreprocessOutput($MatchValue); ?> "> </td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?>
<tr> <td><input type="radio" name="DaysToKeepMessages" value="" <?php if ($DaysToKeepMessages > 0) { echo "checked"; } ?> ></td> <td><?php EchoTranslation("Delete messages after"); ?> </td> <td><input type="text" name="DaysToKeepMessagesValue" value="<?php echo PreprocessOutput($DaysToKeepMessagesValue); ?> "> <?php EchoTranslation("days"); ?> </td> </tr> </table> </td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
?> " checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Days before removing unused records"); ?> "></td> </tr> <tr> <td><?php EchoTranslation("Days before removing used records"); ?> </td> <td><input type="text" name="greylistingfinaldelete" value="<?php echo PreprocessOutput($greylistingfinaldelete); ?> " checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Days before removing used records"); ?> "></td> </tr> <?php PrintCheckboxRow("BypassGreylistingOnSPFSuccess", "Bypass Greylisting on SPF Pass", $BypassGreylistingOnSPFSuccess); PrintCheckboxRow("BypassGreylistingOnMailFromMX", "Bypass Greylisting when message arrives from A or MX record.", $BypassGreylistingOnMailFromMX); ?> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
?> <br/> <input type="text" name="Value" value="<?php echo PreprocessOutput($Value); ?> "><br/> <br/> </div> <div id="panel-<?php echo eRASendUsingRoute; ?> " style="display: none"> <?php EchoTranslation("Route"); ?> <br/> <select name="RouteID"> <?php if (hmailGetAdminLevel() == ADMIN_SERVER) { $obSettings = $obBaseApp->Settings; $obRoutes = $obSettings->Routes(); $Count = $obRoutes->Count(); for ($i = 0; $i < $Count; $i++) { $obRoute = $obRoutes->Item($i); $routename = $obRoute->DomainName; $routeid = $obRoute->ID; $routename = PreprocessOutput($routename); echo "<option value=\"{$routeid}\">{$routename}</option>";
<?php PrintCheckboxRow("MessageIndexingEnabled", "Enabled", $MessageIndexingEnabled); ?> <tr> <td size="30%"><b><?php EchoTranslation("Status"); ?> </b></td> <td size="70%"><?php echo $TotalIndexedCount . " / " . $TotalMessageCount; ?> </td> </tr> <tr> <td size="30%"><input type="button" name="MessageIndexingClear" value="<?php EchoTranslation("Clear"); ?> " onclick="ClearMessageIndexingCache();" > </b></td> <td size="70%"></td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
<div class="tabber"> <div class="tabbertab"> <h2><?php EchoTranslation("General"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr> <tr> <td><?php EchoTranslation("SSL/TLS ciphers "); ?> </td> <td> <textarea rows="12" cols="80" name="SslCipherList"><?php echo $SslCipherList; ?> </textarea> </td> </tr> <?php PrintCheckboxRow("VerifyRemoteSslCertificate", "Verify remote server SSL/TLS certificates", $VerifyRemoteSslCertificate); PrintCheckboxRow("SslVersion30Enabled", "SSL v3.0", $SslVersion30Enabled); PrintCheckboxRow("TlsVersion10Enabled", "TLS v1.0", $TlsVersion10Enabled); PrintCheckboxRow("TlsVersion11Enabled", "TLS v1.1", $TlsVersion11Enabled); PrintCheckboxRow("TlsVersion12Enabled", "TLS v1.2", $TlsVersion12Enabled);
echo "<br/><br/>"; EchoTranslation("Select the domain you want to run tests on."); echo "<br/><br/>"; echo '<select name="LocalDomainName">'; $obDomains = $obBaseApp->Domains; for ($i = 0; $i < $obDomains->Count; $i++) { $domain = $obDomains[$i]; echo '<option value="' . $domain->Name . '">' . $domain->Name . '</option>'; } echo "</select>"; ?> <br/><br/><br/> <?php if (strlen($resultString) > 0) { echo "<i>"; echo $resultString; echo "</i>"; } ?> <input type="submit" value="<?php EchoTranslation("Start"); ?> "> </form> </div> </div>
</table> <h3> <?php EchoTranslation("Actions"); ?> <?php echo "(<a href=\"?page=rule_action&action=add&domainid={$domainid}&accountid={$accountid}&ruleid={$ruleid}\"><i>{$str_add}</i></a>)"; ?> </h3> <table border="0" width="100%" cellpadding="5"> <tr> <td width="80%"><i><?php EchoTranslation("Action"); ?> </i></td> <td width="20%"></td> </tr> <?php $Actions = $rule->Actions; $count = $Actions->Count; for ($i = 0; $i < $count; $i++) { $action = $Actions->Item($i); $actionid = $action->ID; $actionName = GetRuleActionString($action->Type); ?> <tr> <td width="25%"><?php echo "<a href=\"?page=rule_action&action=edit&domainid={$domainid}&accountid={$accountid}&ruleid={$ruleid}&actionid={$actionid}\">{$actionName}</a>";
<table border="0" width="100%" cellpadding="5"> <tr> <td width="10%"><?php EchoTranslation("Name"); ?> </td> <td width="70%"> <?php echo PreprocessOutput($messagename); ?> </td> </tr> <tr> <td><?php EchoTranslation("Text"); ?> </td> <td><textarea name="messagetext" rows="20" cols="100"><?php echo PreprocessOutput($messagetext); ?> </textarea> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
?> " size="4" checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Maximum number of recipients in batch"); ?> "></td> </tr> <tr> <td><?php EchoTranslation("Rule Loop Limit"); ?> </td> <td><input type="text" name="smtprulelooplimit" value="<?php echo $smtprulelooplimit; ?> " size="3" checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Rule Loop Limit"); ?> "></td> </tr> <?php PrintCheckboxRow("AddDeliveredToHeader", "Add Delivered-To header", $AddDeliveredToHeader); PrintPropertyEditRow("MaxNumberOfMXHosts", "Maximum number of recipient hosts", $MaxNumberOfMXHosts); ?> </table> </div> </div> <?php PrintSaveButton(); ?>
</tr> <tr> <td><?php EchoTranslation("SSL Certificate"); ?> </td> <td> <select name="SSLCertificateID" style="font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif"> <option value="0" <?php if ($SSLCertificateID == 0) { echo "selected"; } ?> ><?php EchoTranslation("None"); ?> </a> <?php $SSLCertificates = $obSettings->SSLCertificates; for ($i = 0; $i < $SSLCertificates->Count; $i++) { $SSLCertificate = $SSLCertificates[$i]; $id = $SSLCertificate->ID; $name = $SSLCertificate->Name; ?> <option value="<?php echo $id; ?> " <?php if ($id == "{$SSLCertificateID}") { echo "selected";
<td width="70%"> </td> </tr> <?php PrintCheckboxRow("IMAPSortEnabled", "Sort", $IMAPSortEnabled); PrintCheckboxRow("IMAPQuotaEnabled", "Quota", $IMAPQuotaEnabled); PrintCheckboxRow("IMAPIdleEnabled", "Idle", $IMAPIdleEnabled); PrintCheckboxRow("IMAPACLEnabled", "ACL", $IMAPACLEnabled); PrintCheckboxRow("IMAPSASLPlainEnabled", "SASL Plain", $IMAPSASLPlainEnabled); PrintCheckboxRow("IMAPSASLInitialResponseEnabled", "SASL Initial Client Response", $IMAPSASLInitialResponseEnabled); PrintPropertyEditRow("IMAPMasterUser", "IMAP Master user", $IMAPMasterUser); ?> <tr> <td><?php EchoTranslation("Hierarchy delimiter"); ?> </td> <td> <select name="IMAPHierarchyDelimiter" style="font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif"> <option value="." <?php if ($IMAPHierarchyDelimiter == ".") { echo "selected"; } ?> >.</option> <option value="\" <?php if ($IMAPHierarchyDelimiter == "\\") { echo "selected"; } ?>
?> </td> <td><input type="text" name="relaylowerip" value="<?php echo PreprocessOutput($relaylowerip); ?> " size="25" checkallownull="false" checktype="ipaddress" checkmessage="<?php EchoTranslation("Lower IP"); ?> "></td> </tr> <tr> <td><?php EchoTranslation("Upper IP"); ?> </td> <td><input type="text" name="relayupperip" value="<?php echo PreprocessOutput($relayupperip); ?> " size="25" checkallownull="false" checktype="ipaddress" checkmessage="<?php EchoTranslation("Upper IP"); ?> "></td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
$accountaddress_escaped = GetStringForJavaScript($accountaddress); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td width=\"60%\"><a href=\"?page=account&action=edit&domainid={$domainid}&accountid={$accountid}\">{$accountaddress}</a></td>"; echo "<td width=\"20%\">{$accountmaxsize}</td>"; echo "<td width=\"20%\">"; if ($currentaccountid != $accountid) { echo "<a href=\"javascript:ConfirmDelete('{$accountaddress_escaped}', '?page=background_account_save&action=delete&domainid={$domainid}&accountid={$accountid}')\">{$str_delete}</a>"; } else { "</td>"; } echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> <tr> <td> <br> <a href="?page=account&action=add&domainid=<?php echo $domainid; ?> "><i><?php EchoTranslation("Add"); ?> </i></a> </td> </tr> </table>
</select> </td> </tr> <tr> <td colspan="2"> <h3><?php EchoTranslation("Greylisting"); ?> </h3> </td> </tr> <tr> <td><?php EchoTranslation("Enabled"); ?> </td> <td> <input type="checkbox" name="domainantispamenablegreylisting" value="1" <?php echo $domainantispamenablegreylistingchecked; ?> > </td> </tr> </table> </div> </div> <?php PrintSaveButton();
</td> <td> <input type="radio" name="TreatRecipientAsLocalDomain" value="1" <?php if ($TreatRecipientAsLocalDomain == 1) { echo "checked"; } ?> > <?php EchoTranslation("A local domain"); ?> <br/> <input type="radio" name="TreatRecipientAsLocalDomain" value="0" <?php if ($TreatRecipientAsLocalDomain == 0) { echo "checked"; } ?> > <?php EchoTranslation("An external domain"); ?> </td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
</td> </tr> </table> </form> <form action="index.php" method="post" onSubmit="return formCheck(this);"> <?php PrintHidden("page", "scripts"); PrintHidden("action", "reloadscripts"); ?> <table border="0" width="100%" cellpadding="5"> <tr> <td colspan="1"> <br/> <input type="submit" value="<?php EchoTranslation("Reload scripts"); ?> "> </td> </tr> </table> </form> </div> </div>