403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/Forms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/Forms/SMTPServiceSettings.aspx
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Mondo/lang/sys/Controls/Dialog.Master" CodeBehind="SMTPServiceSettings.aspx.vb" Inherits="MailEnable.Clients.WebAdmin.SMTPServiceSettings" %>
<asp:Content ID="CustomHeader" ContentPlaceHolderID="CustomHeader" runat="server">

<script type="text/javascript" language="javascript">
    $(document).ready(function () {
        ME_TabInit();
        setActiveTab('tab1');
        browserResize();
    });

    function addRelayIP(event) {
        event.preventDefault();
        addIPToList('RelayIPs', 'smtpIPRelay');
    }
    function removeRelayIP(event) {
        event.preventDefault();
        removeIPFromList('RelayIPs', 'smtpIPRelay');
    }

    function addAccessIP(event) {
        event.preventDefault();
        addIPToList('AccessControl', 'smtpIPAccessAddresses');
    }
    function removeAccessIP(event) {
        event.preventDefault();
        removeIPFromList('AccessControl', 'smtpIPAccessAddresses');
    }

    var oIPAccessDlg = null;
    var oPortSettingsDlg = null;

    var oIPRelayDlg = null;
    var oOutboundAuthDlg = null;
    function ShowRelayIPs(event)
    {
        event.preventDefault();
        oIPRelayDlg.Show();
    }

    function ShowAccessIPs(event) {
        event.preventDefault();
        oIPAccessDlg.Show();
    }

    function removeBlockedAddress(event) {
        event.preventDefault();
        removeItemFromList(null, 'smtpBlockedAddresses','BLOCKEDADDRESS');
    }

    function addBlockedAddress(event) {
        event.preventDefault();
        addItemToList(null, 'smtpBlockedAddresses', 'BLOCKEDADDRESS', 'Please enter an email address to block');
    }

    function addGreylistException(event) {
        event.preventDefault();
        addItemToList(null, 'smtpGreylistingExceptions', 'GREYLIST', 'Please enter a domain or IP address mask');
    }

    function removeGreylistException(event) {
        event.preventDefault();
        removeItemFromList(null, 'smtpGreylistingExceptions', 'GREYLIST');
    }

    function ShowRelayAuthenticationMethod(event) {
        event.preventDefault();
        oOutboundAuthDlg.Show();
    }


    function NotImplemented(event) {
        event.preventDefault();
        alert('Not Implemented');
    }

    function ShowPortSettings(event) {
        event.preventDefault();
        $("#port_no").val('');
        $("#port_auth").attr("checked", false);
        $("#port_ssl").attr("checked", false);
        $("#port_authmode").val('');
        oPortSettingsDlg.Show(true);
    }

    function ClosePortSettings(event) {
        event.preventDefault();
        oPortSettingsDlg.Close();
    }

    function ShowReport(event) {
        event.preventDefault();
        NotImplemented(event);
    }

    $(document).ready(function () {
        $('#FormAction').click(SubmitSettings);

        $('#btnAuthenticationMethod').click(ShowRelayAuthenticationMethod);
        oOutboundAuthDlg = new Dialog("NewOutboundAuthDialog", 'Outbound Authentication', $("#divOutboundAuth"), { Width: 510 });
        oOutboundAuthDlg.AddAction('OK', function () { oOutboundAuthDlg.Close() });

        $('#btnShowRelayIPs').click(ShowRelayIPs);
        oIPRelayDlg = new Dialog("dlg_RelayIPs", 'Privileged IP Addresses', $("#divRelayIPs"), { Width: 510 });
        oIPRelayDlg.AddAction('OK', function () { oIPRelayDlg.Close() });
        $('#btnAddRelay').click(addRelayIP);
        $('#btnRemoveRelay').click(removeRelayIP);

        //access button and dialog
        $('#btnShowAccessIPs').click(ShowAccessIPs);
        oIPAccessDlg = new Dialog("dlg_IPAccess", 'Access IP Addresses', $("#divIPAccess"), { Width: 510 });
        oIPAccessDlg.AddAction('OK', function () { oIPAccessDlg.Close() });
        $('#btnAddIPAccess').click(addAccessIP);
        $('#btnRemoveIPAccess').click(removeAccessIP);

        $('#btnAddBlockedAddress').click(addBlockedAddress);
        $('#btnRemoveBlockedAddress').click(removeBlockedAddress);

        $('#btnAddGreylistException').click(addGreylistException);
        $('#btnRemoveGreylistException').click(removeGreylistException);

        setGridView('#tbldata_' + 'smtpAdditionalPorts');
        $('#btnAddPortSettings').click(function (ev) { ShowPortSettings(ev, 'smtpAdditionalPorts') });
        $('#btnRemovePort').click(function (ev) { RemovePort(ev, 'smtpAdditionalPorts') });
        //dialog buttons
        oPortSettingsDlg = new Dialog("dlg_smtpAdditionalPorts", 'Port Details', $("#divPortSettings"), { Width: 510 });
        $('#btnAddPortBinding').click(function (ev) { AddPortBinding(ev, 'smtpAdditionalPorts'); });
        $('#btnClosePortSettings').click(ClosePortSettings);


        $('#btnRemoveBlockedIP').click(RemoveBlockedIP);
        $('#btnShowReport').click(ShowReport);
        //oOutboundAuthDlg.AddAction('OK', function () { oOutboundAuthDlg.Close() });

    });


