<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Mondo/lang/sys/Controls/Dialog.Master" CodeBehind="PostofficeSettings.aspx.vb" Inherits="MailEnable.Clients.WebAdmin.PostofficeSettings" %>
<%If MailEnable.Features.IsEnterpriseInstalled() Then%> <%End If%> <%If MailEnable.Features.IsEnterpriseInstalled() Then%> <%End If%>
<%=GetTranslation("[ME_TXT-General]")%>ServicesAuth Policies Web Admin Web MailFeatures Restrictions Agents
<%MailEnable.Utilities.WriteFormValidationField(Response, Session.SessionID, Session.Item("ME_VALIDATIONTOKEN"))%> "/>

Integrated Windows Authentication


<%=RenderSetting("poWindowsAuthenticationEnabled")%> <%=RenderSetting("poMappedDomainEnabled")%> <%=RenderSetting("poMappedDomain")%> <%=RenderSetting("poUPNEnabled")%> <%=RenderSetting("poWindowsAccountAutoCreation")%> <%=RenderSetting("poForceValidWindowsCredentials")%>

Smart Hosting/Outbound Redirection


<%=RenderSetting("poSmarthostOutboundEnabled")%> <%=RenderSetting("poSmarthostOutboundHost")%> <%=RenderSetting("poSmarthostOutboundAuthenticationStatus")%> <%=RenderSetting("poSmarthostOutboundUsername")%> <%=RenderSetting("poSmarthostOutboundPassword")%> <%=RenderSetting("poSmarthostRouteBiasMode")%> <% If (MailEnable.Administration.GetProductVersion >= 11) Then %> <%=RenderSetting("poSmarthostOutboundIP")%> <% end if %>
<%If MailEnable.Features.IsProfessionalOrGreaterInstalled() Then%>

Facebook


<%=RenderLabels("labelFaceBookPostoffice")%> <%=RenderSetting("poFacebookStatus")%> <%=RenderSetting("poFacebookAppID")%> <%=RenderSetting("poFacebookAppSecret")%>
<% 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:
" sOut += "" End If Response.Write(sOut) End If %>
<%End If%> <%If MailEnable.Features.IsEnterpriseInstalled() Then%>

General


<%'=RenderSetting("poLocationReportingMode")%> <%=RenderSetting("poPostoffice-PostofficeRulesStatus")%> <%=RenderSetting("poPublicFolders")%> <%=RenderSetting("poWebMail-Public-Folders-Modification-Permitted")%> <%=RenderSetting("poMailbox-Quota-Status")%> <%=RenderSetting("poMailbox-Quota")%>
<%End If%> <%If MailEnable.Features.IsProfessionalOrGreaterInstalled() And (MailEnable.Administration.GetProductVersion >= 10) Then %>

Chat Jabber/XMPP


<%=RenderSetting("poRosterSource")%>
<%End If%>

Location Authentication Policies


<%=RenderLabels("labelGeoAuthPolicy")%> <%=RenderSetting("poGeo-Login-RestrictionType")%> <%=RenderSetting("poGeo-Login-Restriction")%>

Multi-Factor Authentication


<%=RenderLabels("labelMultiFactor")%> <%=RenderSetting("poTwoFactorStatus")%>
<%If MailEnable.Features.IsEnterpriseInstalled() Then%>
<%=RenderLabels("labelPostofficeServicesEnabled")%> <%=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 %>
<%End If%>

Mailboxes


<%=RenderSetting("poWebAdmin-CanEditMailboxes")%> <%=RenderSetting("poWebAdmin-MaxMailboxes")%> <%=RenderSetting("poWebAdmin-CanEditMailboxSize")%> <%=RenderSetting("poWebAdmin-DefaultMailboxSize")%>

Lists


<%=RenderSetting("poWebAdmin-CanEditLists")%> <%=RenderSetting("poWebAdmin-MaxLists")%> <%=RenderSetting("poWebAdmin-MaxListMembers")%>

Other


<%=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 %>

<%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 %>
<%If MailEnable.Features.IsEnterpriseInstalled() Then%>

Spam and Antivirus Settings


<%=RenderSetting("poSMTP-GreyListing")%> <%=RenderSetting("poRDNS")%> <%=RenderSetting("poAntivirus")%> <%=RenderSetting("poDelivery-DeliverToStatus")%> <%=RenderSetting("poMailbox-JunkReport-Status")%>
<%End If %> <%If MailEnable.Features.IsEnterpriseInstalled() Then%>

Mailbox Message Send Restrictions


<%=RenderSetting("poSMTP-Inbound-Message-UsageRestrictionEnabled")%> <%=RenderSetting("poSMTP-Inbound-Message-UsageRestriction")%>

Authentication


<%=RenderSetting("poLocalDeliveryRequiresAuthentication")%>

Quota Notification Agent


<%=RenderSetting("poPostoffice-Quota-Limit-Enabled")%> <%=RenderSetting("poPostoffice-Quota-LimitMB")%> <%=RenderSetting("poPostoffice-Quota-Notification-Threshold")%> <%=RenderSetting("poPostoffice-Quota-Notification-Mailbox")%>

Mailbox Cleanup Agent


<%=RenderSetting("poAgent-Purge-Postmaster-Inbox-Enabled")%> <%=RenderSetting("poAgent-Purge-Postmaster-Inbox-Value")%> <%=RenderSetting("poAgent-Purge-Postmaster-Inbox-DeleteUnread")%>

<%=RenderSetting("poAgent-Purge-Inbox-Enabled")%> <%=RenderSetting("poAgent-Purge-Inbox-Value")%> <%=RenderSetting("poAgent-Purge-Inbox-DeleteUnread")%>

<%=RenderSetting("poAgent-Purge-Sent-Enabled")%> <%=RenderSetting("poAgent-Purge-Sent-Value")%> <%=RenderSetting("poAgent-Purge-Sent-DeleteUnread")%>

<%=RenderSetting("poAgent-Purge-Junk-Enabled")%> <%=RenderSetting("poAgent-Purge-Junk-Value")%> <%=RenderSetting("poAgent-Purge-Junk-DeleteUnread")%>

<%=RenderSetting("poAgent-Purge-Deleted-Enabled")%> <%=RenderSetting("poAgent-Purge-Deleted-Value")%> <%=RenderSetting("poAgent-Purge-Deleted-DeleteUnread")%>
<%End If %>