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> </div> </div> <?php PrintSaveButton(); ?> </form>
<form action="index.php" method="post" onSubmit="return formCheck(this);"> <?php PrintHidden("page", "mirror"); PrintHidden("action", "save"); ?> <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("mirroremailaddress", "Mirror e-mail address", $mirroremailaddress, 40, "email"); ?> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
<table border="0" width="100%" cellpadding="5"> <tr> <td width="30%"> </td> <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>
<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("MaxIMAPConnections", "Maximum number of simultaneous connections (0 for unlimited)", $MaxIMAPConnections, 50); PrintPropertyEditRow("welcomeimap", "Welcome message", $welcomeimap, 50); ?> </table> </div> <div class="tabbertab"> <h2><?php EchoTranslation("Advanced"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <td width="30%"> </td> <td width="70%"> </td>
"></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(); ?> </form>
<form action="index.php" method="post" onSubmit="return formCheck(this);"> <?php PrintHidden("page", "autoban"); PrintHidden("action", "save"); ?> <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 PrintCheckboxRow("AutoBanOnLogonFailure", "Enabled", $AutoBanOnLogonFailure); PrintPropertyEditRow("MaxInvalidLogonAttempts", "Max invalid logon attempts", $MaxInvalidLogonAttempts, 4, "number"); PrintPropertyEditRow("MaxInvalidLogonAttemptsWithin", "Minutes before reset", $MaxInvalidLogonAttemptsWithin, 4, "number"); PrintPropertyEditRow("AutoBanMinutes", "Minutes to auto-ban", $AutoBanMinutes, 4, "number"); ?> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
PrintHidden("domainid", $domainid); PrintHidden("accountid", $accountid); PrintHidden("ruleid", $ruleid); ?> <div class="tabber"> <div class="tabbertab"> <h2><?php EchoTranslation("General"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <?php PrintPropertyEditRow("Name", "Name", $Name); PrintCheckboxRow("Active", "Active", $Active); PrintCheckboxRow("UseAND", "Use a AND", $UseAND); ?> </table> <?php if ($ruleid == 0) { echo "<div align=center>"; echo "<br/>"; echo $obLanguage->String("You must save the rule before you can edit criteria and actions."); echo "<br/>"; echo "<br/>"; echo "</div>"; } else { ?>
</table> </div> <div class="tabbertab"> <h2>SpamAssassin</h2> <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>
<form action="index.php" method="post" onSubmit="return formCheck(this);"> <?php PrintHidden("page", "pop3"); PrintHidden("action", "save"); ?> <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("maxpop3connections", "Maximum number of simultaneous connections (0 for unlimited)", $maxpop3connections); PrintPropertyEditRow("welcomepop3", "Welcome message", $welcomepop3); ?> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
?> </a> <option value="5" <?php if ($protocol == "5") { echo "selected"; } ?> ><?php EchoTranslation("IMAP"); ?> </a> </select> </td> </tr> <?php PrintPropertyEditRow("Address", "TCP/IP address", $Address, 15); ?> <tr> <td><?php EchoTranslation("TCP/IP port"); ?> </td> <td> <input type="text" name="portnumber" value="<?php echo PreprocessOutput($portnumber); ?> " checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("TCP/IP port"); ?> "> </td>
</table> </div> <div class="tabbertab"> <h2><?php EchoTranslation("Advanced"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr> <?php PrintPropertyEditRow("domainpostmaster", $obLanguage->String("Catch-all address"), $domainpostmaster, 40, "email"); ?> <tr> <td colspan="2"> <h3><?php EchoTranslation("Plus addressing"); ?> </h3> </td> </tr> <tr> <td><?php EchoTranslation("Enabled"); ?> </td>
?> <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 PrintCheckboxRow("Active", "Enabled", $Active); PrintPropertyEditRow("DNSHost", "DNS Host", $DNSHost); PrintPropertyEditRow("ExpectedResult", "Expected result", $ExpectedResult); PrintPropertyEditRow("RejectMessage", "Rejection message", $RejectMessage); PrintPropertyEditRow("Score", "Score", $Score, 5, "number"); ?> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
</div> <div class="tabbertab"> <h2><?php EchoTranslation("External virus scanner"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr> <?php PrintCheckboxRow("customscannerenabled", "Enabled", $customscannerenabled); PrintPropertyEditRow("customscannerexecutable", "Scanner executable", $customscannerexecutable, 60); PrintPropertyEditRow("customscannerreturnvalue", "Return value", $customscannerreturnvalue, 5, "number"); ?> <tr> <td colspan="2"> <input type="button" value="<?php EchoTranslation("Test"); ?> " onclick="testVirusScanner('External');"> <br/> <br/> <div id="ExternalTestResult"></div> </td> </tr> </table> </div>
</tr> <tr> <td valign="top"><?php EchoTranslation("Delivery threads"); ?> </td> <td><input type="text" name="maxdeliverythreads" value="<?php echo PreprocessOutput($maxdeliverythreads); ?> " checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Delivery threads"); ?> "></td> </tr> <?php PrintPropertyEditRow("MaxAsynchronousThreads", "Max number of asynchronous task threads", $MaxAsynchronousThreads, 4, "number"); ?> <tr> <td valign="top"><?php EchoTranslation("Worker thread priority"); ?> </td> <td> <select name="workerthreadpriority" style="font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif"> <option value="2" <?php if ($workerthreadpriority == "2") { echo "selected"; } ?> >Highest</option>
?> <div class="tabbertab"> <h2><?php EchoTranslation("Active Directory"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr> <?php PrintCheckboxRow("adenabled", "Enabled", $adenabled); PrintPropertyEditRow("addomain", "Domain", $addomain); PrintPropertyEditRow("adusername", "User name", $adusername); ?> </table> </div> <?php } if (GetHasRuleAccess($domainid, $accountid)) { ?> <div class="tabbertab"> <h2><?php EchoTranslation("Rules"); ?> </h2> <?php
<form action="index.php" method="post" onSubmit="return formCheck(this);"> <?php PrintHidden("page", "background_blocked_attachment_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"> <?php PrintPropertyEditRow("wildcard", "Wildcard", $wildcard, 10); PrintPropertyAreaRow("description", "Description", $description); ?> </table> </div> </div> <?php PrintSaveButton(); ?> </form>