/*
      function doDynamicForm(event) {
        // create the form container if it does not exist (append it to the body, setting it as invisible)

        // make an ajax request to get the controls and render them into the container (passing the params when we load the controls)
        // eg: for the filterdetails form, we would pass the criteria params
        //so we end up with a list of controls that we can pass to function GenerateControls(oControls)
        event.preventDefault();

        var Controls = null;
        var gFilter = null; //uses tags to get controls
        FetchControls(GenerateControls, gFilter, "globalFilters", "", "myContainer");
        return false;
    }

    */
</script>
</asp:Content>

<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
<div class="popupWin_tab_body_shell">
<div id="TabContainer" class="ME_Tab_table_outter">
    <div class="ME_Tab_table_shell">
    <!-- Missing 
    Advanced
    Whilelist
    -->
    <table class="ME_Tab_table" border="0" cellpadding="0" cellspacing="0">
	    <tr>
		<th><span id="tab1" class="ME_Tab_button">General</span></th>
		<th><span id="tab4" class="ME_Tab_button">Inbound</span></th>
		<th><span id="tab3" class="ME_Tab_button">Greylisting</span></th>
		<th><span id="tab2" class="ME_Tab_button">Logging</span></th>
		<th><span id="tab6" class="ME_Tab_button">DNS Blacklisting</span></th>
		<th><span id="tab7" class="ME_Tab_button">Outbound</span></th>
		<th><span id="tab8" class="ME_Tab_button">Delivery</span></th>    
		<th><span id="tab9" class="ME_Tab_button">SPF</span></th>
		<th><span id="tab10" class="ME_Tab_button">Security</span></th>
	    </tr>
	</table>
    </div><!-- ME_Tab_table_shell -->
</div><!-- ME_Tab_table_outter -->
<div id="divPortSettings">
<table class="SettingsTable">
    <tr><td>Port:</td><td><input id="port_no"/></td></tr>
    <tr><td>SSL:</td><td><input type="checkbox" id="port_ssl"/></td></tr>
    <tr><td>Require Authentication:</td><td><input type="checkbox" id="port_auth"/></td></tr>
    <tr><td>Authentication Mode:</td><td><select id="port_authmode">
    <option value="Always">Always</option>
    <option value="Never">Never</option>
    <option value="Secure">Secure</option>
    </select></td></tr>
    <tr><td></td><td style='text-align: right'><button id="btnAddPortBinding">OK</button>&nbsp;<button id="btnClosePortSettings">Cancel</button></td></tr>
</table>
</div>
<div id="divRelayIPs"><form id="RelayIPs" name="RelayIPs" action=""><%MailEnable.Utilities.WriteFormValidationField(Response, Session.SessionID, Session.Item("ME_VALIDATIONTOKEN"))%><table class="SettingsTable"><%=RenderSettings("smtpRelayAccess smtpIPRelay")%><tr><td></td><td style='text-align: right'><button id="btnAddRelay">Add IP</button>&nbsp;<button id="btnRemoveRelay">Remove IP</button></td></tr></table></form></div>
<div id="divIPAccess"><form id="AccessControl" name="AccessControl" action=""><%MailEnable.Utilities.WriteFormValidationField(Response, Session.SessionID, Session.Item("ME_VALIDATIONTOKEN"))%><table class="SettingsTable"><%=RenderSettings("smtpIPAccess smtpIPAccessAddresses")%><tr><td></td><td style='text-align: right'><button id="btnAddIPAccess">Add IP</button>&nbsp;<button id="btnRemoveIPAccess">Remove IP</button></td></tr></table></form></div>

