Example #1
0
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 {
    ?>
                  <h3>&nbsp;&nbsp;<?php 
    EchoTranslation("Criteria");
Example #2
0
EchoTranslation("Advanced");
?>
</h2>      
	
       	<table border="0" width="100%" cellpadding="5">
            <tr>
               <td width="30%">
               </td>
               <td  width="70%">
               </td>
            </tr>
            <?php 
PrintCheckboxRow("IMAPSortEnabled", "IMAP Sort", $IMAPSortEnabled);
PrintCheckboxRow("IMAPQuotaEnabled", "IMAP Quota", $IMAPQuotaEnabled);
PrintCheckboxRow("IMAPIdleEnabled", "IMAP Idle", $IMAPIdleEnabled);
PrintCheckboxRow("IMAPACLEnabled", "IMAP ACL", $IMAPACLEnabled);
?>
            
      		<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>
Example #3
0
               <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);
?>
      		
      	</table>
      </div>
   </div>   
   <?php 
PrintSaveButton();
?>
     
</form>
Example #4
0
<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>
Example #5
0
         			<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>			
         		</tr>
               <?php 
PrintCheckboxRow("UseSSL", "Use SSL", $UseSSL);
?>
               
               <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 
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);
PrintCheckboxRow("RequireSSLTLSForAuth", "Require SSL/TLS for authentication", $RequireSSLTLSForAuth);
?>
  		  	
         </table>
      </div>
    </div>  
   <?php 
PrintSaveButton();
?>
</form>
Example #7
0
?>
</h2>         
   
      	<table border="0" width="100%" cellpadding="5">
         <tr>
            <th width="30%"></th>
            <th width="70%"></th>
         </tr>

         <?php 
PrintCheckboxRow("logenabled", "Enabled", $logenabled);
PrintCheckboxRow("logapplication", "Application", $logapplication);
PrintCheckboxRow("logsmtp", "SMTP", $logsmtp);
PrintCheckboxRow("logpop3", "POP3", $logpop3);
PrintCheckboxRow("logimap", "IMAP", $logimap);
PrintCheckboxRow("logdebug", "Debug", $logdebug);
PrintCheckboxRow("logtcpip", "TCP/IP", $logtcpip);
PrintCheckboxRow("logawstats", "AWStats", $logawstats);
PrintCheckboxRow("KeepFilesOpen", "Keep files open", $KeepFilesOpen);
?>
         
      	</table>
      </div>
   </div>
   
   <?php 
PrintSaveButton();
?>
   
</form>
Example #8
0
</h2>      
	
       	<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";
}
?>
					<br/>
					<br/>
					<div id="ExternalTestResult"></div>
				</td>
			 </tr>		
      </table>
     </div>
     
      <div class="tabbertab">
         <h2><?php 
EchoTranslation("Block attachments");
?>
</h2>        
         <table border="0" width="400" cellpadding="5">
            <?php 
PrintCheckboxRow("EnableAttachmentBlocking", "Block attachments with the following extensions:", $EnableAttachmentBlocking);
?>
         </table>
         
         <table border="0" width="400" cellpadding="5">
            <tr>
               <td><i><?php 
EchoTranslation("Name");
?>
</i></td>
               <td><i><?php 
EchoTranslation("Description");
?>
</i></td>
               <td><!-- delete column --></td>
            </tr>
Example #10
0
?>
      
   
   <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>
Example #11
0
?>
 >Idle</option>
         		   </select>
         		</td>
         	</tr>
      	</table>
      </div>
      <div class="tabbertab">
          <h2><?php 
EchoTranslation("Message indexing");
?>
</h2>            
         	<table border="0" width="100%" cellpadding="5">
         
            <?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");
         			<td><?php 
EchoTranslation("Retrieve date from Received header");
?>
</td>
         			<td>
         			   	<?php 
echo "<input type=\"checkbox\" name=\"ProcessMIMEDate\" value=\"1\" {$ProcessMIMEDateChecked}>";
?>
				
                  	</td>			
         		</tr>			
         		
               <?php 
PrintCheckboxRow("UseAntiSpam", "Anti-spam", $UseAntiSpam);
PrintCheckboxRow("UseAntiVirus", "Anti-virus", $UseAntiVirus);
PrintCheckboxRow("EnableRouteRecipients", "Allow route recipients", $EnableRouteRecipients);
?>
               
         		<tr>
         			<td colspan="2">
         				<table width="350">
         					<tr>
         						<td><input type="radio" name="DaysToKeepMessages" value="-1" <?php 
if ($DaysToKeepMessages == -1) {
    echo "checked";
}
?>
 ></td>
         						<td><?php 
EchoTranslation("Delete messages immediately");
?>
Example #13
0
?>
" 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>
Example #14
0
"></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>
Example #15
0
?>
			
      			</td>
           </tr>
   	</table>
   </div>
   
    <div class="tabbertab">
         <h2><?php 
EchoTranslation("DKIM Signing");
?>
</h2>   
      
         <table border="0" width="100%" cellpadding="5">
      		<?php 
PrintCheckboxRow("DKIMSignEnabled", $obLanguage->String("Enabled"), $DKIMSignEnabled);
PrintPropertyEditRow("DKIMPrivateKeyFile", $obLanguage->String("Private key file"), $DKIMPrivateKeyFile, 50);
PrintPropertyEditRow("DKIMSelector", $obLanguage->String("Selector"), $DKIMSelector, 20);
?>
            
            <tr>
               <td colspan="2">
                  Header method
               </td>
            </tr>
            <tr>
               <td>
                    <input type="radio" name="DKIMHeaderCanonicalizationMethod" value="1" <?php 
if ($DKIMHeaderCanonicalizationMethod == 1) {
    echo "checked";
}
Example #16
0
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>  
   <?php 
PrintSaveButton();
?>
</form>
Example #17
0
?>
         </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>
Example #18
0
						<option value="<?php 
echo CONNECTION_SECURITY_TLS;
?>
" <?php 
if ($ConnectionSecurity == CONNECTION_SECURITY_TLS) {
    echo "selected";
}
?>
 ><?php 
EchoTranslation("SSL/TLS");
?>
</a>
					</select></td>
				</tr>
               <?php 
PrintCheckboxRow("AllAddresses", "Deliver to all addresses", $AllAddresses);
?>
            	<tr>
            		<td><?php 
EchoTranslation("When sender matches route, treat sender domain as");
?>
</td>
            		<td>
                  <input type="radio" name="TreatSenderAsLocalDomain" value="1" <?php 
if ($TreatSenderAsLocalDomain == 1) {
    echo "checked";
}
?>
 > <?php 
EchoTranslation("A local domain");
?>
Example #19
0
      <?php 
if (hmailGetAdminLevel() != ADMIN_USER) {
    ?>
         <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>