<form id="Settings" name="Settings" action=""><%MailEnable.Utilities.WriteFormValidationField(Response, Session.SessionID, Session.Item("ME_VALIDATIONTOKEN"))%>
<div class="popupWin_content_scroll_tab" id="popupWin_content_scroll_js">
	<div class="popupWin_content_scroll_tab_inner">
        <div id="tab1_body" class="ME_Tab_shell">	<!--START TAB 1-->
            <h3>DNS and Host Settings</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpLocalDomainName")%>
                <%=RenderSetting("smtpHostName")%>
                <%=RenderSetting("smtpLocalDNSServerList")%>
                <%=RenderSetting("smtpBadMailNotificationSenderAddress")%>
            </table>
            <br />
            <h3>Authentication Security Types</h3>
            <hr />
            <table class="SettingsTable">
            <tr>
                <%=RenderSetting("smtpNTLMAuthStatus")%>
                <%=RenderSetting("smtpCRAMMD5AuthStatus")%>
                <%=RenderSetting("smtpPLAINAuthStatus")%>
                <%=RenderSetting("smtpTLSStatus")%>
                 
            </table>
            <br />
            <h3>Drop Folder</h3>
            <hr />            
            <%=RenderLabels("labelDropFolder")%>
            <table class="SettingsTable">
                <%=RenderSetting("smtpDropFolderStatus")%>
                <%=RenderSetting("smtpDropFolderPath")%>
            </table>
            <br />
            <h3>Domain Keys</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpDomainKeysStatus")%>
            </table>
            <br />  

        </div>
        <div id="tab2_body" class="ME_Tab_shell">	<!--START TAB 1-->
            <h3>Debug Logging Settings</h3>
            <hr />
            <table class="SettingsTable">
            <%=RenderSetting("smtpDebugEnabled")%>
            <%=RenderSetting("smtpDebugLogLevel")%>
            <%=RenderSetting("smtpDebugLogFileDirectory")%>
            </table>
            <br />
            <h3>Activity Logging Settings</h3>
            <hr />
            <table class="SettingsTable">
            <%=RenderSetting("smtpActivityLogEnabled")%>
            <%=RenderSetting("smtpActivityLogDirectory")%>
            <%=RenderSetting("smtpAuditOutbound")%>            
            </table>
            <br />
            <h3>W3C Logging Settings</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpW3CLoggingEnabled")%>
                <%=RenderSetting("smtpW3CLoggingRolloverFrequency")%>
                <%=RenderSetting("smtpW3CLoggingDirectory")%>
            </table>
        </div>
        <div id="tab3_body" class="ME_Tab_shell">	<!--START TAB 3-->
            <h3>Greylisting</h3>
            <hr />
            <%=RenderLabels("labelGreylisting")%>
            <table class="SettingsTable">
                <%=RenderSetting("smtpGreylistIPAddresses")%>
                <%=RenderSetting("smtpGreylistEntryRetryDelay")%>
                <%=RenderSetting("smtpGreylistEntryExpirationTime")%>
                <%=RenderSetting("smtpGreylistIPAddressMode")%>
                <%=RenderSetting("smtpBypassGreylistingOnSPF")%>
                <%=RenderSetting("smtpAllowGreylistExceptions")%>
                <%=RenderSetting("smtpGreylistingExceptions")%>
                <tr><td>&nbsp;</td><td><button id='btnAddGreylistException'>Add..</button>&nbsp;<button id='btnRemoveGreylistException'>Remove</button></td></tr>

            </table>
        </div>
        <div id="divOutboundAuth">
        <table class="SettingsTable">
                <%=RenderSetting("smtpConnectorAuthenticationSource")%>
                <%=RenderSetting("smtpConnectorUsername")%>
                <%=RenderSetting("smtpConnectorPassword")%>
        </table>
        </div>
        <div id="tab4_body" class="ME_Tab_shell">	<!--START TAB 4-->
            <h3>Port Settings</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpListenPort")%>
                <%=RenderSetting("smtpListenPortSSLEnabled")%>
                <%=RenderSetting("smtpListenPortRelayMode")%>
                <%=RenderSetting("smtpListenPortAuthenticationMode")%>
                <%=RenderSetting("smtpAlternatePortEnabled")%>
                <%=RenderSetting("smtpAlternatePort")%>
                <%=RenderSetting("smtpAlternatePortSSLEnabled")%>
                <%=RenderSetting("smtpAlternatePortRelayMode")%>
                <%=RenderSetting("smtpAlternatePortAuthenticationMode")%>
                <%=RenderSetting("smtpAdditionalPorts")%>
                <tr><td></td><td><button id="btnAddPortSettings">Add Port</button>&nbsp;<button id="btnRemovePort">Remove Port</button></td></tr>
            </table>
            <br />
            <h3>Relay</h3>
            <hr />
            <%=RenderLabels("labelSMTPRelay")%>        
            <table class="SettingsTable">
                <%=RenderSetting("smtpAllowSMTPRelay")%>
                <%=RenderSetting("smtpAllowRelayForAuthenticatedSenders")%>
               <tr><td></td><td><button id='btnAuthenticationMethod'>Authentication Method..</button></td></tr>
                <%=RenderSetting("smtpAllowRelayForLocalSenderAddresses")%>
                <%=RenderSetting("smtpAllowRelayForPrivilegedIPRanges")%>
                <tr><td></td><td><button id='btnShowRelayIPs'>Privileged IPs..</button></td></tr>
                <%=RenderSetting("authPOPBeforeSMTP")%>
                <%=RenderSetting("authPOPBeforeSMTPTime")%>
            </table>
            <br />
            <h3>IP Address Access Restrictions</h3>
            <hr />
            <table class="SettingsTable">
                <tr><td>SMTP Access</td><td><button id='btnShowAccessIPs'>SMTP Access IPs..</button></td></tr>
            </table>
            <br />
            <h3>Inbound IP Bindings</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpbinding")%>
                <%=RenderSetting("smtpIPV6")%>
            </table>
            <br />
            <h3>Blocked E-Mail Addresses</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpBlockedAddresses")%>
                <tr><td>&nbsp;</td><td><button id='btnAddBlockedAddress'>Add..</button>&nbsp;<button id='btnRemoveBlockedAddress'>Remove</button></td></tr>
            </table>
            <br />
            <h3>Blocked IP Addresses</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpBlockReportedIPAddresses")%>
                <%=RenderSetting("smtpReportedIPAddressThreshold")%>
                <%=RenderSetting("smtpReportedIPAddressExpiration")%>
               <!-- <tr><td>&nbsp;</td><td><button id='btnRemoveBlockedIP'>Remove..</button>&nbsp;<button id='btnShowReport'>View Report..</button></td></tr>-->
            </table>
            <br />
            <h3>Advanced SMTP</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpAlternateCatchAllHeaderEnabled")%>
                <%=RenderSetting("smtpAlternateCatchAllHeader")%>
                <%=RenderSetting("smtpFixAuthenticatedSenderHeaders")%>                
                <%=RenderSetting("smtpRequireAuthenticationForLocalDelivery")%>
            </table>
            <br />
            <h3>SMTP Commands</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSettings("smtpCommandAUTH smtpCommandEHLO smtpCommandMAIL smtpCommandRCPT smtpCommandQUIT smtpCommandNOOP smtpCommandRSET smtpCommandHELO smtpCommandHELP smtpCommandTURN smtpCommandEXPN smtpCommandVRFY smtpCommandSOML smtpCommandSAML smtpCommandSEND smtpCommandDATA smtpCommandXCLIENT")%>
            </table>
            <br />
            <h3>Advanced Settings</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpMaximumRecvThreads")%>
                <%=RenderSetting("smtpSMTPInboundMessageSize")%>
                <%=RenderSetting("smtpEnforceInboundMessageSize")%>
            </table>
        </div>
        <div id="tab6_body" class="ME_Tab_shell">	<!--START TAB 6-->
            <h3>Reverse DNS Blacklist Settings</h3>
            <hr />
            <%=RenderLabels("labelRDNSBlacklisting")%>
            <table class="SettingsTable">
                <%=RenderSetting("smtpBlacklistEnabled")%>
                <%=RenderSetting("smtpBlacklistProcessingOrder")%>
                <%=RenderSetting("smtpRDNSHandlingMode")%>                
            </table>
            <br />  
            <h3>URL Blacklist Settings</h3>
            <hr />
            <%=RenderLabels("labelURLBlacklisting")%>
            <table class="SettingsTable">
                <%=RenderSetting("smtpSBLEnabled")%>
                <%=RenderSetting("smtpSBLProcessingOrder")%>
                <%=RenderSetting("smtpURISBLMode")%>
            </table>
        </div>
        <div id="tab7_body" class="ME_Tab_shell">	<!--START TAB 7-->
            <h3>Outbound Queue Processing</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpMaximumSendThreads")%>
                <%=RenderSetting("smtpCommandTimeout")%>
                <%=RenderSetting("smtpOutgoingPollInterval")%>
            </table>
            <br />
            <h3>Outbound Message Size</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpLimitOutboundMessageSize")%>
                <%=RenderSetting("smtpMaximumOutboundMessageSize")%>
            </table>
            <br />
            <h3>Whitelisting</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpWhitelistOutboundIPAddresses")%>
                <%=RenderSetting("smtpIPWhiteListingStatus")%>
            </table>
            <br />
            <h3>Outbound Binding</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpForceOutboundInterface")%>
                <%=RenderSetting("smtpOutboundInterface")%>
            </table>
            <h3>Outbound TLS</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpOutboundTLSMode")%>                
            </table>
            <br />
            <h3>Smart Hosting</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpForwardAllOutboundEnabled")%>
                <%=RenderSetting("smtpForwardAllOutboundHost")%>
                <%=RenderSetting("smtpOutboundAuthenticationStatus")%>
                <%=RenderSetting("smtpOutboundUsername")%>
                <%=RenderSetting("smtpOutboundPassword")%>                
                <%=RenderSetting("smtpSmartHostProcessingMode")%>
            </table>
        </div>
        <div id="tab8_body" class="ME_Tab_shell">	<!--START TAB 8-->
            <h3>Delivery Attempt Handling</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpFirstMessageRetryInterval")%>
                <%=RenderSetting("smtpSecondMessageRetryInterval")%>
                <%=RenderSetting("smtpThirdMessageRetryInterval")%>
                <%=RenderSetting("smtpSubsequentMessageRetryInterval")%>
                <%=RenderSetting("smtpOutboundFailedMessageLifetime")%>                
            </table>
            <br />
            <h3>Delay Notifications</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpNoDelayNotificationGeneration")%>
                <%=RenderSetting("smtpDelayNotificationTime")%>
            </table>
            <br />
            <h3>Failure Notifications</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpNoNDRGeneration")%>
                <%=RenderSetting("smtpNDRininbound")%>
                <%=RenderSetting("smtpNDRCopyTo")%>
            </table>
            <br />
            <h3>Outbound Throttling</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpRestrictConcurrentOutbound")%>
                <%=RenderSetting("smtpConcurrentOutboundLimit")%>
            </table>
        </div>
         <div id="tab9_body" class="ME_Tab_shell">	<!--START TAB 8-->
            <h3>Sender Policy Framework</h3>
            <hr />
            <%=RenderLabels("labelSPF")%>
            <table class="SettingsTable">
                <%=RenderSetting("smtpSPFEnabled")%>
                <%=RenderSetting("smtpSPFAction")%>
                <%=RenderSetting("smtpSPFUseTrustedForwarders")%>
                <%=RenderSetting("smtpSPFAllowBackupMX")%>
                <%=RenderSetting("smtpSPFPassLocalIPs")%>
                <%=RenderSetting("smtpSPFLocalPolicyStatus")%>
                <%=RenderSetting("smtpSPFLocalPolicy")%>
                <%=RenderSetting("smtpSPFBestGuessStatus")%>
                <%=RenderSetting("smtpSPFBestGuessPolicy")%>
            </table>
        </div>
         <div id="tab10_body" class="ME_Tab_shell">	<!--START TAB 8-->
            <h3>Security</h3>
            <hr />
            <table class="SettingsTable">
                <%=RenderSetting("smtpResolveSenderDomain")%>
                <%=RenderSetting("smtpSenderMustBeValid")%>
                <%=RenderSetting("smtpHideHeaderAddresses")%>
                <%=RenderSetting("smtpDisableCatchAlls")%>
                <%=RenderSetting("smtpAllowDomainLiterals")%>

                <%=RenderSetting("smtpEnforceInboundRecipientLimits")%>
                <%=RenderSetting("smtpMaximumInboundRecipients")%>

                <%=RenderSetting("smtpLocalSendersMustAuthenticate")%>

                <%=RenderSetting("smtpMaximumConversationErrors")%>
                <%=RenderSetting("smtpAutobanIPAddressesEnabled")%>
                <%=RenderSetting("smtpRequirePTR")%>

                <%=RenderSetting("smtpScrambleWelcomeEnabled")%>
                <%=RenderSetting("smtpWelcomeMessage")%>
            </table>
        </div>
        

    </div><!-- popupWin_content_scroll_tab_inner-->
</div><!-- popupWin_content_scroll_tab -->
</form>
<!-- Footer Bttns -->
<div class="popupWin_tab_foot" id="popupWin_foot_bttns_js">
    <button id="FormAction" class="ME_Button" style="cursor:pointer" name="action" type="submit">Save</button>
</div>
</div><!-- popupWin_tab_body_shell -->
</asp:Content>

Youez - 2016 - github.com/yon3zu
LinuXploit