<Wizard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<!-- ********************************************************************* -->
	<!--  Copyright (C) 2004-2006 Microsoft Corporation. All Rights Reserved.  -->
	<!-- ********************************************************************* -->

	<_locDefinition>
		<_locDefault _loc="locNone"/>
		<_locTag _loc="locNone" _locAttrData="ChangeDescription">Configuration</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title,Class,LogText">Object</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Rule</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Template</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">RestrictionType</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Option</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Setting</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text">String</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text">IssueLink</_locTag>
		<_locTag _loc="locNone" _locAttrData="Title">Report</_locTag>
		<_locTag _loc="locNone" _locAttrData="Title">Action</_locTag>
	</_locDefinition>

	<Configuration ConfigVersion="1.2.18.0" ConfigName="ExMFA Master Input File" LongNameStart="Microsoft Exchange Server" LongNameEnd="Mail Flow Analyzer" ShortName="Exchange Server Mail Flow Analyzer" DownloadURL="https://www.microsoft.com/Exchange/code/ExMFA" ArticleURL="http://go.microsoft.com/fwlink/?linkid=62737&amp;l={0}&amp;v=ExMFA.{1}&amp;id={2}" HelpFile="ExMFA.chm" RootHelpId="html\6f5c22ba-d082-4454-b54c-621376e88703.htm" CheckForUpdatesHelpId="html\6f5c22ba-d082-4454-b54c-621376e88703.htm" StartScanHelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm" ScanCompletedHelpId="html\b669b0b8-7dc2-42f2-a0cd-a60f543f5bb1.htm" SelectScanHelpId="html\18433076-93df-4cb8-b87a-721edf115362.htm" ChangeDescription="Aggiunto un passaggio per controllare le varianze dello stato del collegamento" ReferencedFiles="ExBPA.Transport.xml">

		<ObjectProcessor Name="Step" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.StepObjectProcessor"/>
		<ObjectProcessor Name="Panel" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.PanelObjectProcessor"/>
		<ObjectProcessor Name="Information" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.PanelObjectProcessor"/>
		<ObjectProcessor Name="Progress" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ProgressPanelObjectProcessor"/>
		<ObjectProcessor Name="Action" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor"/>
		<ObjectProcessor Name="Control" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor"/>
		<ObjectProcessor Name="IfResults" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.IfResultsObjectProcessor"/>
		<ObjectProcessor Name="Credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsObjectProcessor"/>
		<ObjectProcessor Name="Variable" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.VariableInfoObjectProcessor"/>
		<ObjectProcessor Name="DataGrid" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.DataGridObjectProcessor"/>
		<ObjectProcessor Name="RichTextBox" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.RichTextBoxObjectProcessor"/>

		<ObjectProcessor Name="Group" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor"/>
		<ObjectProcessor Name="Cache" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.CacheObjectProcessor"/>
		<ObjectProcessor Name="If" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.IfObjectProcessor"/>
		<ObjectProcessor Name="Resolve" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ResolveObjectProcessor"/>
		<ObjectProcessor Name="Enumerator" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EnumeratorObjectProcessor"/>
		<ObjectProcessor Name="Sleep" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.SleepObjectProcessor"/>
		<ObjectProcessor Name="Directory" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.DirectoryObjectProcessor"/>
		<ObjectProcessor Name="WMI" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.WMIObjectProcessor"/>
		<ObjectProcessor Name="Registry" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RegistryObjectProcessor"/>
		<ObjectProcessor Name="File" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.FileObjectProcessor"/>
		<ObjectProcessor Name="Perfmon" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PerfmonObjectProcessor"/>
		<ObjectProcessor Name="Pdh" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor"/>
		<ObjectProcessor Name="Metabase" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.MetabaseObjectProcessor"/>
		<ObjectProcessor Name="LookupAccount" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.LookupAccountObjectProcessor"/>
		<ObjectProcessor Name="Protocol" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.ProtocolObjectProcessor"/>
		<ObjectProcessor Name="Port" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PortObjectProcessor"/>
		<ObjectProcessor Name="Routing" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RoutingObjectProcessor"/>
		<ObjectProcessor Name="DNS" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.DNSObjectProcessor"/>
		<ObjectProcessor Name="LinkState" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.LinkStateObjectProcessor"/>
		<ObjectProcessor Name="RoutingInfo" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.RoutingInfoObjectProcessor"/>
		<ObjectProcessor Name="MdbAdmin" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MdbAdminObjectProcessor"/>
		<ObjectProcessor Name="MonadCommand" Assembly="ExBPA.ExchangeCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MonadCommandObjectProcessor"/>
		<ObjectProcessor Name="MonadData" Assembly="ExBPA.ExchangeCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MonadDataObjectProcessor"/>
		<ObjectProcessor Name="SmtpClient" Assembly="ExBPA.ExchangeCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.SmtpClientObjectProcessor"/>

		<ExtFunction Name="list-average" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="Average" Returns="Number" Parameters="String"/>
		<ExtFunction Name="list-sigma" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="Sigma" Returns="Number" Parameters="String"/>
		<ExtFunction Name="list-median" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="Median" Returns="Number" Parameters="String"/>
		<ExtFunction Name="list-max" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="ListMax" Returns="Number" Parameters="String"/>
		<ExtFunction Name="list-min" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="ListMin" Returns="Number" Parameters="String"/>
		<ExtFunction Name="list-percentile" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="ListPercentile" Returns="String" Parameters="String,Number"/>
		<ExtFunction Name="longest-starts-with" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="LongestStartsWith" Returns="String" Parameters="String,Any"/>
		<ExtFunction Name="regSetValue" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="RegSetValue" Returns="Boolean" Parameters="String,String,String,String"/>
		<ExtFunction Name="resolve" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ResolveObjectProcessor" Function="Resolve" Returns="String" Parameters="String"/>
		<ExtFunction Name="sdget" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.NTSD" Function="SdGet" Returns="Any" Parameters="String,String"/>
		<ExtFunction Name="setLabel" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="SetLabel" Returns="Boolean" Parameters="String"/>
		<ExtFunction Name="pack" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="Pack" Returns="String" Parameters="String"/>
		<ExtFunction Name="unpack" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="Unpack" Returns="String" Parameters="String,Number"/>
		<ExtFunction Name="command-switches" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="CommandSwitches" Returns="String" Parameters="Any"/>
		<ExtFunction Name="directory-lookup" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="DirectoryLookup" Returns="String" Parameters="String,String,String,String"/>
		<ExtFunction Name="control-value" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor" Function="ControlValue" Returns="String" Parameters="String[,String]"/>
		<ExtFunction Name="validate-credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsObjectProcessor" Function="ValidateCredentials" Returns="Boolean" Parameters="String"/>

		<ExtFormat Name="Ascii" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ExtFormat" Convert="ConvertBinaryToAscii"/>
		<ExtFormat Name="RoutingInfo" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.RoutingInfo" Display="Display"/>
		<ExtFormat Name="RoutingInfo" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ExtFormat" Convert="ConvertBinaryToString"/>
		<ExtFormat Name="LowerCase" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.CacheObjectProcessor" Convert="ToLower"/>
		<ExtFormat Name="Enum" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ExtFormat" Convert="ConvertToIntegerString"/>
		<ExtFormat Name="CIMDateTime" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ExtFormat" Convert="CIMDateTime"/>
		<ExtFormat Name="SortableDateTime" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ExtFormat" Convert="SortableDateTime"/>

		<ConfigPreprocessor Name="2 Credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsConfigPreprocessor"/>
		<IssueProcessor Name="Events" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EventProcessor"/>

		<Substitution Name="STEPNAMEPREFIX"></Substitution>

		<!-- Resource Strings which need to be localized -->
		<Resource>
		</Resource>

		<CustomReports>
			<Report Title="Panoramica" ArrangeByText="Area,Server" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Summary']"/>
			<Report Title="Cause principali" ArrangeByText="Area,Server" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@Error='Error' and @ReportIssue='RootCause']"/>
			<Report Title="Problemi di flusso della posta" ArrangeByText="Area,Server" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@Error='Error' and @ReportIssue='Issue']"/>
			<Report Title="Altri errori" ArrangeByText="Area,Server" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@Error='Error' and not(@ReportIssue)]"/>
			<Report Title="Avvisi" ArrangeByText="Area,Server" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@Error='Warning' and not(@ReportIssue='Summary')]"/>
			<Report Title="Consigli" ArrangeByText="Area,Server" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Recommendation']"/>
			<Report Title="Elementi informativi" ArrangeByText="Area,Server" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[(@Error='None' or @Error='NonDefault') and not(@ReportIssue)]"/>
		</CustomReports>

		<Template Name="tEvtAdjustGMTinSec" Query="if(contains($.,'+'),(substring-after($.,'+') * 60),if(contains($.,'-'),(substring-after($.,'-') * -60),0))"/>
		<Template Name="tExFileNewer" Query="substring($., 5, 4) &gt; $iFileVersionStore" Error="Warning" Sev="3" Title="Rilevato file {5} aggiornato" Text="La versione del file {5} sul server {2} è più recente della versione di Exchange installata. È probabile che sia un aggiornamento del software. Versione del file installato: {6}." S2="%varExName%" P6="$." GUID="5104a6a0-6c8d-4bf9-b056-6ed42faf8a92"/>
		<Template Name="tExFileOlder" Query="substring($., 5, 4) &lt; @S9" Error="Error" Sev="2" Title="Rilevato file {5} precedente" Text="La versione del file {5} sul server {2} è precedente alla versione di Exchange installata. Potrebbero verificarsi problemi di affidabilità. Versione del file installato: {6}." S2="%varExName%" P6="$." S9="%varExVersionNumber%"/>
		<Template Name="tInhBlockConfig" Query="boolean(bitwise-and(sdget('Control', $.),4096))" Error="Error" Sev="1" Title="Blocco dell'ereditarietà delle autorizzazioni" Text="L'ereditarietà degli elenchi ACL è bloccata per &quot;{3}&quot;. Ciò potrebbe causare problemi di flusso della posta, di installazione dell'archivio e l'interruzione di altri servizi. Consultare l'articolo 264733 della Microsoft Knowledge Base e utilizzare il programma Siti e servizi di Active Directory per abilitare nuovamente l'ereditarietà in questo oggetto." S3="%DN%" GUID="d6d352bd-68a6-4270-b522-ea4dded1b7c1"/>
		<Template Name="tRemotePingSuccess" Query="$.=0" Error="None" Title="Ping riuscito" Text="Il ping (Disattivazione della frammentazione = '{3}' e dimensione del buffer = {9}) dal server {2} al server remoto {1} è riuscito." S1="%SERVERLONGNAME%" S2="%varExName%"/>
		<Template Name="tRemotePingRequestTimedOut" Query="$.=11010" Error="Warning" Sev="2" Title="Richiesta ping scaduta" Text="Il ping (Disattivazione della frammentazione = '{3}' e dimensione del buffer = {9}) dal server {2} al server remoto {1} è scaduto. Verificare se il server è operativo o meno." S1="%SERVERLONGNAME%" S2="%varExName%" GUID="6c28d83b-45a7-4f66-bc9e-5a2427e8ae83"/>
		<Template Name="tRemotePingPacketTooBig" Query="$.=11009" Error="Error" Sev="2" ReportIssue="Issue" Title="È probabile che la Dimensione unità massima di trasmissione (MTU) sia troppo piccola" Text="Il ping (Disattivazione della frammentazione = '{3}' e dimensione del buffer = {9}) dal server {2} al server remoto {1} non è riuscito. Pacchetto troppo grande. Indica che le dimensioni dell'unità massima di trasmissione (MTU) potrebbero essere troppo ridotte." S1="%SERVERLONGNAME%" S2="%varExName%" GUID="6c28d83b-45a7-4f66-bc9e-5a2427e8ae83"/>
		<Template Name="tRemotePingOtherError" Error="Warning" Sev="2" Title="Ping non riuscito" Text="Il ping (Disattivazione della frammentazione = '{3}' e dimensione del buffer = {9}) dal server {2} al server remoto {1} non è riuscito. Verificare se il server è operativo o meno." S1="%SERVERLONGNAME%" S2="%varExName%" GUID="6c28d83b-45a7-4f66-bc9e-5a2427e8ae83"/>
		<Template Name="tSMTPProxyRunning" Query="starts-with($.[2],'Respond = 220') and contains(upper-case($.[2]), @S4)" Error="Error" Sev="3" ReportIssue="Issue" Title="Rilevato possibile proxy SMTP ({0})" Text="Il server {2} potrebbe essere posizionato dietro un dispositivo {0} con la funzionalità proxy SMTP abilitata. Verificare la configurazione e assicurarsi che non stia bloccando messaggi legittimi. Si consiglia di disattivare il proxy SMTP se si verificano gravi problemi di recapito della posta. {1}" P1="replace($.[2], ',$', '')" S2="%varExName%" GUID="80f59e9e-8d83-4120-bd29-5e8463df05e0"/>
		<Template Name="tDSN" Query="contains($.,@S4)" Error="Warning" Sev="2" Title="Codice {4} della notifica sullo stato del recapito di Exchange {6}" S6="2000/2003"/>
		<Template Name="tDirectoryException" Query="../Exception/@Message" Title="Errore durante l'accesso ad Active Directory" Text="Errore '{0}' durante l'accesso ad Active Directory."/>
		<Template Name="tWmiException" Query="../Exception/@Message" Title="Errore durante l'accesso a WMI" Text="Errore '{0}' durante l'accesso all'archivio di Strumentazione gestione Windows (WMI)."/>
		<Template Name="tRegistryException" Query="../Exception/@Message" Title="Errore durante l'accesso al Registro di sistema" Text="Errore '{0}' durante l'accesso al Registro di sistema."/>
		<Template Name="tMetabaseException" Query="../Exception/@Message" Title="Errore durante l'accesso alla metabase" Text="Errore '{0}' durante l'accesso alla metabase."/>
		<Template Name="tPdhException" Query="../Exception/@Message" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori di prestazioni sul server {2}. Messaggio di errore: {1}." P1="../Exception/@Message"/>
		<Template Name="tMonadException" Query="../Exception/@Message" Title="Errore durante l'esecuzione del comando" Text="Errore '{0}' durante l'esecuzione del comando."/>
		<Template Name="tGenericException" Query="../Exception/@Message" Title="Errore di runtime" Text="Errore '{0}' durante l'esecuzione."/>
	</Configuration>

	<!-- ****************************************************************************************************************** -->
	<!-- The User Input Data Gathering Steps -->
	<!-- ****************************************************************************************************************** -->

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ReadConfigurationStep" Title="Recupero dati dalla workstation di esecuzione" Display="Left" SkipSave="True">
		<Object Type="Action" HelpId="html\6f5c22ba-d082-4454-b54c-621376e88703.htm">
			<Object Type="Group" Name="Executing Workstation">
				<Object Type="If" Key1="true()" Display="HideAll">
					<Setting Key1="'1'" SQM="91;Set"/>
				</Object>
				<Setting Key1="Variables">
					<Rule Name="szSymptom0" Query="string(@Title)" Title="Gli utenti ricevono rapporti di mancato recapito non previsti durante l'invio di messaggi">
						<Variable Name="varSymptom[0]" Scope="Children"/>
					</Rule>
					<Rule Name="szSymptom1" Query="string(@Title)" Title="I messaggi previsti dai mittenti arrivano in ritardo o non vengono ricevuti da alcuni destinatari">
						<Variable Name="varSymptom[1]" Scope="Children"/>
					</Rule>
					<Rule Name="szSymptom2" Query="string(@Title)" Title="I messaggi per i destinatari arrivano in ritardo o non vengono ricevuti da alcuni destinatari">
						<Variable Name="varSymptom[2]" Scope="Children"/>
					</Rule>
					<Rule Name="szSymptom3" Query="string(@Title)" Title="Si sta eseguendo il backup dei messaggi in una o più code in un server">
						<Variable Name="varSymptom[3]" Scope="Children"/>
					</Rule>
					<Rule Name="szSymptom4" Query="string(@Title)" Title="I messaggi inviati dagli utenti sono in attesa di invio nei relativi server delle cassette postali (solo per Exchange Server 2007)">
						<Variable Name="varSymptom[4]" Scope="Children"/>
					</Rule>
					<Rule Name="szSymptom5" Query="string(@Title)" Title="Problemi con la sincronizzazione del server Edge con Active Directory (solo per Exchange Server 2007)">
						<Variable Name="varSymptom[5]" Scope="Children"/>
					</Rule>
					<Rule Name="szDC" Query="if($szDCSpecified,string($szDCSpecified),string($szDCDetected))" AlwaysEvaluate="True">
						<Variable Name="varDefDCName" Scope="Global"/>
					</Rule>
					<Rule Name="szExName" Query="if($szServerSpecified,string($szServerSpecified),'')" AlwaysEvaluate="True">
						<Variable Name="varDefExName" Scope="Global"/>
					</Rule>
					<Rule Name="szExGWName" Query="if($szExGWSpecified,string($szExGWSpecified),'')" AlwaysEvaluate="True">
						<Variable Name="varDefExGWName" Scope="Global"/>
					</Rule>
					<Rule Name="szGWName" Query="if($szGWSpecified,string($szGWSpecified),'')" AlwaysEvaluate="True">
						<Variable Name="varDefGWName" Scope="Global"/>
					</Rule>
					<Rule Name="szGWSMTP" Query="if($szGWSMTPPort,string($szGWSMTPPort),'25')" AlwaysEvaluate="True">
						<Variable Name="varDefGWSMTPPort" Scope="Global"/>
					</Rule>
					<!-- Initializing with a null value for now as we may not want to store an e-mail address in the registry -->
					<Rule Name="szEmpty" Query="string()">
						<Variable Name="varDefTestMailAddress" Scope="Global"/>
						<Variable Name="varDefOutboundSenderAddress" Scope="Global"/>
						<Variable Name="varDefOutboundRecipAddress" Scope="Global"/>
					</Rule>
					<Rule Name="szMailFrom" Query="string('ExMFA-MailAcceptTest@Fabrikam.com')">
						<Variable Name="varDefTestMailFromAddress" Scope="Global"/>
					</Rule>
					<Rule Name="fSkipInfoSteps" Query="if($szSkipInformationalSteps='1','1','0')" AlwaysEvaluate="True">
						<Variable Name="varContinueRun" Scope="Children"/>
					</Rule>
				</Setting>
				<Object Type="WMI" Key1="" Key3="Win32_OperatingSystem">
					<Setting Key1="OSLanguage">
						<Rule Name="fNonEnglishOS" Query="$.!=1033">
							<Variable Name="varNonEnglishOS" Scope="Children"/>
						</Rule>
					</Setting>
					<Setting Key1="LocalDateTime" Format="CIMDateTime">
						<Rule Name="dCurrentDateTime" Query="$.">
							<Variable Name="varCurrentDateTime" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Registry" Key1="" Key2="HKEY_CURRENT_USER" Key3="Software\Microsoft\Exchange\ExMFA">
					<Setting Key1="DCSpecified">
						<Rule Name="szDCSpecified" Query="$."/>
					</Setting>
					<Setting Key1="DCDetected">
						<Rule Name="szDCDetected" Query="$."/>
					</Setting>
					<Setting Key1="ServerSpecified">
						<Rule Name="szServerSpecified" Query="$."/>
					</Setting>
					<Setting Key1="ExGatewaySpecified">
						<Rule Name="szExGWSpecified" Query="$."/>
					</Setting>
					<Setting Key1="GatewaySpecified">
						<Rule Name="szGWSpecified" Query="$."/>
					</Setting>
					<Setting Key1="GatewaySMTPPort">
						<Rule Name="szGWSMTPPort" Query="$."/>
					</Setting>
					<Setting Key1="SkipInformationalSteps">
						<Rule Name="szSkipInformationalSteps" Query="$."/>
					</Setting>
				</Object>
				<Object Type="Metabase" Key1="" Key2="LM/">
					<Rule Name="fMetabaseClientMissing" Query="if(../Exception/@HResult = -2147221164,1,0)">
						<Variable Name="varNoMetabaseClient" Scope="Children"/>
					</Rule>
				</Object>
				<Rule NextStep="SelectSymptom" Name="fGotoSelectSymptom" Query="true()"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SelectSymptom" Title="Seleziona sintomo" Text="Sintomi" Display="Left" SkipSave="True">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varSymptom%" Substitution="varSymptom" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varNoMetabaseClient%" Substitution="varNoMetabaseClient" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Strumento di risoluzione dei problemi del flusso di posta di Exchange"/>
				<Object Type="Control" SubType="Label" Name="labelLabel" Position="Below" Width="250" Text="Immettere un'etichetta di identificazione per l'analisi:"/>
				<Object Type="Control" SubType="TextBox" Name="Label" Position="265," Width="531" Default="" Display="Hide">
					<Setting Key1="LabelName">
						<Rule Name="fSetLabelToServerName" Query="if(string-length($.) &gt; 0, setLabel($.))"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="TopLine" Position="At(labelLabel),After(labelLabel)"/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="Sintomi riscontrati."/>
				<Object Type="Control" SubType="ComboBox" Name="Symptoms" Position="Below" Width="780" Default="%varSymptom%">
					<Setting Key1="SelectedIndex">
						<Rule Name="szSelSymptom" Query="slice('NDR,Inbound,Outbound,Queue,MailboxSubmission,EdgeSyncTroubleshooter',',',$.)" AlwaysEvaluate="True">
							<Variable Name="varSelSymptom" Scope="Children"/>
						</Rule>
						<Rule NextStep="GetServerInfo" Name="fGotoGetServerInfo" Query="$.='0' or $.='1' or $.='2' or $.='3' or $.='4' or $.='5'"/>
						<Rule Name="fSQMNDR" Query="$.='0'" SQM="106;Set"/>
						<Rule Name="fSQMInbound" Query="$.='1'" SQM="107;Set"/>
						<Rule Name="fSQMOutbound" Query="$.='2'" SQM="108;Set"/>
						<Rule Name="fSQMQueue" Query="$.='3'" SQM="109;Set"/>
						<Rule Name="fSQMMailboxSubmission" Query="$.='4'" SQM="110;Set"/>
						<Rule Name="fSQMEdgeSyncTroubleshooter" Query="$.='5'" SQM="111;Set"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="MiddleLine" Position="LeftBelow"/>
				<Object Type="Control" SubType="CheckBox" Name="ContinueRun" Position="Below" Text="Nascondi visualizzazione informativa" Default="%varContinueRun%">
					<Setting Key1="Checked">
						<Rule Name="iContinueRun" Query="$.">
							<Variable Name="varContinueRun" Scope="Local"/>
						</Rule>
						<Rule Name="fSetContinueRun" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExMFA','SkipInformationalSteps',$.)"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="label6" Position="Below" Text="Se si seleziona questa opzione i risultati dell'analisi dettagliata verranno nascosti fino al termine dell'analisi."/>

				<Object Type="If" Key1="'%varNoMetabaseClient%'='1'" Display="Hide">
					<Object Type="Control" SubType="Label" Name="nometa" Position="LeftBelow" Text="Avviso: i file comuni di Internet Information Services non risultano installati su questo computer. Le capacità di risoluzione dei problemi per Exchange 2000 Server ed Exchange Server 2003 saranno limitate." ForeColor="Red"/>
				</Object>

				<Object Type="Control" SubType="GradiatedBox" Name="BottomLine" Position="LeftBelow"/>
				<Object Type="Control" SubType="Link" Name="Step0" Position="IndentBelow" Percent="20" Text="Avanti"/>

			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetDSNCode" Title="Codice notifica sullo stato del recapito" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varIsExchange2000or2003%" Substitution="varIsExchange2000or2003" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Setting Display="Hide">
					<Rule NextStep="DisplayResultsStep" Name="fDisplayDSNCauseStep" Query="@S1='0' and not($fNotValidDSN)" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="InputErrors" Name="fInputErrorsGetDSNCode" Query="$fNotValidDSN" Error="Error" Priority="2" Text="Non è stato fornito alcun codice di notifica sullo stato del recapito valido"/>
					<!-- Further investigation for DSN 5.5.0 -->
					<Rule NextStep="CheckDNSAvailability" Name="fDSN550GotoDNSAvilability" Query="($fDSN550 or $fe12DSN550) and not($fNotValidDSN)" Priority="3" Text="- Verificare la disponibilità del DNS" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckDNSRecords" Name="fDSN550GotoDNSRecords" Query="($fDSN550 or $fe12DSN550) and not($fNotValidDSN)" Priority="4" Text="- Verificare se è possibile recuperare i record necessari dai server DNS" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="ScanE12MessageTracking" Name="fGotoScanE12MessageTracking" Query="'%varIsExchange12%'='1'" Priority="5" Text="- Analizza il registro di verifica alla ricerca di eventi di errore che corrispondano al codice di notifica sullo stato del recapito fornito" Display="Hide" AlwaysEvaluate="True"/>
				</Setting>

				<Rule Name="szGetDSNCode" Query="'GetDSNCode'">
					<Variable Name="varPreviousName" Scope="Children"/>
				</Rule>
				<Rule Name="szDSNErrorStateText" Query="if($fNotValidDSN,string(@Title),$szDSNNoErrorStateText)" Title="Sono stati trovati uno o più errori." AlwaysEvaluate="True">
					<Variable Name="varErrorStateText" Scope="Global"/>
				</Rule>
				<Rule Name="szDSNNoErrorStateText" Query="string(@Title)" Title="Sono state identificate le possibili cause della notifica sullo stato del recapito."/>
				<Rule Name="szDSNTestResult" Query="string(@Title)" Title="Risultati analisi notifica sullo stato del recapito">
					<Variable Name="varDisplayTitle" Scope="Global"/>
				</Rule>
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Immettere il codice di notifica sullo stato del recapito"/>
				<Object Type="Control" SubType="Label" Name="label" Position="Below" Text="Questo strumento consente di identificare le possibili cause dei problemi di flusso della posta in base al codice di notifica sullo stato del recapito descritto nel rapporto di mancato recapito. Tale codice può essere identificato individuando un numero in formato 4.X.X o 5.X.X in un rapporto di mancato recapito."/>

				<Object Type="Control" SubType="Label" Name="DSNLabel" Position="LeftBelow" Text="Codice notifica sullo stato del recapito"/>

				<!-- Prompt the user to input the DSN code -->
				<Object Type="Group" Name="Delivery Status Notification" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="If" Name="Exchange 2000 and Exchange 2003 DSN Codes" Key1="'%varIsExchange2000or2003%' = '1'">
						<Object Type="Control" SubType="ComboBox" Name="DSN" Position="Below" Default="{5}4.3.1{5}4.3.2{5}4.4.1{5}4.4.2{5}4.4.6{5}4.4.7{5}4.4.9{5}4.6.5{5}5.0.0{5}5.1.0{5}5.1.1{5}5.1.2{5}5.1.3{5}5.1.4{5}5.1.6{5}5.1.7{5}5.2.1{5}5.2.2{5}5.2.3{5}5.3.0{5}5.3.3{5}5.3.5{5}5.4.0{5}5.4.4{5}5.4.6{5}5.4.8{5}5.5.0{5}5.5.2{5}5.5.3{5}5.6.3{5}5.7.1" Width="200">
							<Setting Key1="DSNNumber">
								<Rule Name="fDSN431" Template="tDSN" Text="{4}: Questo codice può essere causato da un problema di risorse, come una condizione di disco pieno. Questo codice può essere visualizzato anche se la coda SMTP si trova in una partizione FAT e se il servizio ha raggiunto il limite imposto da Windows sul numero di handle di file contemporanei che possono essere aperti dal servizio SMTP. In tal caso, invece di ricevere un errore di disco pieno, potrebbe venire visualizzato un errore di memoria insufficiente." S4="4.3.1"/>
								<Rule Name="fDSN432" Template="tDSN" Text="{4}: Il messaggio non è stato recapitato a causa dell'azione dell'amministratore attraverso l'interfaccia del Visualizzatore code nel Gestore di sistema di Exchange." S4="4.3.2"/>
								<Rule Name="fDSN441" Template="tDSN" Text="{4}: L'host non risponde. Questo codice può essere causato da condizioni di rete temporanee. Exchange ritenterà automaticamente di connettersi e recapitare il messaggio. Se dopo più tentativi non sarà possibile effettuare il recapito, verrà generato un rapporto di mancato recapito con errore permanente." S4="4.4.1"/>
								<Rule Name="fDSN442" Template="tDSN" Text="{4}: la connessione tra server è stata interrotta. Questo codice può essere generato da problemi di rete temporanei o da server inattivi. Il server tenta di recapitare il messaggio per un determinato periodo di tempo, quindi genera altri rapporti sullo stato." S4="4.4.2"/>
								<Rule Name="fDSN446" Template="tDSN" Text="{4}: è stato superato il numero massimo di hop per il messaggio. Questo codice può essere provocato da una condizione di loop esistente tra i server mittente e ricevente che non si trovano nella stessa organizzazione. In questo scenario, viene effettuato il bounce del messaggio da un server all'altro fino al superamento del numero massimo di hop. Il numero massimo di hop è una proprietà impostata per ogni server virtuale ed è possibile sostituirla manualmente (l'impostazione predefinita è 15 per Exchange 2000 Server e 30 per Exchange Server 2003). È inoltre necessario verificare la presenza di situazioni che possono causare loop tra i server." S4="4.4.6"/>
								<Rule Name="fDSN447" Template="tDSN" Text="{4}: il messaggio nella coda è scaduto. Il server di invio ha tentato di inoltrare o recapitare il messaggio, ma l'operazione non è stata completata prima della scadenza del messaggio. Questo rapporto di mancato recapito può indicare che è stato raggiunto un limite di intestazione del messaggio su un server remoto o che si è verificato un altro timeout di protocollo durante la comunicazione con il server remoto. Questo codice indica in genere un problema sul server ricevente. Verificare la validità dell'indirizzo del destinatario e che il server ricevente sia configurato correttamente per la ricezione dei messaggi." S4="4.4.7"/>
								<Rule Name="fDSN449" Template="tDSN" Text="{4}: questo codice indica che si è verificato un errore di routing temporaneo o che esiste una configurazione di routing errata. Questo problema può verificarsi in uno o in entrambi gli scenari seguenti: a) un connettore SMTP (Simple Mail Transfer Protocol) è configurato per l'utilizzo di DNS senza uno SmartHost, oltre che per l'utilizzo di uno spazio indirizzo di tipo non SMTP, ad esempio uno spazio indirizzo X.400; b) è stato inviato un messaggio a un destinatario identificato come membro di un gruppo di routing che è stato eliminato. Se il problema persiste, utilizzare lo strumento WinRoute per esaminare i gruppi di routing nel riquadro di visualizzazione albero, quindi esaminare gli spazi indirizzo della route seguita dal messaggio relativo al problema." S4="4.4.9"/>
								<Rule Name="fDSN465" Template="tDSN" Text="{4}: questo codice viene generato quando la conversione di un SMTP in ingresso non riesce in quanto la tabella codici specificata nel messaggio non è installata sul server ricevente. La notifica sullo stato del recapito contiene solo le intestazioni del messaggio originale. Non viene fornita alcuna parte del contenuto originale. Risoluzione dei problemi: visualizzare l'intestazione del messaggio originale. Accertarsi che i file della lingua necessari siano installati sul server che riceve il messaggio." S4="4.6.5"/>
								<Rule Name="fDSN500" Template="tDSN" Text="{4}: Esistono molte cause possibili per questo codice. 1)Nessuna route disponibile per lo spazio indirizzo specificato. Ad esempio, un connettore SMTP è configurato, ma l'indirizzo non corrisponde. 2)Il DNS ha restituito un host attendibile non trovato per il dominio. 3)Il gruppo di routing non dispone di un connettore definito. La posta da un server in un gruppo di routing non dispone di una route verso un altro gruppo di routing. 4)Errore di protocollo SMTP." S4="5.0.0"/>
								<Rule Name="fDSN510" Template="tDSN" Text="{4}: questo codice indica un errore generale relativo al classificatore (errore di indirizzo non valido). Impossibile trovare un indirizzo di posta o un altro attributo nella directory. Questo problema può verificarsi se per le voci dei contatti non è stato impostato l'attributo 'targetAddress'. Questo problema si verifica più di frequente quando il classificatore riceve errori di 'oggetto non trovato' nel tentativo di recuperare la proprietà 'homeMDB'. Un'altra possibile causa è che l'account 'System' locale non dispone di autorizzazioni sufficienti per la lettura dell'attributo 'homeMDB'. Risoluzione dei problemi: verificare che l'indirizzo del destinatario sia formattato correttamente e inviare nuovamente il messaggio. Verificare l'eredità delle autorizzazioni sugli oggetti directory di Exchange." S4="5.1.0"/>
								<Rule Name="fDSN511" Template="tDSN" Text="{4}: esistono diverse possibili cause per la generazione di questo codice. Una delle cause più comuni è rappresentata da un account di posta inesistente presso l'organizzazione a cui il messaggio è stato inviato. Questo problema può verificarsi quando gli utenti vengono spostati da una sede all'altra. Ad esempio, se un utente viene spostato su un server in un gruppo amministrativo diverso e quindi risponde a un vecchio messaggio oppure se l'utente non crea nuovamente il proprio profilo di Outlook, viene utilizzato l'indirizzo legacy del gruppo amministrativo precedente e viene generato un rapporto di mancato recapito. Risoluzione dei problemi: verificare che l'indirizzo del destinatario sia formattato correttamente e inviare nuovamente il messaggio." S4="5.1.1"/>
								<Rule Name="fDSN512" Template="tDSN" Text="{4}: questo codice può essere generato se l'attributo 'legacyExchangeDN' dell'oggetto destinatario è vuoto o contiene un valore non valido. È possibile che si sia verificato un problema con il Servizio aggiornamento destinatari oppure uno strumento di generazione indirizzi di terze parti non è in grado di compilare l'attributo. Risoluzione dei problemi: verificare che l'attributo 'legacyExchangeDN' del destinatario che presenta questo problema contenga il valore corretto." S4="5.1.2"/>
								<Rule Name="fDSN513" Template="tDSN" Text="{4}: sintassi indirizzo non valida. Ad esempio, un contatto è configurato con un attributo 'targetAddress' senza tipo di indirizzo o nel nome di dominio completo del server di destinazione è presente un punto finale. Risoluzione dei problemi: verificare l'indirizzo del destinatario e inviare di nuovo il messaggio. Verificare inoltre che la proprietà 'networkAddress' del server di destinazione contenga il nome computer corretto." S4="5.1.3"/>
								<Rule Name="fDSN514" Template="tDSN" Text="{4}: Due oggetti hanno lo stesso indirizzo di posta, e la posta viene inviata a tale indirizzo. Questo problema può anche verificarsi se il destinatario non esiste nel server remoto. Verificare l'indirizzo del destinatario e inviare nuovamente il messaggio." S4="5.1.4"/>
								<Rule Name="fDSN516" Template="tDSN" Text="{4}: Gli attributi di directory dell'utente, quali homeMDB o msExchHomeServerName, potrebbero essere mancanti o danneggiati. Risoluzione dei problemi: Verificare l'integrità degli attributi di directory dell'utente, quindi rieseguire il Servizio aggiornamento destinatari per assicurarsi che gli attributi necessari per il trasporto siano validi." S4="5.1.6"/>
								<Rule Name="fDSN517" Template="tDSN" Text="{4}: L'attributo della posta del mittente non è valido o manca nella struttura della directory. Impossibile recapitare l'elemento di posta senza un attributo di posta valido. Risoluzione dei problemi: Verificare la struttura della directory del mittente e determinare se esiste l'attributo della posta." S4="5.1.7"/>
								<Rule Name="fDSN521" Template="tDSN" Text="{4}: La posta locale viene rifiutata perché il messaggio è troppo grande. Questo messaggio di errore può anche essere causato dall'assenza di un identificatore di protezione (SID) dell'account principale nel destinatario. Risoluzione dei problemi: Verificare le autorizzazioni di accesso oltre alle dimensioni del messaggio. Determinare se il destinatario dispone di un identificatore di protezione." S4="5.2.1"/>
								<Rule Name="fDSN522" Template="tDSN" Text="{4}: Superato il limite di archiviazione nella cassetta postale del destinatario. Risoluzione dei problemi: Verificare il limite di archiviazione della cassetta postale e il limite di quota di archiviazione delle code." S4="5.2.2"/>
								<Rule Name="fDSN523" Template="tDSN" Text="{4}: Il messaggio è troppo grande per la quota locale. Ad esempio, un utente remoto di Exchange potrebbe avere restrizioni di recapito impostate sulla dimensione massima dei messaggi in ingresso. Risoluzione dei problemi: Inviare nuovamente il messaggio senza allegati oppure impostare il limite sul lato server o client per consentire maggiori dimensioni dei messaggi." S4="5.2.3"/>
								<Rule Name="fDSN530" Template="tDSN" Text="{4}: Exchange Server 2003 può essere configurato per l'esecuzione senza il servizio Stack Agente di trasferimento messaggi di Microsoft Exchange. In questa configurazione, se è stato trovato un messaggio che richiede questo servizio per il routing, la notifica dello stato di recapito viene restituita al mittente. Risoluzione dei problemi: controllare la topologia del routing. Utilizzare lo strumento WinRoute per accertarsi che le route siano replicate correttamente tra server e gruppi di routing." S4="5.3.0"/>
								<Rule Name="fDSN533" Template="tDSN" Text="{4}: Il server remoto di Exchange 2000 o Exchange 2003 ha esaurito lo spazio su disco per conservare la posta. Questo problema si verifica più frequentemente se il server mittente invia posta con BDAT (DATA binari). Il codice può anche indicare un errore di protocollo SMTP. Risoluzione dei problemi: Assicurarsi che il server remoto disponga di spazio di archiviazione sufficiente per conservare la posta, quindi ricercare errori nel registro del protocollo SMTP." S4="5.3.3"/>
								<Rule Name="fDSN535" Template="tDSN" Text="{4}: è stata rilevata una condizione in cui il server è configurato in modo da eseguire un loop su se stesso. Se nel computer di Exchange sono stati configurati più server virtuali SMTP, accertarsi che servano porte di ingresso univoche e che la configurazione della porta SMTP in uscita sia valida per evitare il loop tra server virtuali locali. Verificare la configurazione dei connettori del server per rilevare eventuali loop." S4="5.3.5"/>
								<Rule Name="fDSN540" Template="tDSN" Text="{4}: possibili cause: 1) host attendibile non trovato in DNS; 2) voce di SmartHost non corretta; 3) nome di dominio completo (FQDN) nel file HOSTS (questo problema è stato risolto in Windows 2000 SP3); 4) si è verificato un errore DNS oppure è stato creato un indirizzo IP non valido per lo SmartHost; 5) SMTP VS non dispone di un nome di dominio completo (FQDN) oppure la ricerca del nome di dominio completo di SMTP VS non è riuscita; 6) il dominio SMTP di un contatto non viene risolto in nessuno degli spazi indirizzo SMTP. Risoluzione dei problemi: utilizzare l'utilità Nslookup per verificare il DNS. Verificare che l'indirizzo IP sia in formato IPv4 letterale. Verificare che sia disponibile una voce DNS valida per il server o per il nome computer in questione." S4="5.4.0"/>
								<Rule Name="fDSN544" Template="tDSN" Text="{4}: Nessuna route al messaggio, hop successivo non trovato. È stata impostata una topologia del gruppo di routing ma non è impostati alcun connettore del gruppo di routing tra i gruppi di routing. Risoluzione dei problemi: Aggiungi o configura il connettore del gruppo di routing tra i gruppi di routing" S4="5.4.4"/>
								<Rule Name="fDSN546" Template="tDSN" Text="{4}: è stato rilevato un loop di inoltro del classificatore. L'attributo 'targetAddress' è impostato su un utente abilitato alla posta. Si tratta di un problema comune di configurazione di hosting che si verifica quando si crea un contatto nell'unità organizzativa (OU) 1 e quindi si utilizza lo strumento di provisioning per creare un utente nell'unità organizzativa 2 con lo stesso indirizzo di posta elettronica. Risoluzione dei problemi: controllare e rimuovere l'attributo 'targetAddress' dagli utenti abilitati alla posta." S4="5.4.6"/>
								<Rule Name="fDSN548" Template="tDSN" Text="{4}: Il codice indica una condizione di loop. Questo problema può verificarsi se uno dei criteri del destinatario include un dominio locale che corrisponde al nome di dominio completo di un server Exchange nell'organizzazione. Se il classificatore elabora posta destinata a un dominio che corrisponde al nome di dominio completo di un server Exchange, viene generato un rapporto di mancato recapito con questo codice." S4="5.4.8"/>
								<Rule Name="fDSN550" Template="tDSN" Text="{4}: errore di protocollo generico (errore SMTP). L'SMTP remoto risponde al comando EHLO con un errore di livello 500 e il sistema di invio chiude la connessione con QUIT e genera un rapporto di mancato recapito che indica che il server SMTP remoto non è in grado di gestire il protocollo (ad esempio, se un account Hotmail non è più attivo, si verifica un errore SMTP 550). Risoluzione dei problemi: eseguire un registro di protocollo SMTP o una traccia di Network Monitor per verificare il motivo per cui il server SMTP remoto rifiuta la richiesta di protocollo." S4="5.5.0"/>
								<Rule Name="fDSN552" Template="tDSN" Text="{4}: si riferisce a un errore di protocollo generale che indica che i protocolli SMTP sono fuori sequenza. Ad esempio, un errore di protocollo SMTP si verifica quando si tenta il comando AUTH prima del comando EHLO. Nel corso di una osservazione, questo errore si è verificato quando lo spazio su disco era insufficiente. Risoluzione dei problemi: eseguire un registro di protocollo SMTP oppure una traccia di Network Monitor e assicurarsi di disporre di spazio su disco e di memoria virtuale sufficienti per il funzionamento di SMTP." S4="5.5.2"/>
								<Rule Name="fDSN553" Template="tDSN" Text="{4}: Troppi destinatari nel messaggio inviato. Risoluzione dei problemi: Il limite numero destinatari è un limite configurabile nel server destinatario. Per risolvere questo problema, aumentare il limite numero destinatari oppure suddividere il messaggio in più messaggi per rientrare nel limite del server. Nota: Il limite numero destinatari predefinito in un messaggio SMTP è 5000." S4="5.5.3"/>
								<Rule Name="fDSN563" Template="tDSN" Text="{4}: possibili cause più comuni: 1) il messaggio contiene più di 250 allegati. Un numero di allegati superiore a 250 genera l'errore MAPI_E_TOO_BIG; 2) è stato inviato un messaggio di posta elettronica con un'intestazione addr822 non corretta. Risoluzione dei problemi: ridurre il numero di allegati nel messaggio, quindi inviarlo nuovamente." S4="5.6.3"/>
								<Rule Name="fDSN571" Template="tDSN" Text="{4}: Cause possibili: 1)Accesso generale negato, accesso mittente negato. Il mittente del messaggio non dispone dei privilegi necessari per completare il recapito. 2)Si sta tentando di inoltrare la posta attraverso un altro server SMTP, che non consente l'inoltro. 3)Il destinatario può avere le restrizioni di recapito della cassetta postale abilitate. Ad esempio, la restrizione di recapito della cassetta postale del destinatario è stata impostata per la ricezione solo da un gruppo di distribuzione e la posta proveniente da non membri viene rifiutata con questo errore. 4)Per Exchange Server 2003, è possibile configurare un gruppo di distribuzione per limitare il recapito della posta proveniente da utenti non autenticati. La posta inviata utilizzando una sessione SMTP non autenticata viene rifiutata." S4="5.7.1"/>

								<Rule Name="fE2kDSN" Query="$fDSN431 or $fDSN432 or $fDSN441 or $fDSN442 or $fDSN446 or $fDSN447 or $fDSN449 or $fDSN465 or $fDSN500 or $fDSN510 or $fDSN511 or $fDSN512 or $fDSN513 or $fDSN514 or $fDSN516 or $fDSN517 or $fDSN521 or $fDSN522 or $fDSN523 or $fDSN530 or $fDSN533 or $fDSN535 or $fDSN540 or $fDSN544 or $fDSN546 or $fDSN548 or $fDSN550 or $fDSN552 or $fDSN553 or $fDSN563 or $fDSN571"/>
								<Rule Name="fNotValidE2KDSN" Query="string-length($.)=0 or not($fE2kDSN)"/>
							</Setting>
						</Object>
					</Object>
					<Object Type="If" Name="Exchange 2007 DSN Codes" Key1="'%varIsExchange12%' = '1'">
						<Object Type="Control" SubType="ComboBox" Name="DSN" Position="Below" Default="{5}5.0.0{5}5.1.0{5}5.1.1{5}5.1.2{5}5.1.3{5}5.1.4{5}5.1.6{5}5.1.7{5}5.1.8{5}5.2.0{5}5.2.1{5}5.2.2{5}5.2.3{5}5.2.4{5}5.3.0{5}5.3.2{5}5.3.3{5}5.3.4{5}5.3.5{5}5.4.0{5}5.4.4{5}5.4.6{5}5.4.7{5}5.5.0{5}5.5.1{5}5.5.2{5}5.5.3{5}5.5.4{5}5.5.5{5}5.5.6{5}5.6.0{5}5.6.1{5}5.6.2{5}5.6.3{5}5.6.4{5}5.6.5{5}5.7.0{5}5.7.1{5}5.7.2{5}5.7.3{5}5.7.4{5}5.7.5{5}5.7.6{5}5.7.7" Width="200">
							<Setting Key1="DSNNumber">
								<Rule Name="szE12DSNFilter" Query="$.">
									<Variable Name="varE12DSNFilter" Scope="Children"/>
								</Rule>
								<Rule Name="fe12DSN500" Template="tDSN" Text="{4}: si è verificato un errore durante il tentativo di inviare un messaggio all'indirizzo di posta elettronica dei destinatari. Un server remoto può rifiutare un messaggio con questo codice quando l'errore non appartiene a nessun codice noto. Controllare la stringa esplicativa nella sezione relativa alla diagnostica del rapporto di mancato recapito ricevuto." S4="5.0.0" S6="2007"/>
								<Rule Name="fe12DSN510" Template="tDSN" Text="{4}: il messaggio di posta elettronica è stato rifiutato dal sistema di posta elettronica del destinatario. Questo codice indica un problema generico di indirizzo di posta elettronica non corretto e può inoltre verificarsi se il messaggio di posta elettronica inviato viene considerato come posta indesiderata. Controllare la stringa esplicativa nella sezione relativa alla diagnostica del rapporto di mancato recapito ricevuto." S4="5.1.0" S6="2007"/>
								<Rule Name="fe12DSN511" Template="tDSN" Text="{4}: l'indirizzo di posta elettronica non è valido o non esiste nel sistema di posta elettronica del destinatario. Una delle cause più comuni è rappresentata da un destinatario non reperibile nella directory di un dominio attendibile. Risoluzione dei problemi: verificare che l'indirizzo del destinatario sia formattato correttamente e inviare nuovamente il messaggio." S4="5.1.1" S6="2007"/>
								<Rule Name="fe12DSN512" Template="tDSN" Text="{4}: l'indirizzo di posta elettronica non è valido o non esiste nel sistema di posta elettronica del destinatario. Questo codice può essere generato da un indirizzo non SMTP del destinatario non valido. Risoluzione dei problemi: verificare che l'indirizzo non SMTP del destinatario sia formattato correttamente e inviare nuovamente il messaggio." S4="5.1.2" S6="2007"/>
								<Rule Name="fe12DSN513" Template="tDSN" Text="{4}: il formato dell'indirizzo di posta elettronica del destinatario non è valido. Gli indirizzi di posta elettronica SMTP validi possono contenere solo lettere, numeri, trattini, punti e solo un simbolo @. Risoluzione dei problemi: verificare che il l'indirizzo SMTP del destinatario sia formattato correttamente e inviare nuovamente il messaggio." S4="5.1.3" S6="2007"/>
								<Rule Name="fe12DSN514" Template="tDSN" Text="{4}: due o più oggetti hanno lo stesso indirizzo di posta elettronica, a cui viene inviata posta. L'indirizzo di posta elettronica duplicato può essere un indirizzo SMTP o non SMTP. Ciò è in genere causato da un problema di configurazione di Active Directory. Modificare l'oggetto directory del destinatario interessato in modo che disponga di un indirizzo di posta elettronica univoco e inviare nuovamente il messaggio." S4="5.1.4" S6="2007"/>
								<Rule Name="fe12DSN516" Template="tDSN" Text="{4}: l'indirizzo di posta elettronica del destinatario è stato modificato e non accetta messaggi di posta elettronica. Non è disponibile alcun indirizzo di inoltro. Questo codice può essere generato se la cassetta postale del destinatario è stata completamente rimossa. Risoluzione dei problemi: verificare che l'oggetto utente esista ancora in Active Directory con attributi validi e inviare nuovamente il messaggio." S4="5.1.6" S6="2007"/>
								<Rule Name="fe12DSN517" Template="tDSN" Text="{4}: l'indirizzo di posta elettronica del mittente non è valido. È possibile che sia presente un errore nella configurazione dell'account di posta elettronica. Verificare gli eventuali errori di configurazione nella directory." S4="5.1.7" S6="2007"/>
								<Rule Name="fe12DSN518" Template="tDSN" Text="{4}: la parte relativa al nome di dominio dell'indirizzo di posta elettronica SMTP del mittente non è valida. La parte del dominio, che corrisponde alla parte dell'indirizzo di posta elettronica che segue il simbolo @, può contenere solo lettere, numeri, trattini e punti. Risoluzione dei problemi: verificare che l'indirizzo SMTP del mittente sia formattato correttamente e inviare nuovamente il messaggio." S4="5.1.8" S6="2007"/>
								<Rule Name="fe12DSN520" Template="tDSN" Text="{4}: si è verificato un errore nella configurazione della cassetta postale del destinatario. Questo codice può essere generato se il classificatore rileva un indirizzo proxy SMTP primario non corretto o mancante per il destinatario. Risoluzione dei problemi: verificare che l'indirizzo proxy SMTP del destinatario esista e che sia formattato correttamente." S4="5.2.0" S6="2007"/>
								<Rule Name="fe12DSN521" Template="tDSN" Text="{4}: la cassetta postale del destinatario è stata disabilitata e non accetta messaggi di posta elettronica. Verificare che la cassetta postale del destinatario sia abilitata e che le autorizzazioni di accesso siano configurate correttamente." S4="5.2.1" S6="2007"/>
								<Rule Name="fe12DSN522" Template="tDSN" Text="{4}: La cassetta postale del destinatario è piena. Riprovare più tardi l'invio del messaggio di posta elettronica." S4="5.2.2" S6="2007"/>
								<Rule Name="fe12DSN523" Template="tDSN" Text="{4}: Il messaggio ha superato la dimensione massima consentita nella cassetta postale del destinatario. Ridurre le dimensioni del messaggio e riprovare l'invio." S4="5.2.3" S6="2007"/>
								<Rule Name="fe12DSN524" Template="tDSN" Text="{4}: Si è verificato un problema nel sistema di posta elettronica del destinatario durante il tentativo di espandere la lista di distribuzione." S4="5.2.4" S6="2007"/>
								<Rule Name="fe12DSN530" Template="tDSN" Text="{4}: Errore durante il recapito del messaggio di posta elettronica." S4="5.3.0" S6="2007"/>
								<Rule Name="fe12DSN532" Template="tDSN" Text="{4}: Il sistema di posta elettronica del destinatario non accetta messaggi di posta elettronica. Riprovare più tardi l'invio del messaggio." S4="5.3.2" S6="2007"/>
								<Rule Name="fe12DSN533" Template="tDSN" Text="{4}: Impossibile per il sistema di posta elettronica del destinatario elaborare questo messaggio di posta. Tentare di creare un nuovo messaggio e inviarlo." S4="5.3.3" S6="2007"/>
								<Rule Name="fe12DSN534" Template="tDSN" Text="{4}: Il messaggio ha superato la dimensione massima consentita nel sistema di posta elettronica del destinatario. Ridurre le dimensioni del messaggio e riprovare l'invio." S4="5.3.4" S6="2007"/>
								<Rule Name="fe12DSN535" Template="tDSN" Text="{4}: Impossibile per il sistema di posta elettronica del destinatario elaborare questo messaggio di posta." S4="5.3.5" S6="2007"/>
								<Rule Name="fe12DSN540" Template="tDSN" Text="{4}: Un errore di rete ha impedito il recapito del messaggio di posta elettronica." S4="5.4.0" S6="2007"/>
								<Rule Name="fe12DSN544" Template="tDSN" Text="{4}: il sistema di posta elettronica del destinatario non dispone di informazioni sufficienti per recapitare il messaggio. Questo codice potrebbe indicare la presenza di errori di configurazione del routing e l'impossibilità di identificare il percorso di recapito a domini specifici. Risoluzione dei problemi: verificare che gli spazi indirizzo siano configurati correttamente nei connettori di invio." S4="5.4.4" S6="2007"/>
								<Rule Name="fe12DSN546" Template="tDSN" Text="{4}: Impossibile per il sistema di posta elettronica del destinatario recapitare il messaggio. Errore di configurazione." S4="5.4.6" S6="2007"/>
								<Rule Name="fe12DSN547" Template="tDSN" Text="{4}: Impossibile recapitare il messaggio di posta elettronica. Non è stato recapitato entro il limite di tempo specificato dall'amministratore." S4="5.4.7" S6="2007"/>
								<Rule Name="fe12DSN550" Template="tDSN" Text="{4}: Un errore di trasmissione ha impedito il recapito del messaggio di posta elettronica." S4="5.5.0" S6="2007"/>
								<Rule Name="fe12DSN551" Template="tDSN" Text="{4}: Comando di protocollo fuori servizio o non supportato. Riprovare più tardi l'invio del messaggio di posta elettronica." S4="5.5.1" S6="2007"/>
								<Rule Name="fe12DSN552" Template="tDSN" Text="{4}: Sintassi di un comando di protocollo non valida o non riconosciuta. Riprovare più tardi l'invio del messaggio di posta elettronica." S4="5.5.2" S6="2007"/>
								<Rule Name="fe12DSN553" Template="tDSN" Text="{4}: Il numero di destinatari di posta elettronica supera il limite massimo consentito. Ridurre il numero di destinatari e riprovare l'invio del messaggio." S4="5.5.3" S6="2007"/>
								<Rule Name="fe12DSN554" Template="tDSN" Text="{4}: Argomenti non validi nel comando di protocollo inviato dal sistema di posta elettronica. Riprovare più tardi l'invio del messaggio di posta elettronica." S4="5.5.4" S6="2007"/>
								<Rule Name="fe12DSN555" Template="tDSN" Text="{4}: Versioni di protocollo non corrispondenti tra il sistema di posta elettronica del mittente e quello del destinatario." S4="5.5.5" S6="2007"/>
								<Rule Name="fe12DSN556" Template="tDSN" Text="{4}: Errori di protocollo durante il recapito." S4="5.5.6" S6="2007"/>
								<Rule Name="fe12DSN560" Template="tDSN" Text="{4}: Impossibile recapitare il messaggio di posta elettronica. Formato danneggiato. Tentare di creare un nuovo messaggio e inviarlo." S4="5.6.0" S6="2007"/>
								<Rule Name="fe12DSN561" Template="tDSN" Text="{4}: Il sistema di posta elettronica del destinatario non è in grado di accettare il formato del messaggio." S4="5.6.1" S6="2007"/>
								<Rule Name="fe12DSN562" Template="tDSN" Text="{4}: Una restrizione di elaborazione nel sistema di posta elettronica impedisce la gestione del messaggio. Tentare di creare un nuovo messaggio e inviarlo." S4="5.6.2" S6="2007"/>
								<Rule Name="fe12DSN563" Template="tDSN" Text="{4}: Il formato del messaggio non è supportato. Tentare di creare un nuovo messaggio e inviarlo." S4="5.6.3" S6="2007"/>
								<Rule Name="fe12DSN564" Template="tDSN" Text="{4}: Una conversione del formato del messaggio avrebbe provocato la perdita di dati." S4="5.6.4" S6="2007"/>
								<Rule Name="fe12DSN565" Template="tDSN" Text="{4}: Errore durante la conversione di formato del messaggio di posta elettronica." S4="5.6.5" S6="2007"/>
								<Rule Name="fe12DSN570" Template="tDSN" Text="{4}: Errore di protezione durante il tentativo di recapito del messaggio di posta elettronica. I criteri di protezione non consentono ulteriori informazioni sull'errore." S4="5.7.0" S6="2007"/>
								<Rule Name="fe12DSN571" Template="tDSN" Text="{4}: il mittente non è autorizzato a inviare messaggi di posta elettronica a questo indirizzo. Possibili cause: 1) La sessione non è autenticata e non dispone dell'autorizzazione 'ms-Exch-SMTP-Submit'. 2) La sessione è autenticata, ma non dispone dell'autorizzazione 'ms-Exch-SMTP-Submit'. 3) Il comando 'MAIL FROM' ha specificato un indirizzo presso un dominio attendibile e la sessione non dispone dell'autorizzazione 'ms-Exch-SMTP-Accept-Authoritative-Domain-Sender'. 4) L'utente autenticato non è autorizzato a inviare messaggi per conto dell'indirizzo del mittente specificato nell'intestazione del messaggio e la sessione non dispone dell'autorizzazione 'ms-Exch-SMTP-Accept-Any-Sender'. 5) Il dominio del destinatario non corrisponde a nessuno dei domini accettati e la sessione non dispone dell'autorizzazione 'ms-Exch-SMTP-Accept-Any-Recipient'." S4="5.7.1" S6="2007"/>
								<Rule Name="fe12DSN572" Template="tDSN" Text="{4}: Il mittente non è autorizzato a inviare messaggi di posta elettronica a questa lista di distribuzione." S4="5.7.2" S6="2007"/>
								<Rule Name="fe12DSN573" Template="tDSN" Text="{4}: impossibile eseguire un'operazione di protezione necessaria durante l'invio del messaggio di posta elettronica. Le credenziali non sono corrette oppure l'utente autenticato non dispone dell'autorizzazione 'ms-Exch-SMTP-Submit'. La mancanza dell'autorizzazione 'Submit' genera un errore di autenticazione, non di autorizzazione, in quanto il server divulgherebbe informazioni rendendo il server SMTP vulnerabile ai tentativi di identificazione delle password." S4="5.7.3" S6="2007"/>
								<Rule Name="fe12DSN574" Template="tDSN" Text="{4}: Le funzionalità di protezione necessarie per il recapito del messaggio non sono supportate dal sistema di posta elettronica del destinatario." S4="5.7.4" S6="2007"/>
								<Rule Name="fe12DSN575" Template="tDSN" Text="{4}: Impossibile convalidare il messaggio di posta elettronica." S4="5.7.5" S6="2007"/>
								<Rule Name="fe12DSN576" Template="tDSN" Text="{4}: Errore durante l'elaborazione dei dati di protezione del sistema di posta elettronica del destinatario." S4="5.7.6" S6="2007"/>
								<Rule Name="fe12DSN577" Template="tDSN" Text="{4}: Messaggio di posta elettronica danneggiato o modificato. Il sistema di posta elettronica del destinatario non è in grado di convalidare o decrittografare il messaggio. Tentare di creare un nuovo messaggio e inviarlo." S4="5.7.7" S6="2007"/>

								<Rule Name="fE12DSN" Query="$fe12DSN500 or $fe12DSN510 or $fe12DSN511 or $fe12DSN512 or $fe12DSN513 or $fe12DSN514 or $fe12DSN516 or $fe12DSN517 or $fe12DSN518 or $fe12DSN520 or $fe12DSN521 or $fe12DSN522 or $fe12DSN523 or $fe12DSN524 or $fe12DSN530 or $fe12DSN532 or $fe12DSN533 or $fe12DSN534 or $fe12DSN535 or $fe12DSN540 or $fe12DSN533 or $fe12DSN535 or $fe12DSN540 or $fe12DSN544 or $fe12DSN546 or $fe12DSN547 or $fe12DSN550 or $fe12DSN551 or $fe12DSN552 or $fe12DSN553 or $fe12DSN554 or $fe12DSN555 or $fe12DSN556 or $fe12DSN560 or $fe12DSN561 or $fe12DSN562 or $fe12DSN563 or $fe12DSN564 or $fe12DSN565 or $fe12DSN570 or $fe12DSN571 or $fe12DSN572 or $fe12DSN573 or $fe12DSN574 or $fe12DSN575 or $fe12DSN576 or $fe12DSN577"/>
								<Rule Name="fNotValidE12DSN" Query="string-length($.)=0 or not($fE12DSN)"/>
							</Setting>
						</Object>
					</Object>
					<Rule Name="fNotValidDSN" Query="$fNotValidE2KDSN or $fNotValidE12DSN" AlwaysEvaluate="True"/>
				</Object>
				<!--
				<Object Type="Control" SubType="TextBox" Name="DSNNumber" Position="NextTo" Percent="30" Default="" Display="Hide"/>
				-->

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Indietro"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="Avanti"/>

			</Object>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetServerInfo" Title="Nome e credenziali del server" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varDefExName%" Substitution="varDefExName" Display="Hide"/>
			<Setting Key1="%varDefDCName%" Substitution="varDefDCName" Display="Hide"/>
			<Setting Key1="%varDefExGWName%" Substitution="varDefExGWName" Display="Hide"/>
			<Setting Key1="%varDefGWName%" Substitution="varDefGWName" Display="Hide"/>
			<Setting Key1="%varDefGWSMTPPort%" Substitution="varDefGWSMTPPort" Display="Hide"/>
			<Setting Key1="%varDefTestMailAddress%" Substitution="varDefTestMailAddress" Display="Hide"/>
			<Setting Key1="%varDefTestMailFromAddress%" Substitution="varDefTestMailFromAddress" Display="Hide"/>
			<Setting Key1="%varDefOutboundSenderAddress%" Substitution="varDefOutboundSenderAddress" Display="Hide"/>
			<Setting Key1="%varDefOutboundRecipAddress%" Substitution="varDefOutboundRecipAddress" Display="Hide"/>
			<Setting Key1="%varSelSymptom%" Substitution="varSelSymptom" Display="Hide"/>
			<Setting Key1="%EDGEROLE%" Substitution="EDGEROLE" Display="Hide"/>
			<Setting Key1="%LOCALDCNAME%" Substitution="LOCALDCNAME" Display="Hide"/>
			<Setting Key1="%LOCALMACHINENAME%" Substitution="LOCALMACHINENAME" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\1c4b9eca-4714-4a61-ba7c-91f1bf4e53fc.htm">
				<Setting Display="Hide">
					<Rule NextStep="RetrieveBasicServerData" Name="fGotoRetrieveBasicServerData" Query="not ($fInvalidDCName or $fInvalidExName or $fInvalidTestMailAddress or $fInvalidTestMailFromAddress or $fInvalidOutboundSender or $fInvalidOutboundRecipient or $fInvalidExCreds or '%varSelSymptom%'='EdgeSyncTroubleshooter')" AlwaysEvaluate="True"/>
					<Rule NextStep="FindEdgeSubscriptions" Name="fGotoFindEdgeSubscriptions" Query="not($fInvalidDCName or $fInvalidADCreds or $fInvalidEdgeCreds) and '%varSelSymptom%'='EdgeSyncTroubleshooter'" AlwaysEvaluate="True"/>
					<Rule NextStep="InputErrors" Name="fInputErrorsGetServerInfo" Query="not($fGotoRetrieveBasicServerData or $fGotoFindEdgeSubscriptions)" AlwaysEvaluate="True"/>
				</Setting>

				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Immetti informazioni server e utente"/>

				<!-- If the selected symptom is Inbound or Outbound, we ask more inputs such as non-exchange gateway and test mail address -->
				<Object Type="If" Name="NDR" Key1="contains('%varSelSymptom%','NDR')" Display="Hide">
					<Object Type="Control" SubType="Label" Name="NDRNoteLabel" Position="Below" Text="Indicare il nome del server di Exchange che genera il rapporto di mancato recapito. Se il rapporto di mancato recapito è stato generato da un server esterno, fornire il nome del server di Exchange che invia messaggi all'esterno dell'organizzazione."/>
				</Object>
				<Object Type="If" Name="Inbound" Key1="contains('%varSelSymptom%','Inbound')" Display="Hide">
					<Object Type="Control" SubType="Label" Name="GWNotelabel" Position="Below" Text="Indicare il nome di un computer che esegue Exchange Server 2003 o Exchange 2000 Server che funga da gateway da/verso Internet. Se il server gateway non esegue Exchange, fornire il nome del server di Exchange più vicino al server con accesso a Internet. In tal caso, è possibile indicare separatamente di seguito il nome del server gateway non Exchange."/>
					<Object Type="Control" SubType="Label" Name="MTlabel" Position="Below" Text="Attivare la verifica messaggi sui server di Exchange."/>
					<Object Type="Control" SubType="Link" Name="MTlink" Position="Below" Text="Come attivare la verifica messaggi" URL="http://support.microsoft.com/?id=821910"/>
				</Object>
				<Object Type="If" Name="Outbound" Key1="contains('%varSelSymptom%','Outbound')" Display="Hide">
					<Object Type="Control" SubType="Label" Name="GWNotelabel" Position="Below" Text="Indicare il nome di un computer che esegue Exchange Server 2003 o Exchange 2000 Server su cui sono presenti le cassette postali dei mittenti interessanti. Indicare inoltre il nome del server di Exchange che invia messaggi all'esterno dell'organizzazione, se diverso. Se il server gateway con accesso a Internet non esegue Exchange, è possibile indicarne il nome separatamente di seguito."/>
					<Object Type="Control" SubType="Label" Name="MTlabel" Position="Below" Text="Attivare la verifica messaggi sui server di Exchange."/>
					<Object Type="Control" SubType="Link" Name="MTlink" Position="Below" Text="Come attivare la verifica messaggi" URL="http://support.microsoft.com/?id=821910"/>
				</Object>
				<Object Type="If" Name="Queue" Key1="contains('%varSelSymptom%','Queue')" Display="Hide">
					<Object Type="Control" SubType="Label" Name="label" Position="Below" Text="Indicare il nome di un computer che esegue Exchange Server 2003 o Exchange 2000 Server in cui sono presenti messaggi sospesi in coda."/>
				</Object>
				<Object Type="If" Name="MailboxSubmission" Key1="contains('%varSelSymptom%','MailboxSubmission')" Display="Hide">
					<Object Type="Control" SubType="Label" Name="label" Position="Below" Text="Indicare il nome di un computer su cui è installato il ruolo server Cassette postali in cui i messaggi inviati non vengono elaborati."/>
				</Object>
				<Object Type="If" Name="EdgeSyncTroubleshooter" Key1="'%varSelSymptom%'='EdgeSyncTroubleshooter'" Display="Hide">
					<Object Type="Control" SubType="Label" Name="label" Position="Below" Text="Fornire le informazioni seguenti prima che venga avviato lo strumento di risoluzione dei problemi di EdgeSync."/>
				</Object>

				<Object Type="If" Key1="'%EDGEROLE%'='1'">
					<Setting Key1="SetMachineName">
						<Rule Name="szExNameEdge" Query="string('%LOCALMACHINENAME%')">
							<Variable Name="varExName" Scope="Children"/>
							<Variable Name="varDefExName" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="SetDCName">
						<Rule Name="szDCNameEdge" Query="string('%LOCALDCNAME%')">
							<Variable Name="varDCName" Scope="Children"/>
							<Variable Name="varDefDCName" Scope="Global"/>
						</Rule>
					</Setting>
				</Object>

				<Object Type="If" Key1="'%EDGEROLE%'!='1' and not('%varSelSymptom%'='EdgeSyncTroubleshooter')">
					<Object Type="Control" SubType="Label" Name="EXLabel" Position="LeftBelow" Text="Nome server Exchange"/>
					<Object Type="Control" SubType="TextBox" Name="EXName" Position="400," Percent="40" Default="%varDefExName%" Display="Hide">
						<Setting Key1="ExName">
							<Rule Name="szExName" Query="$.">
								<Variable Name="varExName" Scope="Children"/>
								<Variable Name="varDefExName" Scope="Global"/>
							</Rule>
							<Rule Name="fSetExName" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExMFA','ServerSpecified',$.)"/>
							<Rule Name="fInvalidExName" Query="string-length($.)=0" Error="Error" Text="Il nome di un server di Exchange non è stato indicato."/>
						</Setting>
						<Event Type="Changed">
							<Action Type="Enable" ControlName="TestMailAddress3" Query="control-value('EXName')!=''"/>
						</Event>
					</Object>
				</Object>

				<Object Type="If" Key1="'%EDGEROLE%'!='1'">
					<Object Type="Control" SubType="Label" Name="DCLabel" Position="LeftBelow" Text="Nome server di catalogo globale"/>
					<Object Type="Control" SubType="TextBox" Name="DCName" Position="400," Default="%varDefDCName%" Display="Hide">
						<Setting Key1="DCName">
							<Rule Name="szDCName" Query="$.">
								<Variable Name="varDCName" Scope="Children"/>
								<Variable Name="varDefDCName" Scope="Global"/>
							</Rule>
							<Rule Name="fSetDCName" Query="($. != @S2) and regSetValue('','Software\\Microsoft\\Exchange\\ExMFA','DCSpecified',$.)" S2="%varDCName%"/>
							<Rule Name="fInvalidDCName" Query="string-length($.)=0" Error="Error" Text="Il nome di un server di Active Directory non è stato indicato."/>
						</Setting>
					</Object>
				</Object>

				<Object Type="If" Name="Exchange Gateway" Key1="contains('%varSelSymptom%','Outbound')" Display="Hide">
					<Object Type="Control" SubType="Label" Name="GWServerLabel" Position="LeftBelow" Text="Nome server gateway di Exchange (se diverso dal precedente)"/>
					<Object Type="Control" SubType="TextBox" Name="ExGWServerName" Position="400," Default="%varDefExGWName%" Display="Hide">
						<Setting Key1="ExGWName">
							<Rule Name="szExGWName" Query="$.">
								<Variable Name="varExGWName" Scope="Children"/>
								<Variable Name="varDefExGWName" Scope="Global"/>
							</Rule>
							<Rule Name="fExGWProvided" Query="string-length($.) &gt;0" AlwaysEvaluate="True">
								<Variable Name="varExGWProvided" Scope="Children"/>
							</Rule>
							<Rule Name="fSetExGWName" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExMFA','ExGatewaySpecified',$.)"/>
						</Setting>
					</Object>
				</Object>

				<Object Type="If" Name="Non-Exchange Gateway" Key1="contains('%varSelSymptom%','Inbound') or contains('%varSelSymptom%','Outbound')" Display="Hide">
					<Object Type="Control" SubType="Label" Name="GWServerLabel" Position="LeftBelow" Text="Nome server gateway non Exchange (facoltativo)"/>
					<Object Type="Control" SubType="TextBox" Name="GWServerName" Position="400," Default="%varDefGWName%" Display="Hide">
						<Setting Key1="GWName">
							<Rule Name="szGWName" Query="$.">
								<Variable Name="varGWName" Scope="Children"/>
								<Variable Name="varDefGWName" Scope="Global"/>
							</Rule>
							<Rule Name="fGWProvided" Query="string-length($.) &gt;0" AlwaysEvaluate="True">
								<Variable Name="varGWProvided" Scope="Children"/>
							</Rule>
							<Rule Name="fSetGWName" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExMFA','GatewaySpecified',$.)"/>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="GWSMTPPortLabel" Position="LeftBelow" Text="Porta SMTP server gateway non Exchange (facoltativo)"/>
					<Object Type="Control" SubType="TextBox" Name="GWSMTPPort" Position="At(GWServerName)," Width="45" Default="%varDefGWSMTPPort%" Display="Hide">
						<Setting Key1="GWSMTPPort">
							<Rule Name="iGWSMTPPort" Query="$.">
								<Variable Name="varGWSMTPPort" Scope="Children"/>
								<Variable Name="varDefGWSMTPPort" Scope="Global"/>
							</Rule>
							<Rule Name="fSetGWSMTPPort" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExMFA','GatewaySMTPPort',$.)"/>
						</Setting>
					</Object>
				</Object>

				<Object Type="If" Name="Get Edge Credentials" Key1="'%varSelSymptom%'='EdgeSyncTroubleshooter'" Display="Hide">
					<Object Type="Control" SubType="GradiatedBox" Name="MidLine1" Position="LeftBelow"/>
					<Object Type="Control" SubType="ShowHide" Name="ShowHideCreds1" Position="Below" Text="Mostra le opzioni avanzate di accesso ad Active Directory,Nascondi le opzioni avanzate di accesso ad Active Directory">
						<Object Type="Control" SubType="Label" Name="EXLabel1" Position="TopNoBorder" Text="Se le credenziali attuali non dispongono di autorizzazioni sufficienti per la lettura delle informazioni di configurazione di Active Directory, immettere di seguito le credenziali alternative."/>
						<Object Type="Credentials" Name="EXLOGON" Position="Below" Key1="385">
							<Rule Name="fInvalidADCreds" Query="not(validate-credentials('EXLOGON'))" Error="Error" Text="Le credenziali dell'account fornite per Active Directory non sono valide. Immettere nuovamente le credenziali."/>
						</Object>
					</Object>

					<Object Type="Control" SubType="Label" Name="SpaceLabel2" Position="LeftBelow" Text=""/>
					<Object Type="Control" SubType="GradiatedBox" Name="MidLine3" Position="LeftBelow"/>
					<Object Type="Control" SubType="ShowHide" Name="ShowHideCreds2" Position="Below" Text="Mostra le opzioni avanzate di accesso al server Edge,Nascondi le opzioni avanzate di accesso al server Edge">
						<Object Type="Control" SubType="Label" Name="EXLabel2" Position="TopNoBorder" Text="Se le credenziali attuali non dispongono di autorizzazioni sufficienti per la lettura delle informazioni di configurazione di Edge Server, immettere di seguito le credenziali alternative."/>
						<Object Type="Credentials" Name="EDGELOGON" Position="Below" Key1="385">
							<Rule Name="fInvalidEdgeCreds" Query="not(validate-credentials('EXLOGON'))" Error="Error" Text="Le credenziali dell'account fornite per Edge Server non sono valide. Immettere nuovamente le credenziali."/>
						</Object>
					</Object>
					<Object Type="Control" SubType="GradiatedBox" Name="MidLine4" Position="Below"/>
				</Object>

				<Object Type="If" Name="Get AD/Exchange Server Credentials" Key1="not('%varSelSymptom%'='EdgeSyncTroubleshooter')" Display="Hide">
					<Object Type="Control" SubType="GradiatedBox" Name="MidLine1" Position="LeftBelow"/>
					<Object Type="Control" SubType="ShowHide" Name="ShowHideCreds" Position="Below" Text="Mostra opzioni di accesso avanzate,Nascondi opzioni di accesso avanzate">
						<Object Type="Control" SubType="Label" Name="EXLabel" Position="TopNoBorder" Text="Se le credenziali attuali non dispongono di autorizzazioni sufficienti per la lettura delle informazioni di configurazione di Exchange, immettere di seguito le credenziali alternative."/>
						<Object Type="Credentials" Name="EXLOGON" Position="Below" Key1="385">
							<Rule Name="fInvalidExCreds" Query="not(validate-credentials('EXLOGON'))" Error="Error" Text="Le credenziali dell'account fornite per Exchange e Active Directory non sono valide. Immettere nuovamente le credenziali."/>
						</Object>
					</Object>
					<Object Type="Control" SubType="GradiatedBox" Name="MidLine2" Position="Below"/>
				</Object>

				<Object Type="If" Name="NeedTestMailAddress" Key1="contains('%varSelSymptom%','Inbound')" Display="Hide">
					<Setting Key1="string(@S1)" S1="directory-lookup(concat('LDAP://', directory-lookup('LDAP://rootDSE', '(objectClass=*)', 'Base', 'configurationNamingContext')), concat('(&amp;(objectCategory=msExchExchangeServer)(cn=', control-value('EXName'), '))'), 'Subtree', 'distinguishedName')" Substitution="SERVERLOOKUP"/>
					<Setting Key1="'%varDefExName%'!=''" Substitution="SERVERSET"/>

					<Object Type="Control" SubType="Label" Name="TestMailAddressLabel" Position="LeftBelow" Text="Indirizzo del destinatario da utilizzare per le prove di recapito (facoltativo)"/>
					<Object Type="Control" SubType="TextBox" Name="TestMailAddress" Position="400," Width="240" Default="%varDefTestMailAddress%" Display="Hide">
						<Setting Key1="TestMailAddress">
							<Rule Name="szTestMailAddress" Query="$.">
								<Variable Name="varTestMailAddress" Scope="Children"/>
								<Variable Name="varDefTestMailAddress" Scope="Global"/>
							</Rule>
							<Rule Name="fInvalidTestMailAddress" Query="not(matches($.,'^(.+@.+)?$'))" Error="Error" Text="L'indirizzo di posta elettronica del destinatario non è valido. Il formato dell'indirizzo deve essere utente@dominio."/>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Button" Name="TestMailAddress3" Width="140" Position="NextTo" Text="Utilizzare l'account di sistema" Flags="Enabled=%SERVERSET%">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="TestMailAddress3" Query="control-value('TestMailAddress', directory-lookup(concat('LDAP://CN=Microsoft System Attendant,', %SERVERLOOKUP%), '(objectClass=*)', 'Base', 'mail'))"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Label" Name="NoteMailAddress" Position="LeftBelow" Text="(se si desidera utilizzare l'account Postmaster o Supervisore sistema, è possibile lasciare vuoto il campo. Se si è a conoscenza di problemi del flusso di posta relativi a un account specifico, si consiglia di utilizzare quell'account per una diagnostica più efficace)."/>

					<Object Type="Control" SubType="Label" Name="TestMailFromAddressLabel" Position="LeftBelow" Text="Indirizzo del mittente da utilizzare per le prove di recapito"/>
					<Object Type="Control" SubType="TextBox" Name="TestMailFromAddress" Position="400," Width="240" Default="%varDefTestMailFromAddress%" Display="Hide">
						<Setting Key1="TestMailFromAddress">
							<Rule Name="szTestMailFromAddress" Query="$.">
								<Variable Name="varTestMailFromAddress" Scope="Children"/>
								<Variable Name="varDefTestMailFromAddress" Scope="Global"/>
							</Rule>
							<Rule Name="fInvalidTestMailFromAddress" Query="not(matches($.,'^.+@.+$'))" Error="Error" Text="L'indirizzo di posta elettronica del mittente non è valido. Il formato dell'indirizzo deve essere utente@dominio."/>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="NoteMailFromAddress" Position="LeftBelow" Text="Se i server convalidano i mittenti, può essere necessario utilizzare un indirizzo di posta elettronica per cui si dispone dei diritti di invio."/>
				</Object>

				<Object Type="If" Name="NeedMailInfo" Key1="contains('%varSelSymptom%','Outbound')" Display="Hide">
					<Object Type="Control" SubType="Label" Name="NoteMailInfo" Position="LeftBelow" Text="Indicare l'indirizzo del mittente e il destinatario di uno dei messaggi in cui si è verificato questo problema."/>
					<Object Type="Control" SubType="Label" Name="SenderLabel" Position="LeftBelow" Text="Indirizzo SMTP del mittente (esempio: utente@organizzazione.com)"/>
					<Object Type="Control" SubType="TextBox" Name="OutboundSenderAddress" Position="400," Default="%varDefOutboundSenderAddress%" Display="Hide">
						<Setting Key1="OutboundSenderAddress">
							<Rule Name="szOutboundSenderAddress" Query="$.">
								<Variable Name="varOutboundSenderAddress" Scope="Children"/>
								<Variable Name="varDefOutboundSenderAddress" Scope="Global"/>
							</Rule>
							<Rule Name="fInvalidOutboundSender" Query="not(matches($.,'^.+@.+$'))" Error="Error" Text="L'indirizzo di posta elettronica del mittente non è valido. Il formato dell'indirizzo deve essere utente@dominio."/>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="RecipientLabel" Position="LeftBelow" Text="Indirizzo SMTP del destinatario (esempio: utente@organizzazione.com)"/>
					<Object Type="Control" SubType="TextBox" Name="OutboundRecipAddress" Position="At(OutboundSenderAddress)," Default="%varDefOutboundRecipAddress%" Display="Hide">
						<Setting Key1="OutboundRecipAddress">
							<Rule Name="szOutboundRecipAddress" Query="$.">
								<Variable Name="varOutboundRecipAddress" Scope="Children"/>
								<Variable Name="varDefOutboundRecipAddress" Scope="Global"/>
							</Rule>
							<Rule Name="fInvalidOutboundRecipient" Query="not(matches($.,'^.+@.+$'))" Error="Error" Text="L'indirizzo di posta elettronica del destinatario non è valido. Il formato dell'indirizzo deve essere utente@dominio."/>
						</Setting>
					</Object>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Indietro"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="400," Text="Avanti"/>
			</Object>
			<Rule Name="szGetServerInfo" Query="'GetServerInfo'">
				<Variable Name="varPreviousName" Scope="Children"/>
			</Rule>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RetrieveBasicServerData" Title="Recupero dati base del server in corso" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varTestMailAddress%" Substitution="varTestMailAddress" Display="Hide"/>
			<Setting Key1="%varTestMailFromAddress%" Substitution="varTestMailFromAddress" Display="Hide"/>
			<Setting Key1="%varSelSymptom%" Substitution="varSelSymptom" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Recupero informazioni su Exchange Server in corso" Text="Attendere. Caricamento in corso delle informazioni di base sul server {2} da Active Directory e da Strumentazione gestione Windows (WMI, Windows Management Instrumentation)." S2="%varExName%" HelpId="html\1c4b9eca-4714-4a61-ba7c-91f1bf4e53fc.htm">
				<Object Type="Group" Name="Basic Server Information" Class="Area" GroupingClass="True" Display="Hide">
					<!-- We try to get the basic info about the Exchange server so that we do not have to do it again in the child steps -->
					<Object Type="Directory" Name="cn" Key1="LDAP://%varDCName%/" SecurityContext="EXLOGON">
						<Rule Name="fFatalDirectoryError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante l'accesso ad Active Directory" Text="Impossibile eseguire la query alla directory nel server {2}. {1}" P1="../Exception/@Message" S2="%varDCName%" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61" AlwaysEvaluate="True"/>

						<Setting Key1="RootDomainNamingContext" Substitution="ROOTDOMAINDN">
							<Rule Name="szRootDomainDN" Query="$.">
								<Variable Name="varRootDomainDN" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="configurationNamingContext" Substitution="CONFIGDN">
							<Rule Name="szConfigDN" Query="$.">
								<Variable Name="varConfigDN" Scope="Children"/>
							</Rule>
						</Setting>
						<Object Type="Resolve" Name="Server Name" Key1="%varExName%">
							<Setting Key1="Dns" Substitution="RESOLVEDEXNAME" Format="\..*----">
								<Rule Name="fResolveExNameFailed" Query="lower-case($.)!=lower-case(@S2) and lower-case($.)!=lower-case($szExNetBIOSName)" Error="Warning" Sev="1" Title="Errore della risoluzione dei nomi DNS" Text="Errore della risoluzione dei nomi DNS per il server {2}. Verificare la configurazione DNS o assicurarsi che il nome del server sia corretto." S2="%varExName%" GUID="c1e33f44-aa05-40be-9167-4f19f2ff0908"/>
							</Setting>
							<Setting Key1="Dns" Substitution="RESOLVEDEXFQDN">
								<Rule Name="szResolvedExFQDN" Query="$."/>
							</Setting>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
								<Rule Name="fDirectoryExContainerError" Query="../Exception/@Message or ../Instance/Object/Exception/@Message or $fNoSuchExchangeFound" Error="Error" Sev="1" Title="Errore durante il recupero delle informazioni da Active Directory" Text="Impossibile recuperare le informazioni sul server da Active Directory. Le credenziali dell'utente potrebbero non essere corrette, oppure il server {2} potrebbe non eseguire Exchange Server." S2="%varExName%" GUID="f1915b91-0f56-4272-9c24-4914daa8a944" AlwaysEvaluate="True"/>
								<Setting Key1="distinguishedName" Substitution="DN"/>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%DN%" Key3="objectClass=msExchOrganizationContainer" Key4="OneLevel">
									<Setting Key1="distinguishedName">
										<Rule Name="szExOrgDN" Query="$.">
											<Variable Name="varExOrgDN" Scope="Children"/>
										</Rule>
									</Setting>
								</Object>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(|(cn=%RESOLVEDEXNAME%)(cn=%varExName%)))" Class="Server" GroupingClass="True">
									<Rule Name="fNoSuchExchangeFound" Query="count(../Instance)=0"/>
									<Setting Key1="distinguishedName" Substitution="DN">
										<Rule Name="szExDN" Query="$.">
											<Variable Name="varExDN" Scope="Children"/>
										</Rule>
									</Setting>
									<Setting Key1="networkAddress">
										<Rule Name="szExFQDN" Query="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" Error="None" Title="Nome di dominio completo (FQDN) del server" Text="Il nome di dominio completo (FQDN) del server {2} è {1}." P1="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" P2="$szExNetBIOSName">
											<Variable Name="varExFQDN" Scope="Children"/>
										</Rule>
										<Rule Name="szExNetBIOSName" Query="substring-before($szExFQDN,'.')">
											<Variable Name="varExName" Scope="Children"/>
											<Variable Name="varMsgTrackExName" Scope="Children"/>
										</Rule>
									</Setting>
									<Setting Key1="messageTrackingEnabled" Display="Hide">
										<Rule Name="fMessageTrackingEnabled" Query="not ($fExchange12) and upper-case($.)='TRUE'" Error="None" Title="Verifica messaggi abilitata" Text="La verifica messaggi è abilitata nel server {2}." P2="$szExNetBIOSName"/>
										<Rule Name="fMessageTrackingDisabled" Query="not ($fExchange12) and upper-case($.)!='TRUE' and @S1='Inbound'" Error="Error" Sev="1" Title="Verifica messaggi disabilitata" Text="La verifica messaggi è disabilitata nel server {2}. È necessario abilitarla per condurre test del flusso di posta." S1="%varSelSymptom%" P2="$szExNetBIOSName" GUID="296c5b3e-a7f1-49bf-a618-c232ba081f06"/>
									</Setting>
									<Setting Key1="serialNumber" Substitution="EXVERSION">
										<Rule Name="fExchange200x" Query="contains ($., 'Version 6')">
											<Variable Name="varIsExchange2000or2003" Scope="Children"/>
										</Rule>
										<Rule Name="fExchange2003" Query="contains ($., 'Version 6.5')" Error="None" Title="Exchange Server 2003 installato" Text="Sul server {2} è in esecuzione Exchange Server 2003." P2="$szExNetBIOSName">
											<Variable Name="varIsExchange2003" Scope="Children"/>
										</Rule>
										<Rule Name="fExchange2000" Query="contains ($., 'Version 6.0')" Error="None" Title="Exchange 2000 Server installato" Text="Sul server {2} è in esecuzione Exchange 2000 Server." P2="$szExNetBIOSName">
											<Variable Name="varIsExchange2000" Scope="Children"/>
										</Rule>
										<Rule Name="fExchange55" Query="contains ($., 'Version 5.5')" Error="Error" Sev="1" Title="Exchange Server 5.5 rilevato" Text="Sul server {2} è in esecuzione Exchange Server 5,5. Questo strumento supporta solo Exchange 2000 Server ed Exchange Server 2003." P2="$szExNetBIOSName"/>
										<Rule Name="fExchange2003SP2" Query="$fExchange2003 and contains ($., 'Service Pack 2')" Error="None" Title="Exchange Server 2003 SP2 installato" Text="Nel server {2} è installato Exchange Server 2003 Service Pack 2." P2="$szExNetBIOSName">
											<Variable Name="varIsExchange2003SP2" Scope="Children"/>
										</Rule>
										<Rule Name="fExchange2003SP1" Query="$fExchange2003 and contains ($., 'Service Pack 1')" Error="None" Title="Exchange Server 2003 SP1 installato" Text="Nel server {2} è installato Exchange Server 2003 Service Pack 1." P2="$szExNetBIOSName"/>
										<Rule Name="fExchange2003SPn" Query="$fExchange2003 and contains ($., 'Service Pack')"/>
										<Rule Name="fExchange12" Query="contains ($., 'Version 8.0')" Error="None" Title="Exchange Server 2007 installato" Text="Sul server {2} è in esecuzione Exchange Server 2007." P2="$szExNetBIOSName">
											<Variable Name="varIsExchange12" Scope="Children"/>
										</Rule>
									</Setting>
									<Setting Key1="versionNumber">
										<Rule Name="iExVersionNumber" Query="$.">
											<Variable Name="varExVersionNumber" Scope="Children"/>
										</Rule>
									</Setting>
									<Object Type="Group" Name="Server Up Test">
										<Setting Key1="Server Rule">
											<Rule Name="fExConnectRegError" Query="$fFatalRegistyError" Error="Error" Sev="1" Title="Impossibile accedere al Registro di sistema" Text="Impossibile connettersi al Registro di sistema sul server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="$szExConnectRegException" P2="$szExNetBIOSName" GUID="fa727882-9fdd-4664-9d49-f0ef95193b49" AlwaysEvaluate="True"/>
											<Rule Name="fExConnectWMIError" Query="not ($fExWinVerNT4) and ($fFatalWMIOpError or ($fFatalWMIVolumeError and $fExWinVer2003) or $fFatalWMILogicalError)" Error="Error" Sev="2" Title="Impossibile accedere a WMI" Text="Impossibile connettersi all'archivio WMI sul server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="$szExConnectWMIException" P2="$szExNetBIOSName" GUID="18814786-c925-4ea8-bcd5-2d57174f326f" AlwaysEvaluate="True"/>
											<Rule Name="fExConnectDirectorySMTPError" Query="not ($fExWinVerNT4) and $fFatalDirectorySMTPError" Error="Error" Sev="2" Title="Impossibile accedere ai dati sulla directory" Text="Impossibile raccogliere i dati della directory dal server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="$szExConnectDirectorySMTPException" S2="%varDCName%" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61" AlwaysEvaluate="True"/>
											<Rule Name="fExConnectMetabaseError" Query="not ($fExWinVerNT4) and $fFatalMetabaseError" Error="Error" Sev="2" Title="Impossibile accedere alla metabase" Text="Impossibile connettersi alla metabase sul server {2}. La causa può essere un problema di rete o di autorizzazione. Inoltre, assicurarsi che il componente IIS sia installato nella workstation. Errore: {1}" P1="$szExConnectMetabaseException" P2="$szExNetBIOSName" AlwaysEvaluate="True"/>
											<Rule Name="szExConnectWMIException" Query="if ($fFatalWMIOpError, $szExConnectWMIOpException, if ($fFatalWMIVolumeError and $fExWinVer2003, $szExConnectWMIVolumeException, $szExConnectWMILogicalException))" AlwaysEvaluate="True"/>
											<Rule Name="fClusterServiceRunning" Query="$fClusterServiceRunningKey" AlwaysEvaluate="True">
												<Variable Name="varClusterServiceRunning" Scope="Children"/>
											</Rule>
										</Setting>
									</Object>
									<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\Windows NT\CurrentVersion">
										<Rule Name="szExConnectRegException" Query="../Exception/@Message"/>
										<Rule Name="fFatalRegistyError" Query="../Exception/@Message"/>
										<Setting Key1="CurrentVersion">
											<Rule Name="fExWinVer2000" Query="$.='5.0'"/>
											<Rule Name="fExWinVer2003" Query="$.='5.2'"/>
											<Rule Name="fExWinVerNT4" Query="$.='4.0'" Error="None" Title="Exchange è in esecuzione su Windows NT 4.0 Server" Text="Sul server {2} è in esecuzione Windows NT 4.0 Server." P2="$szExNetBIOSName"/>
										</Setting>
									</Object>
									<Object Type="WMI" Key1="%varExName%" Key3="Win32_OperatingSystem" Key5="*">
										<Rule Name="szExConnectWMIOpException" Query="../Exception/@Message"/>
										<Rule Name="fFatalWMIOpError" Query="../Exception/@Message"/>
										<Setting Key1="OSProductSuite">
											<Rule Name="fWin2003Dtc" Query="$fExWinVer2003 and bitwise-and($.,128)" Error="None" Title="Windows Server 2003 Datacenter Edition" Text="Sul server {2} è in esecuzione Windows Server 2003 Datacenter Edition." P2="$szExNetBIOSName"/>
											<Rule Name="fWin2003Ent" Query="$fExWinVer2003 and bitwise-and($.,2)" Error="None" Title="Windows Server 2003 Enterprise Edition" Text="Sul server {2} è in esecuzione Windows Server 2003 Enterprise Edition." P2="$szExNetBIOSName"/>
											<Rule Name="fWin2003Sbs" Query="$fExWinVer2003 and bitwise-and($.,1)" Error="None" Title="Windows Server 2003 Small Business Edition" Text="Sul server {2} è in esecuzione Windows Server 2003 Small Business Edition." P2="$szExNetBIOSName"/>
											<Rule Name="fWin2003Std" Query="$fExWinVer2003 and not (bitwise-and($.,2)) and not (bitwise-and($.,1))" Error="None" Title="Windows Server 2003 Standard Edition" Text="Sul server {2} è in esecuzione Windows Server 2003 Standard Edition." P2="$szExNetBIOSName"/>
											<Rule Name="fWin2000Dtc" Query="$fExWinVer2000 and bitwise-and($.,128)" Error="None" Title="Windows 2000 Datacenter Server" Text="Sul server {2} è in esecuzione Windows 2000 Datacenter Server." P2="$szExNetBIOSName"/>
											<Rule Name="fWin2000Adv" Query="$fExWinVer2000 and bitwise-and($.,2)" Error="None" Title="Windows 2000 Advanced Server" Text="Sul server {2} è in esecuzione Windows 2000 Advanced Server." P2="$szExNetBIOSName"/>
											<Rule Name="fWin2000Sbs" Query="$fExWinVer2000 and bitwise-and($.,1)" Error="None" Title="Windows 2000 Small Business Server" Text="Sul server {2} è in esecuzione Windows 2000 Small Business Server." P2="$szExNetBIOSName"/>
											<Rule Name="fWin2000Std" Query="$fExWinVer2000 and not (bitwise-and($.,2)) and not (bitwise-and($.,1))" Error="None" Title="Windows 2000 Server Standard Edition" Text="Sul server {2} è in esecuzione Windows 2000 Server Standard Edition." P2="$szExNetBIOSName"/>
										</Setting>
									</Object>
									<!-- Let's check if this is a cluster or not -->
									<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='ClusSvc'">
										<Setting Key1="StartName"/>
										<Setting Key1="Started">
											<Rule Name="iStatExchangeCluster" Query="count($.)"/>
											<Rule Name="fClusterServiceRunningKey" Query="$.='True'" Error="None" Title="Server cluster di Exchange" Text="Il server {2} è un nodo di un cluster di server Exchange." P2="$szExNetBIOSName"/>
										</Setting>
									</Object>
									<Object Type="Group" Name="Server Hardware Configuration">
										<!-- We need an array of logical drives including mount points and get them both from Win32_Volume (can be used against W2K3 detecting mount points) and Win32_LogicalDisk (can be used against W2K) -->
										<Object Type="WMI" Key1="%varExName%" Key3="Win32_Volume">
											<Rule Name="szExConnectWMIVolumeException" Query="../Exception/@Message"/>
											<Rule Name="fFatalWMIVolumeError" Query="../Exception/@Message"/>
											<Setting Key1="Name">
												<Rule Name="szVolume" Query="substring($.,1,string-length($.)-1)"/>
											</Setting>
										</Object>
										<Object Type="WMI" Key1="%varExName%" Key3="Win32_LogicalDisk">
											<Rule Name="szExConnectWMILogicalException" Query="../Exception/@Message"/>
											<Rule Name="fFatalWMILogicalError" Query="../Exception/@Message"/>
											<Setting Key1="Name">
												<Rule Name="szLogicalDisk" Query="$."/>
											</Setting>
										</Object>

										<Object Type="WMI" Key1="%varExName%" Key3="Win32_ComputerSystem">
											<Setting Key1="Manufacturer"/>
											<Setting Key1="Model"/>
											<Setting Key1="NumberOfProcessors"/>
											<Setting Key1="SystemType"/>
											<Setting Key1="TotalPhysicalMemory"/>
											<Setting Key1="PartOfDomain"/>
											<Setting Key1="Domain"/>
											<Setting Key1="DomainRole"/>
										</Object>

										<Object Type="WMI" Key1="%varExName%" Key3="Win32_NetworkAdapterConfiguration" Key4="IPEnabled='TRUE'">
											<Setting Key1="Caption"/>
											<Setting Key1="DHCPEnabled"/>
											<Setting Key1="DNSDomain"/>
											<Setting Key1="DNSDomainSuffixSearchOrder"/>
											<Setting Key1="DNSServerSearchOrder"/>
											<Setting Key1="DomainDNSRegistrationEnabled"/>
											<Setting Key1="FullDNSRegistrationEnabled"/>
											<Setting Key1="IPConnectionMetric"/>
											<Setting Key1="IPFilterSecurityEnabled"/>
											<Setting Key1="IPAddress"/>
											<Setting Key1="IPConnectionMetric"/>
											<Setting Key1="IPSecPermitIPProtocols"/>
											<Setting Key1="IPSecPermitTCPPorts"/>
											<Setting Key1="IPSecPermitUDPPorts"/>
											<Setting Key1="IPSubnet"/>
											<Setting Key1="MACAddress" Substitution="MACADDRESS"/>
											<Setting Key1="SettingID"/>
											<Object Type="WMI" Key1="%varExName%" Key3="Win32_NetworkAdapter" Key4="MACADDRESS='%MACADDRESS%'">
												<Setting Key1="AdapterType"/>
												<Setting Key1="NetConnectionID"/>
												<Setting Key1="TimeOfLastReset"/>
											</Object>
										</Object>
									</Object>

									<!--Start Exchange 2007 Information-->
									<Object Type="If" Name="Exchange Server 2007 Information" Key1="contains ('%EXVERSION%', 'Version 8.0')">
										<Setting Key1="true()">
											<Rule Name="szE12RCPTAddress" Query="slice(join(',', $szE12TestRCPTAddress), ',' , 0)">
												<Variable Name="varRCPTAddress" Scope="Children"/>
											</Rule>
											<Rule Name="szAllE12ConcatRCPTAddressServerBindingList" Query="pack($szE12ConcatRCPTAddressServerBindingList)">
												<Variable Name="varAllConcatRCPTAddressServerBindingList" Scope="Children"/>
											</Rule>
											<Rule Name="szAllE12SMTPLogicalDisks" Query="pack($szE12SMTPLogicalDisks)">
												<Variable Name="varAllSMTPLogicalDisks" Scope="Children"/>
											</Rule>
											<Rule Name="szAllE12SMTPInstanceName" Query="pack($szReceiveConnectorName)">
												<Variable Name="varAllSMTPInstanceName" Scope="Children"/>
											</Rule>
											<Rule Name="szAllE12SMTPInstance" Query="pack($szReceiveConnectorName)">
												<Variable Name="varAllSMTPInstance" Scope="Children"/>
											</Rule>
											<Rule Name="szAllE12SMTPInstanceFQDN" Query="pack($szE12SMTPInstanceFQDN)">
												<Variable Name="varAllSMTPInstanceFQDN" Scope="Children"/>
											</Rule>
										</Setting>
										<Object Type="MonadCommand" Name="Identity" Key1="get-ExchangeServer -DomainController %varDCName% -Identity %varExName% -status">
											<Setting Key1="IsHubTransportServer">
												<Rule Name="fIsHubTransportServer" Query="upper-case($.)='TRUE'">
													<Variable Name="varIsHubTransportServer" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="IsClientAccessServer">
												<Rule Name="fIsClientAccessServer" Query="upper-case($.)='TRUE'">
													<Variable Name="varIsClientAccessServer" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="IsEdgeServer">
												<Rule Name="fIsEdgeServer" Query="upper-case($.)='TRUE'">
													<Variable Name="varIsEdgeServer" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="IsMailboxServer">
												<Rule Name="fIsMailboxServer" Query="upper-case($.)='TRUE'">
													<Variable Name="varIsMailboxServer" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="IsUnifiedMessagingServer">
												<Rule Name="fIsUnifiedMessagingServer" Query="upper-case($.)='TRUE'">
													<Variable Name="varIsUnifiedMessagingServer" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="IsMemberOfCluster">
												<Rule Name="fIsMemberOfCluster" Query="upper-case($.)='YES'">
													<Variable Name="varIsMemberOfCluster" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="Site">
												<Rule Name="szSiteIdentity" Query="$." Error="None" Title="Sito Active Directory" Text="'{3}' è nel sito Active Directory '{2}'." P2="$." S3="%varExName%">
													<Variable Name="varSiteIdentity" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="Site.ObjectGuid">
												<Rule Name="szSiteGuid" Query="$.">
													<Variable Name="varSiteGuid" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="CurrentConfigDomainController">
												<Rule Name="fCurrentConfigDomainController" Query="$." Error="None" Title="Controller di dominio di configurazione corrente" Text="'{3}' utilizza '{2}' come controller di dominio per i dati di configurazione." P2="$." S3="%varExName%">
													<Variable Name="varCurrentConfigDomainController" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="CurrentDomainControllers"/>
											<Setting Key1="CurrentGlobalCatalogs"/>
											<Setting Key1="StaticDomainControllers"/>
											<Setting Key1="StaticGlobalCatalogs"/>
											<Setting Key1="StaticConfigDomainController"/>
											<Setting Key1="StaticExcludedDomainControllers"/>
											<Setting Key1="WhenChanged"/>
											<Setting Key1="OriginatingServer"/>
										</Object>
										<Object Type="Directory" Key1="GC://%varDCName%/" Key2="%ROOTDOMAINDN%" Key3="(&amp;(objectCategory=computer)(ServicePrincipalName=SMTPSVC/%RESOLVEDEXFQDN%))" Key4="Subtree">
											<Setting Key1="ServicePrincipalName"/>
										</Object>
										<!-- Determine the recipient mailbox for the test mail -->
										<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Microsoft System Attendant,%DN%">
											<Setting Key1="mail">
												<Rule Name="szTargetServerSystemAddress" Query="$."/>
											</Setting>
										</Object>
										<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%" Key3="(&amp;(objectCategory=exchangeAdminService)(cn=Microsoft System Attendant))">
											<Setting Key1="distinguishedName" Substitution="SYSTEMMBXDN"/>
											<Setting Key1="mail" Substitution="SYSTEMMBXADDRESS"/>
											<Object Type="If" Key1="contains('%SYSTEMMBXDN%', 'FYDIBOHF23SPDLT')">
												<Setting Key1="'%SYSTEMMBXADDRESS%'">
													<Rule Name="szOtherServerSystemAddress" Query="$."/>
												</Setting>
											</Object>
											<Rule Name="szE12TestRCPTAddress" Query="if(matches(@S1,'^.+@.+$'),@S1,if(count($szTargetServerSystemAddress) &gt;0,$szTargetServerSystemAddress,($szOtherServerSystemAddress)[1]))" S1="%varTestMailAddress%" AlwaysEvaluate="True"/>
										</Object>
										<!--Test-ServiceHealth does not support -DomainController parameter-->
										<Object Type="MonadCommand" Name="Test-ServiceHealth Results" Key1="test-ServiceHealth -Server %varExName%">
											<Setting Key1="Role">
												<Rule Name="szRole" Query="$."/>
											</Setting>
											<Setting Key1="ServicesRunning">
												<Rule Name="szServicesRunning" Query="$."/>
												<Rule Name="fPopServiceRunning" Query="$.[contains(.,'MSExchangePOP3')]"/>
												<Rule Name="fImapServiceRunning" Query="$.[contains(.,'MSExchangeIMAP4')]"/>
												<Rule Name="fW3ServiceRunning" Query="$.[contains(.,'W3Svc')]"/>
												<Rule Name="fISServiceRunning" Query="$.[contains(.,'MSExchangeIS')]"/>
												<Rule Name="fSubmissionServiceRunning" Query="$.[contains(.,'MSExchangeMailSubmission')]"/>
												<Rule Name="fADTopologyServiceRunning" Query="$.[contains(.,'MSExchangeADTopology')]"/>
												<Rule Name="fEdgeSyncServiceRunning" Query="$.[contains(.,'MSExchangeEdgeSync')]"/>
												<Rule Name="fMessageTrackingLogServiceRunning" Query="$.[contains(.,'MSExchangeTransportLogSearch')]"/>
												<Rule Name="fTransportServiceRunning" Query="$.[.='MSExchangeTransport']"/>
												<Rule Name="fUnifiedMessagingServiceRunning" Query="$.[contains(.,'MSExchangeUM')]"/>

												<Rule Name="fMessageTrackingLogServiceEnabled" Query="$fMessageTrackingLogServiceRunning and ($fIsEdgeServer or $fIsHubTransportServer)"/>
												<Rule Name="fEdgeTransportEnabled" Query="$fTransportServiceRunning and $fIsEdgeServer" Error="None" Title="Trovato ruolo server Trasporto Edge" Text="Sul server {3} è stato rilevato il ruolo server Trasporto Edge e sono stati avviati i servizi necessari." S3="%varExName%"/>
												<Rule Name="fHubTransportEnabled" Query="$fTransportServiceRunning and $fADTopologyServiceRunning and $fIsHubTransportServer" Error="None" Title="Trovato ruolo server Trasporto Hub" Text="Sul server {3} è stato rilevato il ruolo server Trasporto Hub e sono stati avviati i servizi necessari." S3="%varExName%"/>
												<Rule Name="fStoreServiceEnabled" Query="$fISServiceRunning and $fSubmissionServiceRunning and $fIsMailboxServer" Error="None" Title="Trovato ruolo server Cassette postali" Text="Sul server {3} è stato rilevato il ruolo server Cassette postali e sono stati avviati i servizi necessari." S3="%varExName%"/>
												<Rule Name="fClientAccessEnabled" Query="$fW3ServiceRunning and $szRole = 'Client Access Role'" Error="None" Title="Trovato ruolo server Accesso client" Text="Sul server {3} è stato rilevato il ruolo server Accesso client e sono stati avviati i servizi necessari." S3="%varExName%"/>
												<Rule Name="fUnifiedMessagingEnabled" Query="$fUnifiedMessagingServiceRunning and $fIsUnifiedMessagingServer" Error="None" Title="Trovato ruolo server Messaggistica unificata" Text="Sul server {3} è stato rilevato il ruolo server Messaggistica unificata e sono stati avviati i servizi necessari." S3="%varExName%"/>
											</Setting>
											<Setting Key1="ServicesNotRunning">
												<Rule Name="fW3ServiceNotRunning" Query="$.[contains(.,'W3Svc')]"/>
												<Rule Name="szW3ServiceNotRunning" Query="if ($fW3ServiceNotRunning, ' W3Svc', '')"/>
												<Rule Name="fISServiceNotRunning" Query="$.[contains(.,'MSExchangeIS')]"/>
												<Rule Name="szISNotRunning" Query="if ($fISServiceNotRunning, ' MSExchangeIS', '')"/>
												<Rule Name="fSubmissionServiceNotRunning" Query="$.[contains(.,'MSExchangeMailSubmission')]"/>
												<Rule Name="szSubmissionServiceNotRunning" Query="if ($fSubmissionServiceNotRunning, ' MSExchangeMailSubmission', '')"/>
												<Rule Name="fADTopologyServiceNotRunning" Query="$.[contains(.,'MSExchangeADTopology')]"/>
												<Rule Name="szADTopologyServiceNotRunning" Query="if ($fADTopologyServiceNotRunning, ' MSExchangeADTopology', '')"/>
												<Rule Name="fEdgeSyncServiceNotRunning" Query="$.[contains(.,'MSExchangeEdgeSync')]"/>
												<Rule Name="szEdgeSyncNotRunning" Query="if ($fEdgeSyncServiceNotRunning, ' MSExchangeEdgeSync', '')"/>
												<Rule Name="fMessageTrackingLogServiceNotRunning" Query="$.[contains(.,'MSExchangeTransportLogSearch')]"/>
												<Rule Name="szMessageTrackingLogServiceNotRunning" Query="if ($fMessageTrackingLogServiceNotRunning, ' MSExchangeTransportLogSearch', '')"/>
												<Rule Name="fTransportServiceNotRunning" Query="$.[.='MSExchangeTransport']"/>
												<Rule Name="szTransportServiceNotRunning" Query="if ($fTransportServiceNotRunning, ' MSExchangeTransport', '')"/>
												<Rule Name="fUnifiedMessagingServiceNotRunning" Query="$.[contains(.,'MSExchangeUM')]"/>
												<Rule Name="szUnifiedMessagingServiceNotRunning" Query="if ($fUnifiedMessagingServiceNotRunning, ' MSExchangeUM', '')"/>

												<Rule Name="fMessageTrackingLogServiceNotEnabled" Query="$fMessageTrackingLogServiceNotRunning and ($fIsEdgeServer or $fIsHubTransportServer)"/>
												<Rule Name="fEdgeTransportNotEnabled" Query="$fTransportServiceNotRunning and $fIsEdgeServer" Error="Error" Sev="1" Title="È stato rilevato il ruolo server Trasporto Edge e uno o più servizi necessari non sono stati avviati" Text="Sul server {3} è stato rilevato il ruolo server Trasporto Edge e i servizi seguenti non sono stati avviati: {4}. È necessario avviare questi servizi affinché il flusso di posta funzioni correttamente." S3="%varExName%" P4="$szTransportServiceNotRunning"/>
												<Rule Name="fHubTransportNotEnabled" Query="($fTransportServiceNotRunning or $fADTopologyServiceNotRunning) and $fIsHubTransportServer" Error="Error" Sev="1" Title="È stato rilevato il ruolo server Trasporto Hub e uno o più servizi necessari non sono stati avviati" Text="Sul server {3} è stato rilevato il ruolo server Trasporto Hub e i servizi seguenti non sono stati avviati: {4}{5}. È necessario che questi servizi siano in esecuzione affinché il flusso di posta funzioni correttamente." S3="%varExName%" P4="$szTransportServiceNotRunning" P5="$szADTopologyServiceNotRunning"/>
												<Rule Name="fStoreServiceNotEnabled" Query="($fISServiceNotRunning or $fSubmissionServiceNotRunning) and $fIsMailboxServer" Error="Error" Sev="1" Title="È stato rilevato il ruolo server Cassette postali e uno o più servizi necessari non sono stati avviati" Text="Sul server {3} è stato rilevato il ruolo server Cassette postali e i servizi seguenti non sono stati avviati: {4}{5}." S3="%varExName%" P4="$szISNotRunning" P5="$szSubmissionServiceNotRunning"/>
												<Rule Name="fClientAccessNotEnabled" Query="$fW3ServiceNotRunning and $fIsClientAccessServer" Error="Warning" Sev="1" Title="È stato rilevato il ruolo server Accesso client e uno o più servizi necessari non sono stati avviati" Text="Sul server {3} è stato rilevato il ruolo server Accesso client e i servizi seguenti non sono stati avviati: {4}. È necessario che tali servizi siano avviati per accedere alla posta tramite i client non MAPI appropriati." S3="%varExName%" P4="$szW3ServiceNotRunning"/>
												<Rule Name="fUnifiedMessagingNotEnabled" Query="$fUnifiedMessagingServiceNotRunning and $fIsUnifiedMessagingServer" Error="Warning" Sev="1" Title="È stato rilevato il ruolo server Messaggistica unificata e uno o più servizi necessari non sono stati avviati" Text="Sul server {3} è stato rilevato il ruolo server Messaggistica unificata e i servizi seguenti non sono stati avviati: {4}. È necessario che questi servizi siano in esecuzione affinché i fax e i messaggi vocali in ingresso siano recapitati." S3="%varExName%" P4="$szUnifiedMessagingServiceNotRunning"/>
											</Setting>
										</Object>
										<Object Type="MonadCommand" Name="Organization Transport Configuration" Key1="get-TransportConfig -DomainController %varDCName%">
											<Setting Key1="GenerateCopyOfDSNFor"/>
											<Setting Key1="JournalingReportNdrTo"/>
											<Setting Key1="MaxDumpsterSizePerStorageGroup"/>
											<Setting Key1="MaxDumpsterTime"/>
											<Setting Key1="ClearCategories"/>
											<Setting Key1="VoicemailJournalingEnabled"/>
											<Setting Key1="Xexch50Enabled"/>
											<Setting Key1="InternalSMTPServers"/>
											<Setting Key1="MaxReceiveSize"/>
											<Setting Key1="MaxSendSize"/>
											<Setting Key1="MaxRecipientEnvelopeLimit"/>
											<Setting Key1="TLSReceiveDomainSecureList"/>
											<Setting Key1="TLSSendDomainSecureList"/>
											<Setting Key1="VerifySecureSubmitEnabled"/>
										</Object>

										<Object Type="MonadCommand" Name="Identity" Key1="get-ExchangeServer -DomainController %varDCName% -Identity %varExName%">
											<Setting Key1="IsHubTransportServer" Substitution="IsHubTransportServer"/>
											<Setting Key1="IsEdgeServer" Substitution="IsEdgeServer"/>

											<Object Type="If" Name="Hub Transport Settings" Key1="'%IsEdgeServer%'='True' or '%IsHubTransportServer%'='True'">
												<Object Type="MonadCommand" Name="Name" Key1="get-TransportServer -DomainController %varDCName% -Identity %varExName%">
													<Setting Key1="MessageTrackingLogPath">
														<Rule Name="szMessageTrackingLogPath" Query="$."/>
														<Rule Name="szE12MessageTrackingDrive" Query="longest-starts-with($.,$szAllDrives)"/>
													</Setting>
													<Setting Key1="MessageTrackingLogEnabled">
														<Rule Name="fE12MessageTrackingEnabledAndRunning" Query="upper-case($.)='TRUE' and $fMessageTrackingLogServiceEnabled" Error="None" Title="Verifica messaggi abilitata" Text="La verifica messaggi è abilitata nel server {2}, il servizio registro è avviato e i file di registro si trovano in '{3}'." P2="$szExNetBIOSName" P3="$szMessageTrackingLogPath"/>
														<Rule Name="fE12MessageTrackingEnabledAndNotRunning" Query="upper-case($.)='TRUE' and $fMessageTrackingLogServiceNotEnabled" Error="Warning" Title="Verifica messaggi abilitata" Text="La verifica messaggi è abilitata nel server {2}, tuttavia il servizio registro '{4}' non è avviato. Non è possibile eseguire query alla verifica messaggi finché non viene avviato il servizio." P2="$szExNetBIOSName" P4="$szMessageTrackingLogServiceNotRunning"/>
														<Rule Name="fE12MessageTrackingDisabled" Query="upper-case($.)='FALSE'" Error="Error" Sev="1" Title="Verifica messaggi disabilitata" Text="La verifica messaggi è disabilitata nel server {2}. È necessario abilitarla per condurre test del flusso di posta. Non è possibile eseguire query alla verifica messaggi finché non viene avviato il servizio. È possibile abilitarlo in Exchange Management Shell eseguendo il comando &quot;set-TransportServer -Identify {2} -MessageTrackingLogEnabled:$True&quot;." P2="$szExNetBIOSName"/>
													</Setting>
													<Setting Key1="PickupDirectoryPath">
														<Rule Name="szPickupDirectoryPath" Query="$."/>
														<Rule Name="szE12PickUpDrive" Query="longest-starts-with($.,$szAllDrives)" Error="None" Title="La cartella di prelievo SMTP è nel disco logico {4}" Text="La cartella di prelievo nel server {2} si trova in {5}." P2="$szExNetBIOSName" P4="$szE12PickUpDrive" P5="$szPickupDirectoryPath"/>
													</Setting>
													<Setting Key1="RoutingTableLogPath">
														<Rule Name="szE12RoutingTableDrive" Query="longest-starts-with($.,$szAllDrives)"/>
													</Setting>
													<Setting Key1="AntispamAgentsEnabled"/>
													<Setting Key1="DelayNotificationTimeout"/>
													<Setting Key1="ConnectivityLogPath">
														<Rule Name="szConnectivityLogPath" Query="$."/>
														<Rule Name="szConnectivityLogDrive" Query="longest-starts-with($.,$szAllDrives)"/>
													</Setting>
													<Setting Key1="ConnectivityLogEnabled">
														<Rule Name="fConnectivityLogEnabled" Query="upper-case($.)='TRUE'" Error="None" Title="La registrazione connettività è abilitata" Text="La cartella del registro connettività nel server {2} è {3}." P2="$szExNetBIOSName" P3="$szConnectivityLogPath"/>
													</Setting>
													<Setting Key1="ConnectivityLogMaxAge"/>
													<Setting Key1="ConnectivityLogMaxDirectorySize"/>
													<Setting Key1="ConnectivityLogMaxFileSize"/>
													<Setting Key1="ExternalDelayDsnEnabled"/>
													<Setting Key1="ExternalDNSAdapterEnabled"/>
													<Setting Key1="ExternalDNSAdapterGuid"/>
													<Setting Key1="ExternalDNSProtocolOption"/>
													<Setting Key1="ExternalDNSServers"/>
													<Setting Key1="ExternalIPAddress"/>
													<Setting Key1="ExternalDsnDefaultLanguage"/>
													<Setting Key1="ExternalDsnLanguageDetectionEnabled"/>
													<Setting Key1="ExternalDsnMaxMessageAttachSize"/>
													<Setting Key1="ExternalDsnReportingAuthority"/>
													<Setting Key1="ExternalDsnSendHtml"/>
													<Setting Key1="ExternalPostmasterAddress"/>
													<Setting Key1="InternalDelayDsnEnabled"/>
													<Setting Key1="InternalDNSAdapterEnabled"/>
													<Setting Key1="InternalDNSAdapterGuid"/>
													<Setting Key1="InternalDNSProtocolOption"/>
													<Setting Key1="InternalDNSServers"/>
													<Setting Key1="InternalDsnDefaultLanguage"/>
													<Setting Key1="InternalDsnLanguageDetectionEnabled"/>
													<Setting Key1="InternalDsnMaxMessageAttachSize"/>
													<Setting Key1="InternalDsnReportingAuthority"/>
													<Setting Key1="InternalDsnSendHtml"/>
													<Setting Key1="MaxConcurrentMailboxDeliveries"/>
													<Setting Key1="MaxConcurrentMailboxSubmissions"/>
													<Setting Key1="MaxConnectionRatePerMinute"/>
													<Setting Key1="MaxOutboundConnections"/>
													<Setting Key1="MaxPerDomainOutboundConnections"/>
													<Setting Key1="MessageTrackingLogMaxAge"/>
													<Setting Key1="MessageTrackingLogMaxDirectorySize"/>
													<Setting Key1="MessageTrackingLogMaxFileSize"/>
													<Setting Key1="MessageTrackingLogSubjectLoggingEnabled"/>
													<Setting Key1="MessageExpirationTimeout"/>
													<Setting Key1="MessageRetryInterval"/>
													<Setting Key1="OutboundConnectionFailureRetryInterval"/>
													<Setting Key1="IntraOrgConnectorProtocolLoggingLevel"/>
													<Setting Key1="ContentConversionTracingEnabled"/>
													<Setting Key1="PipelineTracingEnabled"/>
													<Setting Key1="PipelineTracingPath"/>
													<Setting Key1="PipelineTracingSenderAddress"/>
													<Setting Key1="PoisonMessageDetectionEnabled"/>
													<Setting Key1="PoisonThreshold"/>
													<Setting Key1="QueueMaxIdleTime"/>
													<Setting Key1="ReceiveProtocolLogMaxAge"/>
													<Setting Key1="ReceiveProtocolLogMaxDirectorySize"/>
													<Setting Key1="ReceiveProtocolLogMaxFileSize"/>
													<Setting Key1="ReceiveProtocolLogPath"/>
													<Setting Key1="RecipientValidationCacheEnabled"/>
													<Setting Key1="ReplayDirectoryPath"/>
													<Setting Key1="RootDropDirectoryPath"/>
													<Setting Key1="RoutingTableLogMaxAge"/>
													<Setting Key1="RoutingTableLogMaxDirectorySize"/>
													<Setting Key1="SendProtocolLogMaxAge"/>
													<Setting Key1="SendProtocolLogMaxDirectorySize"/>
													<Setting Key1="SendProtocolLogMaxFileSize"/>
													<Setting Key1="SendProtocolLogPath"/>
													<Setting Key1="TransientFailureRetryCount"/>
													<Setting Key1="TransientFailureRetryInterval"/>
													<Setting Key1="Guid"/>
													<Setting Key1="WhenChanged"/>
													<Setting Key1="OriginatingServer"/>
													<Rule Name="szE12SMTPLogicalDisks" Query="concat ($szE12MessageTrackingDrive,',',$szConnectivityLogDrive,',',$szE12PickUpDrive)" AlwaysEvaluate="True"/>
												</Object>
												<Object Type="MonadCommand" Name="Identity" Key1="get-ReceiveConnector -DomainController %varDCName% -Server %varExName%">
													<Setting Key1="Name">
														<Rule Name="szReceiveConnectorName" Query="$."/>
													</Setting>
													<Setting Key1="BinaryMimeEnabled"/>
													<Setting Key1="Bindings">
														<Rule Name="szE12ConcatRCPTAddressServerBindingList" Query="concat($szE12TestRCPTAddress, ',%varTestMailFromAddress%,', $.)"/>
													</Setting>
													<Setting Key1="Fqdn">
														<Rule Name="szE12SMTPInstanceFQDN" Query="$."/>
													</Setting>
													<Setting Key1="AuthMechanism"/>
													<Setting Key1="ChunkingEnabled"/>
													<Setting Key1="DefaultDomain"/>
													<Setting Key1="DeliveryStatusNotificationEnabled"/>
													<Setting Key1="EightBitMimeEnabled"/>
													<Setting Key1="DomainSecureEnabled"/>
													<Setting Key1="EnhancedStatusCodesEnabled"/>
													<Setting Key1="Enabled"/>
													<Setting Key1="ConnectionTimeout"/>
													<Setting Key1="ConnectionInactivityTimeout"/>
													<Setting Key1="MessageRateLimit"/>
													<Setting Key1="MaxInboundConnection"/>
													<Setting Key1="MaxInboundConnectionPerSource"/>
													<Setting Key1="MaxInboundConnectionPercentagePerSource"/>
													<Setting Key1="MaxHeaderSize"/>
													<Setting Key1="MaxHopCount"/>
													<Setting Key1="MaxLocalHopCount"/>
													<Setting Key1="MaxLogonFailures"/>
													<Setting Key1="MaxMessageSize"/>
													<Setting Key1="MaxProtocolErrors"/>
													<Setting Key1="MaxRecipientsPerMessage"/>
													<Setting Key1="PermissionGroups"/>
													<Setting Key1="PipeliningEnabled"/>
													<Setting Key1="ProtocolLoggingLevel"/>
													<Setting Key1="RemoteIPRanges"/>
													<Setting Key1="RequireEHLODomain"/>
													<Setting Key1="RequireTLS"/>
													<Setting Key1="Server"/>
													<Setting Key1="SizeEnabled"/>
													<Setting Key1="TarpitInterval"/>
													<Setting Key1="Guid"/>
													<Setting Key1="WhenChanged"/>
													<Setting Key1="OriginatingServer"/>
												</Object>
											</Object>
										</Object>
									</Object>
									<!--End Exchange 2007 Information-->
									<!--Start Exchange 2000/2003 Information-->
									<Object Type="If" Name="Exchange200xInfo" Key1="contains('%EXVERSION%', 'Version 6')">
										<Setting Key1="true()">
											<Rule Name="szLegacyRCPTAddress" Query="slice(join(',', $szTestRCPTAddress), ',' , 0)">
												<Variable Name="varRCPTAddress" Scope="Children"/>
											</Rule>
											<Rule Name="szAllLegacyConcatRCPTAddressServerBindingList" Query="pack($szConcatRCPTAddressServerBindingList)">
												<Variable Name="varAllConcatRCPTAddressServerBindingList" Scope="Children"/>
											</Rule>
											<Rule Name="szAllLegacySMTPQueueDirectory" Query="pack($szQueueDirectory)">
												<Variable Name="varAllSMTPQueueDirectory" Scope="Children"/>
											</Rule>
											<Rule Name="szAllLegacySMTPLogicalDisks" Query="pack($szSMTPLogicalDisks)">
												<Variable Name="varAllSMTPLogicalDisks" Scope="Children"/>
											</Rule>
											<Rule Name="szAllLegacySMTPInstanceName" Query="pack($szSMTPInstanceName)">
												<Variable Name="varAllSMTPInstanceName" Scope="Children"/>
											</Rule>
											<Rule Name="szAllLegacySMTPInstance" Query="pack($szSMTPInstance)">
												<Variable Name="varAllSMTPInstance" Scope="Children"/>
											</Rule>
											<Rule Name="szAllLegacySMTPInstanceFQDN" Query="pack($szSMTPInstanceFQDN)">
												<Variable Name="varAllSMTPInstanceFQDN" Scope="Children"/>
											</Rule>
										</Setting>
										<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%DN%" Key3="objectClass=protocolCfgSMTPServer">
											<Rule Name="szExConnectDirectorySMTPException" Query="../Exception/@Message"/>
											<Rule Name="fFatalDirectorySMTPError" Query="../Exception/@Message"/>
											<Setting Key1="adminDisplayName" Retrieve="FailHard">
												<Rule Name="szSMTPInstanceName" Query="$." Error="None" Title="Istanza SMTP '{3}' rilevata" Text="L'istanza SMTP '{3}' è stata rilevata nel server {2}." P2="$szExNetBIOSName" P3="$."/>
											</Setting>
											<Setting Key1="name" Substitution="SMTPINSTANCE">
												<Rule Name="szSMTPInstance" Query="$."/>
											</Setting>
											<Setting Key1="msExchSmtpFullyQualifiedDomainName">
												<Rule Name="szSMTPInstanceFQDN" Query="$." Error="None" Title="Nome di dominio completo (FQDN) dell'istanza SMTP" Text="Il nome di dominio completo (FQDN) dell'istanza SMTP '{3}' sul server {2} è {1}." P1="$." P2="$szExNetBIOSName" P3="$szSMTPInstanceName"/>
												<Rule Name="fDefaultSMTPNoMatchNetWorkAddress" Query="$szSMTPInstance='1' and lower-case($.)!=lower-case($szExFQDN)" Error="Warning" Sev="2" Title="Il nome di dominio completo dell'istanza SMTP non corrisponde al nome del server" Text="Il nome di dominio completo del server virtuale SMTP '{3}' nel server {2} non corrisponde al nome di dominio completo del server. Potrebbero verificarsi problemi nel routing della posta. Server virtuale SMTP: {1}. Server: {4}." P1="$." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" P4="$szExFQDN" GUID="391087ca-4544-4c26-a9b3-51bc46328bf4"/>
												<Rule Name="fDefaultSMTPNoMatchResolvedName" Query="not(count($szResolvedExFQDN)=0 or $szResolvedExFQDN='') and contains($szResolvedExFQDN, '.') and $szSMTPInstance='1' and lower-case($.)!=lower-case($szResolvedExFQDN)" Error="Warning" Sev="2" Title="Il nome di dominio completo dell'istanza SMTP non corrisponde al nome server DNS risolto" Text="Il nome di dominio completo del server virtuale SMTP '{3}' nel server {2} non corrisponde al nome server DNS risolto. Potrebbero verificarsi problemi nel routing della posta. Server virtuale SMTP: {1}. Nome server DNS risolto: {4}." P1="$." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" P4="$szResolvedExFQDN" GUID="ecf8effc-c1fb-4d5f-ac9c-c91a46468107"/>
											</Setting>
											<Setting Key1="msExchSmtpSmartHost">
												<Rule Name="fSMTPInstanceSmartHostSet" Query="$.!=''" Error="Warning" Sev="1" Title="SmartHost è impostato sull'istanza SMTP" Text="L'istanza SMTP '{3}' sul server {2} è configurata in modo da instradare tutti i messaggi tramite SmartHost '{1}'. Se non impostata correttamente, questa opzione può provocare problemi di flusso della posta. Se si imposta un server SMTP esterno come SmartHost, assicurarsi che l'istanza SMTP non prelevi nessun messaggio diretto a destinatari locali." P1="$." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" GUID="8e853999-f072-466f-bd72-923c6d7447a6"/>
											</Setting>
											<!-- Check the metabase to get the SMTP VS info -->

											<Object Type="Metabase" Key1="%varExName%" Key2="LM/SmtpSvc/%SMTPINSTANCE%" Timeout="%300" SecurityContext="EXLOGON">
												<Rule Name="szExConnectMetabaseException" Query="../Exception/@Message"/>
												<Rule Name="fFatalMetabaseError" Query="../Exception/@Message"/>
												<Setting Key1="1023" Key2="ServerBindings" Substitution="SERVERBINDINGS" SubstitutionFormat="$----;">
													<Rule Name="fSMTPPortNot25" Query="not(contains('%SERVERBINDINGS%',':25:'))" Error="Warning" Sev="3" Title="Porta SMTP non standard" Text="L'istanza SMTP '{3}' sul server {2} non utilizza la porta 25 predefinita. Numero porta corrente: {9}." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" P9="join(';', $szSMTPPort)" GUID="ebb39e35-fe87-4464-9f2b-a62835ea04d4"/>
													<Rule Name="szServerBindingList" Query="join(';', $szServerBinding)"/>
												</Setting>
												<Setting Key1="36908" Key2="DefaultDomain" Substitution="DEFSMTPDOMAIN">
													<Rule Name="szSMTPDomain" Query="$."/>
												</Setting>
												<Setting Key1="36923" Key2="SendBadTo" Substitution="POSTMASTER">
													<Rule Name="szPostmasterMailAddress" Query="concat($.,'@',$szSMTPDomain)"/>
													<Rule Name="szTestRCPTAddress" Query="if(matches(@S1,'.+@.+'),@S1,$szPostmasterMailAddress)" S1="%varTestMailAddress%"/>
													<Rule Name="szConcatRCPTAddressServerBindingList" Query="concat($szTestRCPTAddress, ',%varTestMailFromAddress%,', $szServerBindingList)"/>
												</Setting>
												<!-- We need to know what logical disks and mountpoints the SMTP instance uses -->
												<Setting Key1="4001" Key2="LogFileDirectory">
													<Rule Name="szLogDrive" Query="longest-starts-with($.,$szAllDrives)" Error="None" Title="La cartella registro SMTP per l'istanza SMTP '{3}' è in {5}" Text="La cartella registro dell'istanza SMTP '{3}' sul server {2} si trova nel disco logico {5}." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" P5="$szLogDrive"/>
												</Setting>
												<Setting Key1="36875" Key2="QueueDirectory" Substitution="SMTPQUEUEDIR" SubstitutionFormat="\\----\\">
													<Rule Name="szQueueDrive" Query="longest-starts-with($.,$szAllDrives)" Error="None" Title="La cartella coda SMTP per l'istanza SMTP '{3}' è in {5}" Text="La cartella coda dell'istanza SMTP '{3}' sul server {2} si trova nel disco logico {5}." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" P5="$szQueueDrive"/>
													<Rule Name="szQueueDirectory" Query="upper-case('%SMTPQUEUEDIR%')"/>
												</Setting>
												<Setting Key1="36880" Key2="PickupDirectory">
													<Rule Name="szPickUpDrive" Query="longest-starts-with($.,$szAllDrives)" Error="None" Title="La cartella prelievo SMTP per l'istanza SMTP '{3}' è in {5}" Text="La cartella prelievo dell'istanza SMTP '{3}' sul server {2} si trova nel disco logico {5}." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" P5="$szPickUpDrive"/>
												</Setting>
												<Setting Key1="36909" Key2="BadMailDirectory">
													<Rule Name="szBadMailDrive" Query="longest-starts-with($.,$szAllDrives)" Error="None" Title="La cartella posta scartata SMTP per l'istanza SMTP '{3}' è in {5}" Text="La cartella posta scartata dell'istanza SMTP '{3}' sul server {2} si trova nel disco logico {5}." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" P5="$szBadMailDrive"/>
													<Rule Name="szSMTPLogicalDisks" Query="concat ($szLogDrive,',',$szQueueDrive,',',$szPickUpDrive,',',$szBadMailDrive)" AlwaysEvaluate="True"/>
												</Setting>
												<Object Type="Cache" Name="SMTPBindingCache" Key1="Add" Key2="SMTPBindingList-%SMTPINSTANCE%" Key3="%SERVERBINDINGS%" Key4=";" Display="Hide">
													<Setting Key1="ServerBinding" Format="^(.*:\d{1,5}):$----$1">
														<Rule Name="szServerBinding" Query="$."/>
													</Setting>
													<Setting Key1="SMTPPort" Format="^.*:(\d{1,5}):$----$1">
														<Rule Name="szSMTPPort" Query="$." Error="None" Title="Porta SMTP per l'istanza SMTP '{3}': {9}" Text="L'istanza SMTP '{3}' sul server {2} utilizza la porta {9}." P2="$szExNetBIOSName" P3="$szSMTPInstanceName" P9="$."/>
													</Setting>
												</Object>
											</Object>
											<Rule Name="iNumberOfSMTPInstance" Query="count($szSMTPInstance)" Error="None" Title="{9} istanze SMTP trovate" Text="Esistono {9} istanze SMTP nel server {2}." P2="$szExNetBIOSName" P9="count($szSMTPInstance)"/>
										</Object>
									</Object>
									<!--End Exchange 2000/2003 Information-->
								</Object>
							</Object>
						</Object>
					</Object>

					<Rule Name="szRetrieveBasicServerData" Query="'RetrieveBasicServerData'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fErrorConnect,string(@Title),$szExNoErrorStateText)" Title="Sono stati rilevati uno o più errori." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Recupero dati base del server completato."/>
					<Rule Name="szRetrieveBasicServerDataResult" Query="string(@Title)" Title="Informazioni base sul server">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="szAllDrives" Query="$szVolume | $szLogicalDisk" AlwaysEvaluate="True"/>

					<Rule Name="szMAILFROMAddress" Query="'%varTestMailFromAddress%'">
						<Variable Name="varMAILFROMAddress" Scope="Children"/>
					</Rule>

					<Rule Name="fErrorConnect" Query="$fFatalDirectoryError or $fDirectoryExContainerError or $fMessageTrackingDisabled or $fExConnectRegError or $fExConnectWMIError or $fExConnectDirectorySMTPError or $fExConnectMetabaseError" Error="Error" Sev="1" Title="Trovato errore irreversibile" Text="Sono stati trovati errori irreversibili. Non verranno eseguiti ulteriori passaggi." AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayRetrieveDataProcessStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="ConnectExchange" Name="fGotoConnectExchange" Query="not($fErrorConnect) and @S1='Inbound'" Priority="2" S1="%varSelSymptom%" AlwaysEvaluate="True"/>
					<Rule NextStep="SearchMessage" Name="fGotoSearchMessage" Query="not($fErrorConnect) and @S1='Outbound' and not($fExchange12)" Priority="2" S1="%varSelSymptom%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckQueueStatus" Name="fGotoCheckQueueStatus" Query="not($fErrorConnect) and @S1='Queue' and not($fExchange12)" Priority="3" S1="%varSelSymptom%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckE12QueueStatus" Name="fGotoCheckE12QueueStatus" Query="not($fErrorConnect) and @S1='Queue' and $fExchange12" Priority="4" S1="%varSelSymptom%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckMailboxRoleHealth" Name="fGotoCheckMailboxRoleHealth" Query="not($fErrorConnect) and @S1='MailboxSubmission' and $fExchange12" Priority="5" S1="%varSelSymptom%" AlwaysEvaluate="True"/>
					<Rule NextStep="GetDSNCode" Name="fGotoGetDSNCode" Query="not($fErrorConnect) and @S1='NDR'" Priority="6" S1="%varSelSymptom%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ConnectExchange" Title="Controllo connettività" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstance%" Substitution="varAllSMTPInstance" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstanceName%" Substitution="varAllSMTPInstanceName" Display="Hide"/>
			<Setting Key1="%varAllConcatRCPTAddressServerBindingList%" Substitution="varAllConcatRCPTAddressServerBindingList" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo connettività a Exchange Server" Text="Attendere. Controllo della connettività al server di Exchange {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Connectivity" Class="Area" GroupingClass="True" Display="Hide">
					<!-- Let's ping the Exchange server -->
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="Group" Name="Ping Test">
							<Object Type="Enumerator" Name="Ping" Key1="1" Key2="6" Key3="1">
								<Object Type="WMI" Key1="%varDCName%" Key3="Win32_PingStatus" Key4="Address='%varExName%' and BufferSize=4096 and Timeout=2000" SecurityContext="EXLOGON">
									<Rule Name="fNoPing" Query="count(../Instance)=0"/>
									<Setting Key1="ResponseTime">
										<Rule Name="iPingExRespTime" Query="$."/>
									</Setting>
									<Setting Key1="PrimaryAddressResolutionStatus"/>
									<Setting Key1="ProtocolAddress"/>
									<Setting Key1="ProtocolAddressResolved"/>
									<Setting Key1="TimeToLive"/>
									<Setting Key1="ResponseTimeToLive"/>
									<Setting Key1="NoFragmentation"/>
									<Setting Key1="BufferSize"/>
									<Setting Key1="ReplySize"/>
									<Setting Key1="RouteRecord"/>
									<Setting Key1="RouteRecordResolved"/>
									<Setting Key1="StatusCode">
										<Rule Name="fPingExSuccess" Query="$.=0"/>
									</Setting>
								</Object>
							</Object>
							<Rule Name="fPingTestSuccess" Query="count($fPingExSuccess) &gt;0" Error="None" Title="Ping riuscito" Text="Ping dal server Active Directory {1} al server Exchange {2} riuscito." S1="%varDCName%" S2="%varExName%" AlwaysEvaluate="True"/>
							<Rule Name="fPingTestError" Query="not($fPingTestSuccess or $fPingTestNotPerformed)" Error="Warning" Sev="2" Title="Ping non riuscito" Text="Ping dal server Active Directory {1} al server Exchange {2} non riuscito. Verificare se il server è operativo o meno." S1="%varDCName%" S2="%varExName%" GUID="77d140a8-1f8b-4c3c-8694-b8cb6f368d31"/>
							<Rule Name="fPingTestNotPerformed" Query="count($fNoPing)=6" Error="Warning" Sev="3" Title="Verifica ping non eseguita" Text="Ping dal server Active Directory {1} al server Exchange {2} non eseguito. A meno che il server {1} non esegue Windows 2000, potrebbe essersi verificato un problema di rete o autorizzazioni." S1="%varDCName%" S2="%varExName%" GUID="91aac86e-60e8-4b90-9453-1c209cf75fd5" AlwaysEvaluate="True"/>
						</Object>
						<!-- Next, check whether each SMTP port designated by all the SMTP virtual servers can respond or not -->
						<Object Type="Variable" Name="SMTP Port List" Key1="Unpack" Key2="%varAllConcatRCPTAddressServerBindingList%">
							<Setting Key1="__KEY" Substitution="SORTKEY"/>
							<Setting Key1="__VALUE" Substitution="SERVERBINDINGLIST" Format="^.*,.*,(.*?)$----$1">
								<Rule Name="szProbSMTPInstance" Query="if(count($fSMTPPortExError) &gt;0, unpack('%varAllSMTPInstance%', '%SORTKEY%'))"/>
								<Rule Name="szProbSMTPInstanceName" Query="if(count($fSMTPPortExError) &gt;0, unpack('%varAllSMTPInstanceName%', '%SORTKEY%'))"/>
							</Setting>
							<Object Type="Cache" Name="SMTPPortCache" Key1="Add" Key2="SMTPPortList-%SORTKEY%" Key3="%SERVERBINDINGLIST%" Key4=";" Display="Hide">
								<Setting Key1="ServerIP" Substitution="SERVERIP" Format="^(.*?):.*$----$1"/>
								<Setting Key1="SMTPPort" Substitution="SMTPPORT" Format="^.*:(\d{1,5})$----$1"/>
								<Object Type="If" Name="Substitutions" Key1="true()" Display="Hide">
									<Setting Key1="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" Substitution="SMTPINSTANCE" Display="Hide"/>
									<Setting Key1="if('%SERVERIP%'='' or '%SERVERIP%'='0.0.0.0', '%varExName%', '%SERVERIP%')" Substitution="EXSERVER" Display="Hide"/>
									<Object Type="Port" Name="SMTP Port Test" Key1="%EXSERVER%">
										<Setting Key1="%SMTPPORT%">
											<Rule Name="fSMTPPortExSuccess" Query="contains($.[2], concat(@S9,' Available'))" Error="None" Title="La porta {9} ha risposto" Text="La porta {9}, utilizzata dall'istanza SMTP '{3}', ha risposto nel server {2}." S2="%EXSERVER%" S3="%SMTPINSTANCE%" S9="%SMTPPORT%"/>
											<Rule Name="fSMTPPortExError" Query="not($fSMTPPortExSuccess)" Error="Error" Sev="1" ReportIssue="Summary" Title="La porta {9} non ha risposto" Text="La porta {9}, utilizzata dall'istanza SMTP '{3}', non ha risposto nel server {2}." S2="%EXSERVER%" S3="%SMTPINSTANCE%" S9="%SMTPPORT%" GUID="80503d53-ada9-4bc1-b6c3-1266b10de3af"/>
										</Setting>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>

					<Rule Name="szConnectExchange" Query="'ConnectExchange'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fConnectivityIssueFound,string(@Title),$szExNoErrorStateText)" Title="Sono stati rilevati uno o più errori." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Test della connettività di Exchange e Active Directory riuscito."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati test connettività di Exchange">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>
					<Rule Name="szAllProbSMTPInstance" Query="join('',pack($szProbSMTPInstance))">
						<Variable Name="varAllProbSMTPInstance" Scope="Children"/>
					</Rule>
					<Rule Name="szAllProbSMTPInstanceName" Query="join('',pack($szProbSMTPInstanceName))">
						<Variable Name="varAllProbSMTPInstanceName" Scope="Children"/>
					</Rule>

					<Rule Name="fConnectivityIssueFound" Query="$fPingTestError or count($fSMTPPortExError) &gt;0" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayExProcessStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckExchangeSMTPPort" Name="fGotoCheckExchangeSMTPPort" Query="$fConnectivityIssueFound" Priority="2" Text="- Diagnosticare la porta SMTP del server Exchange" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="MailAcceptanceTest" Name="fGotoMailAcceptanceTest" Query="true()" Priority="3" Text="- Inviare un messaggio di prova per verificare se viene accettato" Display="Hide" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckExchangeSMTPPort" Title="Controlla la porta SMTP" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varAllProbSMTPInstance%" Substitution="varAllProbSMTPInstance" Display="Hide"/>
			<Setting Key1="%varAllProbSMTPInstanceName%" Substitution="varAllProbSMTPInstanceName" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo porta SMTP in corso" Text="Attendere. Diagnosi delle impostazioni della porta SMTP del server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Connectivity" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="If" Key1="true()">
							<Setting Key1="if ('%varIsExchange12%'='1', 'MSExchangeTransport', 'SMTPSVC')" Substitution="SMTPSERVICE"/>
							<!-- Check whether the SMTP service is up and running -->
							<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='%SMTPSERVICE%'" SecurityContext="EXLOGON">
								<Setting Key1="Started">
									<Rule Name="fSMTPStarted" Query="$.='True'" Error="None" Title="Servizio SMTP in esecuzione" Text="Il servizio SMTP nel server {2} è avviato." S2="%varExName%"/>
									<Rule Name="fSMTPNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio SMTP non in esecuzione" Text="Servizio SMTP nel server {2} non in esecuzione. Per l'instradamento dei messaggi, è importante che questo servizio sia in esecuzione." S2="%varExName%" GUID="64ba818b-8789-41bb-ac20-f3eb9c7d1594"/>
								</Setting>
								<Setting Key1="StartMode">
									<Rule Name="fSMTPDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio SMTP disabilitato" Text="Il servizio SMTP nel server {2} è disabilitato. Per l'instradamento dei messaggi, è importante che questo servizio sia in esecuzione." S2="%varExName%" GUID="7e8ef54b-1be2-4955-8123-f0ddd39e0d84"/>
									<Rule Name="fSMTPManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale del servizio SMTP" Text="Il servizio SMTP nel server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' in quanto il corretto funzionamento di Exchange dipende da questo servizio." S2="%varExName%" GUID="423d680b-5861-4bcb-a512-3189c7a6a33d"/>
								</Setting>
							</Object>
							<!-- Next, check whether the SMTP virtual server is up and running -->
							<Object Type="Variable" Name="SMTP Instance List" Key1="Unpack" Key2="%varAllProbSMTPInstance%">
								<Setting Key1="__KEY" Substitution="SORTKEY"/>
								<Setting Key1="__VALUE" Substitution="SMTPINSTANCE"/>
								<Object Type="Metabase" Key1="%varExName%" Key2="LM/SmtpSvc/%SMTPINSTANCE%" Timeout="%300" SecurityContext="EXLOGON">
									<Setting Key1="1016" Key2="ServerState">
										<Rule Name="fSMTPVSStarted" Query="$.=2" Error="None" Title="Istanza SMTP avviata" Text="L'istanza SMTP '{3}' sul server {2} è avviata." S2="%varExName%" P3="unpack('%varAllProbSMTPInstanceName%', '%SORTKEY%')"/>
										<Rule Name="fSMTPVSStopped" Query="$.=4" Error="Error" Sev="1" ReportIssue="RootCause" Title="Istanza SMTP arrestata" Text="L'istanza SMTP '{3}' sul server {2} è arrestata. Il server virtuale non può instradare messaggi." S2="%varExName%" P3="unpack('%varAllProbSMTPInstanceName%', '%SORTKEY%')" GUID="369d863f-7702-4ffc-80fd-a9f86eb26ce0"/>
										<Rule Name="fSMTPVSPaused" Query="$.=6" Error="Error" Sev="2" ReportIssue="RootCause" Title="Istanza SMTP sospesa" Text="L'istanza SMTP '{3}' sul server {2} è sospesa." S2="%varExName%" P3="unpack('%varAllProbSMTPInstanceName%', '%SORTKEY%')" GUID="ca7cb622-13da-40f7-b8d8-ce020a0380c7"/>
									</Setting>
								</Object>
							</Object>
						</Object>
						<Rule Name="szCheckExchangeSMTPPort" Query="'CheckExchangeSMTPPort'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fPotentialCauseFound, string(@Title), $szExNoErrorStateText)" Title="È stato identificato un potenziale problema di accettazione della posta nel server." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Sono necessarie ulteriori indagini."/>
						<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati diagnosi porta SMTP">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fPotentialCauseFound" Query="$fSMTPNotStarted or count($fSMTPVSStopped) &gt;0 or count ($fSMTPVSPaused) &gt;0" AlwaysEvaluate="True"/>
						<Rule Name="fMoreInv" Query="not($fPotentialCauseFound)" Error="Warning" Sev="2" ReportIssue="Summary" Title="Altre cause principali" Text="Il servizio SMTP e le istanze SMTP nel server {2} sono avviate ma la porta non ha risposto. Verificare se ci sono errori di rete o servizi bloccati." S2="%varExName%"/>

						<Rule NextStep="DisplayResultsStep" Name="fCheckExchangeSMTPortStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MailAcceptanceTest" Title="Test di accettazione della posta" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstanceName%" Substitution="varAllSMTPInstanceName" Display="Hide"/>
			<Setting Key1="%varAllConcatRCPTAddressServerBindingList%" Substitution="varAllConcatRCPTAddressServerBindingList" Display="Hide"/>
			<Setting Key1="%varRootDomainDN%" Substitution="varRootDomainDN" Display="Hide"/>
			<Setting Key1="%varConfigDN%" Substitution="varConfigDN" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Esecuzione test di accettazione della posta in corso" Text="Attendere. Esecuzione del test di accettazione della posta sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Mail Acceptance" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Send a test mail and check the response of each SMTP command -->
						<Object Type="Variable" Name="SMTP Port Mail Acceptance" Key1="Unpack" Key2="%varAllConcatRCPTAddressServerBindingList%">
							<Setting Key1="__KEY" Substitution="SORTKEY"/>
							<Setting Key1="__VALUE" Substitution="RCPTADDRESS" Format="^(.*?),.*,.*$----$1">
								<Rule Name="szRCPTAddress" Query="$.">
									<Variable Name="varRCPTAddress" Scope="Children"/>
								</Rule>
							</Setting>
							<Setting Key1="__VALUE" Substitution="MAILFROM" Format="^.*,(.*?),.*$----$1">
								<Rule Name="szMAILFROMAddress" Query="$.">
									<Variable Name="varMAILFROMAddress" Scope="Children"/>
								</Rule>
							</Setting>
							<Setting Key1="__VALUE" Substitution="SERVERBINDINGLIST" Format="^.*,.*,(.*?)$----$1"/>
							<Object Type="Cache" Name="SMTPPortMailAcceptance" Key1="Add" Key2="SMTPPortList-%SORTKEY%" Key3="%SERVERBINDINGLIST%" Key4=";" Display="Hide">
								<Setting Key1="ServerIP" Substitution="SERVERIP" SubstitutionFormat="^(.*?):.*$----$1"/>
								<Setting Key1="SMTPPort" Substitution="SMTPPORT" SubstitutionFormat="^.*:(\d{1,5})$----$1"/>
								<Object Type="If" Key1="not('%varIsExchange12%'='1')">
									<Setting Key1="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" Substitution="SMTPINSTANCE"/>
									<Setting Key1="if('%SERVERIP%'='', '%varExName%', '%SERVERIP%')" Substitution="EXSERVER"/>
									<Object Type="Protocol" Name="SMTP Mail Acceptance Test" Key1="%EXSERVER%" Key2="TCP" Key3="%SMTPPORT%" Key4="60000" Timeout="%300">
										<Setting Key1="Connect">
											<Rule Name="fSMTPSocketAliveExTestOkay" Query="not ($.[2]='Respond = Remote socket is not available' or $.[2]='Respond = ')"/>
											<Rule Name="fSMTPSocketAliveExTestError" Query="not ($fSMTPSocketAliveExTestOkay)" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore nell'accettazione della posta" Text="Il test di accettazione della posta nell'istanza SMTP '{3}' nella porta {9} sul server {2} non è riuscito durante il tentativo di apertura del socket remoto: {1}." P1="$.[2]" S2="%varExName%" S3="%SMTPINSTANCE%" S9="%SMTPPORT%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
											<Rule Name="fSMTPSocketPIXFireWall" Query="starts-with($.[2],'Respond = 220') and (contains($.[2], '***') or contains(upper-case($.[2]),'SMTP/CMAP'))" Template="tSMTPProxyRunning" S0="Cisco PIX firewall"/>
											<Rule Name="fSMTPSocketWatchGuard" Template="tSMTPProxyRunning" S0="WatchGuard Firebox firewall" S4="SMTP SERVICE READY"/>
											<Rule Name="fSMTPSocketCheckPoint" Template="tSMTPProxyRunning" S0="Checkpoint Firewall" S4="CHECKPOINT"/>
											<Rule Name="fSMTPSocketRaptor" Query="contains(upper-case($.[2]), 'GENERIC SMTP HANDLER')" Template="tSMTPProxyRunning" S0="Raptor Firewall"/>
											<Rule Name="fSMTPSocketCyberGuard" Template="tSMTPProxyRunning" S0="CyberGuard firewall" S4="FW1 SMTP PROXY SERVICE READY"/>
											<Rule Name="fSMTPSocketPraetor" Template="tSMTPProxyRunning" S0="CMS Praetor" S4="CMSPRAETOR"/>
											<Rule Name="fSMTPSocketMerak" Template="tSMTPProxyRunning" S0="Merak Mail Server" S4="ESMTP MERAK"/>
											<Rule Name="fSMTPBannerCustomized" Query="not ($fSMTPSocketPIXFireWall or $fSMTPSocketWatchGuard or $fSMTPSocketCheckPoint or $fSMTPSocketRaptor or $fSMTPSocketCyberGuard or $fSMTPSocketPraetor or $fSMTPSocketMerak) and (starts-with($.[2],'Respond = 220') and not (contains($.[2], 'Microsoft ESMTP MAIL Service')))" Error="Warning" Sev="3" Title="Il banner SMTP è personalizzato" Text="Il banner SMTP ricevuto dall'istanza SMTP '{3}' sul server {2} è stato modificato." S2="%varExName%" S3="%SMTPINSTANCE%" GUID="cce2de73-378b-455c-8460-c3f850c4aead"/>
										</Setting>
										<Setting Key1="EHLO">
											<Rule Name="fLinkStateRegistered" Query="$fSMTPSocketAliveExTestOkay and not(contains ($.[2], '250-X-LINK2STATE'))" Error="Warning" Sev="2" Title="Stato di collegamento non registrato" Text="L'istanza SMTP '{3}' sul server {2} non supporta il comando X-LINK2STATE. Ciò impedirà la ricezione degli aggiornamenti di routing." S2="%varExName%" S3="%SMTPINSTANCE%" GUID="96f27ebc-427b-4249-aaed-1333594f28f5"/>
										</Setting>
										<Setting Key1="MAIL FROM: %MAILFROM%" Key5="MAIL FROM">
											<Rule Name="fAcceptTestMailFromExOkay" Query="starts-with($.[2], 'Respond = 250')"/>
											<Rule Name="fAcceptTestMailFromExError" Query="$fSMTPSocketAliveExTestOkay and not ($fAcceptTestMailFromExOkay)" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore nell'accettazione della posta" Text="Il test di accettazione della posta per l'istanza SMTP '{3}' nella porta {9} sul server {2} non è riuscito. Comando MAIL FROM: {1}." P1="$szMailFromExResponse" S2="%varExName%" S3="%SMTPINSTANCE%" S9="%SMTPPORT%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
											<Rule Name="szMailFromExResponse" Query="replace($.[2], ',$', '')"/>
										</Setting>
										<Setting Key1="RCPT TO: %RCPTADDRESS%" Key5="RCPT TO">
											<Rule Name="fAcceptTestRcptToExOkay" Query="starts-with($.[2], 'Respond = 250')"/>
											<Rule Name="fAcceptTestRcptToExError" Query="$fSMTPSocketAliveExTestOkay and $fAcceptTestMailFromExOkay and not ($fAcceptTestRcptToExOkay)" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore nell'accettazione della posta" Text="Il test di accettazione della posta per l'istanza SMTP '{3}' nella porta {9} sul server {2} non è riuscito. Comando RCPT TO: {1}." P1="$szRcptToExResponse" S2="%varExName%" S3="%SMTPINSTANCE%" S9="%SMTPPORT%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
											<Rule Name="szRcptToExResponse" Query="replace($.[2], ',$', '')"/>
										</Setting>
										<Setting Key1="DATA"/>
										<Setting Key1="From: %MAILFROM%" Key2="SkipRead" Key5="RFC822-FROM"/>
										<Setting Key1="To: %RCPTADDRESS%" Key2="SkipRead" Key5="RFC822-TO"/>
										<Setting Key1="" Key2="SkipRead"/>
										<Setting Key1="This message has been sent by the Microsoft Exchange Troubleshooting Assistant tool. The purpose of this message is to test the SMTP transport. It is safe to delete this message." Key2="SkipRead"/>
										<Setting Key1=".">
											<Rule Name="fAcceptTestDataExOkay" Query="starts-with ($.[2], 'Respond = 250')"/>
											<Rule Name="fAcceptTestDataExError" Query="$fSMTPSocketAliveExTestOkay and $fAcceptTestMailFromExOkay and $fAcceptTestRcptToExOkay and not ($fAcceptTestDataExOkay)" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore nell'accettazione della posta" Text="Il test di accettazione della posta per l'istanza SMTP '{3}' nella porta {9} sul server {2} non è riuscito. Comando DATA: {1}." P1="$szDataExResponse" S2="%varExName%" S3="%SMTPINSTANCE%" S9="%SMTPPORT%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
											<Rule Name="szDataExResponse" Query="replace($.[2], ',$', '')"/>
											<Rule Name="szExMessageID" Query="substring-before(substring-after($.[2],'&lt;'),'&gt;')">
												<Variable Name="varExMessageID" Scope="Children"/>
											</Rule>
										</Setting>
										<Setting Key1="Disconnect"/>
										<Rule Name="fMailAcceptExSuccess" Query="$fSMTPSocketAliveExTestOkay and $fAcceptTestMailFromExOkay and $fAcceptTestRcptToExOkay and $fAcceptTestDataExOkay" Error="None" Title="Accettazione della posta riuscita" Text="Il test di accettazione della posta per l'istanza SMTP '{3}' nella porta {9} sul server {2} è stato completato." S2="%varExName%" S3="%SMTPINSTANCE%" S9="%SMTPPORT%"/>
										<Rule Name="fMailAcceptExFailure" Query="not($fMailAcceptExSuccess)"/>
									</Object>
								</Object>
								<Object Type="If" Name="Exchange Server 2007" Key1="'%varIsExchange12%'='1'">
									<Setting Key1="if('%SERVERIP%'='0.0.0.0', '%varExName%', '%SERVERIP%')" Substitution="EXSERVER"/>
									<Object Type="SmtpClient" Key1="%EXSERVER%" Key2="%SMTPPORT%" Key3="EnableSsl=true;Validation=disabled;UseDefaultCredentials=true" SecurityContext="EXLOGON">
										<Rule Name="fMailSubmitFailure" Query="../Exception/@Message" Error="Error" Title="Errore durante l'invio della posta" Text="Invio posta non riuscito: Messaggio di errore: {1}." P1="../Exception/@Message"/>
										<Setting Key1="From" Key2="%MAILFROM%"/>
										<Setting Key1="To" Key2="%RCPTADDRESS%"/>
										<Setting Key1="Subject" Key2=""/>
										<Setting Key1="Message-ID" Key2="">
											<Rule Name="fMailSubmitSuccess" Query="true()" Error="None" Title="Accettazione della posta riuscita" Text="La posta SMTP inviata a {2}:{9} è stata accettata." S2="%EXSERVER%" S9="%SMTPPORT%"/>
											<Rule Name="szE12MessageID" Query="$.">
												<Variable Name="varExMessageID" Scope="Children"/>
											</Rule>
										</Setting>
										<Setting Key1="Body" Key2="This message has been sent by the Microsoft Exchange Troubleshooting Assistant tool. The purpose of this message is to test the SMTP transport. It is safe to delete this message."/>
									</Object>
								</Object>
							</Object>
							<!-- Let's check if global distribution groups are used in a multi-domain topology. We use cache to remove duplicates -->
							<Object Type="Cache" Name="Global Distribution Group" Key1="Add" Key2="Recipient" Key3="%RCPTADDRESS%" Display="Hide">
								<Object Type="Directory" Key1="GC://%varDCName%/" Key2="%varRootDomainDN%" Key3="(&amp;(groupType:1.2.840.113556.1.4.803:=2)(proxyAddresses=smtp:%RCPTADDRESS%))">
									<Setting Key1="cn">
										<Rule Name="fGlobalGroupUsedMultiDomains" Query="count($szDomainDN) &gt;1" Error="Warning" Sev="1" Title="Gruppo di distribuzione globale utilizzato nella foresta multidominio" Text="È stato rilevato che il destinatario specificato &quot;{1}&quot; è il gruppo di distribuzione globale &quot;{3}&quot;, mentre la topologia è una foresta multidominio. I messaggi potrebbero non essere recapitati correttamente ai membri del gruppo. Consultare l'articolo 271930 della Microsoft Knowledge Base e considerare l'utilizzo di gruppi di distribuzione universali." S1="%RCPTADDRESS%" P3="$." GUID="304abc5e-8470-46cd-98e8-6ed501e1c753" AlwaysEvaluate="True"/>
									</Setting>
								</Object>
							</Object>
						</Object>
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Partitions,%varConfigDN%" Key3="systemFlags=3" Key4="OneLevel">
							<Setting Key1="nCName">
								<Rule Name="szDomainDN" Query="$."/>
							</Setting>
						</Object>
					</Object>

					<Rule Name="fExchange12" Query="@S1='1'" S1="%varIsExchange12%" AlwaysEvaluate="True"/>
					<Rule Name="szMailAcceptanceTest" Query="'MailAcceptanceTest'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fMailAcceptanceIssueFound or count($fGlobalGroupUsedMultiDomains) &gt;0, string(@Title), $szExNoErrorStateText)" Title="Sono stati rilevati uno o più errori." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Test di accettazione della posta di Exchange riuscito."/>
					<Rule Name="szMailAcceptanceTestResult" Query="string(@Title)" Title="Risultati del test di accettazione della posta di Exchange">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="fMailAcceptanceIssueFound" Query="count($fMailAcceptExFailure) &gt;0 or count($fMailSubmitFailure) &gt; 0" AlwaysEvaluate="True"/>
					<Rule Name="iIniScanMsgTrackingLoopCount" Query="1">
						<Variable Name="varScanMsgTrackLoopCount" Scope="Children"/>
					</Rule>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayMailAcceptanceStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="ScanMessageTracking" Name="fGotoScanMessageTracking" Query="not($fMailAcceptanceIssueFound) and not($fExchange12)" Priority="2" Text="- Cerca nelle voci del registro di verifica messaggi l'ultimo messaggio di prova inviato dallo strumento" Display="Hide"/>
					<Rule NextStep="ScanE12MessageTracking" Name="fGotoScanE12MessageTracking" Query="not($fMailAcceptanceIssueFound) and $fExchange12" Priority="2" Text="- Cerca nelle voci del registro di verifica messaggi l'ultimo messaggio di prova inviato dallo strumento" Display="Hide"/>
					<Rule NextStep="CheckExchangeVariousTransportConfig" Name="fGotoCheckExchangeVariousTransportConfig" Query="$fMailAcceptanceIssueFound" Priority="3" Text="- Verifica la configurazione di trasporto del server Exchange" Display="Hide"/>
					<Rule NextStep="CheckDomainRouting" Name="fGotoCheckDomainRouting" Query="$fMailAcceptanceIssueFound and not($fExchange12)" Priority="4" Text="- Verifica le informazioni di routing del dominio archiviate nei criteri destinatario, nei connettori e nella metabase" Display="Hide"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckExchangeVariousTransportConfig" Title="Verifica la configurazione di trasporto" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varExDN%" Substitution="varExDN" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica delle impostazioni di trasporto del server Exchange in corso" Text="Attendere. Controllo delle impostazioni di trasporto del server di Exchange in corso..." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Mail Acceptance" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True">
						<!-- Check Sender and Recipient filter global settings -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Default Message Filter,cn=Message Delivery,cn=Global Settings,%varExOrgDN%" SecurityContext="EXLOGON">
							<Setting Key1="msExchTurfListNames">
								<Rule Name="fTurfListNames" Query="count($.) &gt;0" Error="None" Title="Il filtro mittente contiene indirizzi di posta elettronica" Text="Il filtro mittente contiene indirizzi di posta elettronica da filtrare. Numero degli indirizzi: {9}" P9="count($.)"/>
							</Setting>
							<Setting Key1="msExchTurfListOptions">
								<Rule Name="fFilterBlankSenderEnabled" Query="bitwise-and($.,2)" Error="None" Title="Messaggi senza mittente filtrati" Text="Il filtro mittente è impostato per filtrare i messaggi senza mittente."/>
								<Rule Name="fDropConnectionEnabled" Query="not(bitwise-and($.,8))" Error="None" Title="Il filtro mittente potrebbe interrompere la connessione" Text="Il filtro mittente è impostato per interrompere la connessione se l'indirizzo corrisponde al filtro."/>
							</Setting>
							<Setting Key1="msExchRecipTurfListNames">
								<Rule Name="fRecipTurfListNames" Query="count($.) &gt;0" Error="None" Title="Il filtro destinatario contiene indirizzi di posta elettronica" Text="Il filtro destinatario contiene indirizzi di posta elettronica da filtrare. Numero degli indirizzi: {9}" P9="count($.)"/>
							</Setting>
							<Setting Key1="msExchRecipTurfListOptions">
								<Rule Name="fRecipDirectoryEnabled" Query="bitwise-and($.,1)" Error="None" Title="Controlli della directory del filtro destinatario" Text="Il filtro destinatario è impostato per filtrare i destinatari che non si trovano nella directory."/>
							</Setting>
						</Object>
						<!-- Check Connection filter global settings -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Default Connection Filter,cn=Default Message Filter,cn=Message Delivery,cn=Global Settings,%varExOrgDN%" SecurityContext="EXLOGON">
							<Setting Key1="msExchSmtpConnectionRulesPriority">
								<Rule Name="fBlockListExists" Query="count($.) &gt;0" Error="None" Title="Blocco degli indirizzi in tempo reale" Text="Il filtro connessioni è configurato per utilizzare il servizio di blocco degli indirizzi in tempo reale."/>
							</Setting>
							<Setting Key1="msExchSmtpConnectionWhiteList">
								<Rule Name="fConnectionSafeList" Query="count($.) &gt;0" Error="None" Title="Elenco attendibili filtro connessioni" Text="Il filtro connessioni contiene indirizzi di posta che non vengono filtrati come eccezioni. Numero degli indirizzi: {9}" P9="count($.)"/>
							</Setting>
							<Setting Key1="msExchSMTPGlobalIPAcceptList">
								<Rule Name="fGlobalAcceptExists" Query="contains($.,'18000080200000803C00008044000080010000004C00000000000000000000000100000001000000020000000200000004000000000000004C00008000000000000000000000000000000000FFFFFFFF')" Error="None" Title="Elenco globale connessioni accettate" Text="L'elenco globale connessioni accettate contiene indirizzi IP."/>
							</Setting>
							<Setting Key1="msExchSMTPGlobalIPDenyList">
								<Rule Name="fGlobalDenyExists" Query="contains($.,'18000080340000803C00008044000080010000004C0000000100000001000000020000000200000004000000000000004C000080000000000000000000000000000000000000000000000000FFFFFFFF')" Error="None" Title="Elenco globale connessioni negate" Text="L'elenco globale connessioni negate contiene indirizzi IP."/>
							</Setting>
						</Object>
						<!-- Check Sender ID and IMFV2 global settings for TiSP2 -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Uce Content Filter,cn=Message Delivery,cn=Global Settings,%varExOrgDN%" SecurityContext="EXLOGON">
							<Setting Key1="msExchUceEnabled">
								<Rule Name="fUceEnabled" Query="$.=1"/>
							</Setting>
							<Setting Key1="msExchUceStoreActionThreshold">
								<Rule Name="fUceStoreActionThreshold" Query="$fUceEnabled" Error="None" Title="Soglia di archiviazione del Filtro messaggi intelligente" Text="A causa della soglia di archiviazione, i messaggi con il livello di probabilità di posta indesiderata maggiore o uguale a {9} saranno spostati nella cartella Posta indesiderata." P9="$."/>
							</Setting>
							<Setting Key1="msExchUceBlockThreshold">
								<Rule Name="fSenderIDAccept" Query="substring-after($.,';')=0 or substring-after($.,';')=1 or substring-after($.,';')=2 or substring-after($.,';')=5" Error="None" Title="L'ID mittente accetta i messaggi con errori" Text="Il filtro ID mittente è impostato per accettare i messaggi che non superano il test di convalida dell'ID mittente."/>
								<Rule Name="fSenderIDDelete" Query="bitwise-and(substring-after($.,';'),512)" Error="None" Title="L'ID mittente elimina i messaggi con errori" Text="Il filtro ID mittente è impostato per eliminare i messaggi che non superano il test di convalida dell'ID mittente."/>
								<Rule Name="fSenderIDReject" Query="bitwise-and(substring-after($.,';'),1024)" Error="None" Title="L'ID mittente rifiuta i messaggi con errori" Text="Il filtro ID mittente è impostato per rifiutare i messaggi che non superano il test di convalida dell'ID mittente."/>
								<Rule Name="fUceBlockThresholdNoAction" Query="$fUceEnabled and substring-after($.,';')=0 or substring-after($.,';')=512 or substring-after($.,';')=1024" Error="None" Title="Azione gateway del Filtro messaggi intelligente" Text="I messaggi con il livello di probabilità di posta indesiderata maggiore o uguale a {9} non saranno modificati nel gateway." P9="substring($.,1,1)"/>
								<Rule Name="fUceBlockThresholdDelete" Query="$fUceEnabled and bitwise-and(substring-after($.,';'),1) and not(bitwise-and(substring-after($.,';'),4))" Error="None" Title="Azione gateway del Filtro messaggi intelligente" Text="I messaggi con il livello di probabilità di posta indesiderata maggiore o uguale a {9} verranno eliminati nel gateway." P9="substring($.,1,1)"/>
								<Rule Name="fUceBlockThresholdReject" Query="$fUceEnabled and bitwise-and(substring-after($.,';'),2)" Error="None" Title="Azione gateway del Filtro messaggi intelligente" Text="I messaggi con il livello di probabilità di posta indesiderata maggiore o uguale a {9} verranno rifiutati nel gateway." P9="substring($.,1,1)"/>
								<Rule Name="fUceBlockThresholdArchive" Query="$fUceEnabled and bitwise-and(substring-after($.,';'),4) and bitwise-and(substring-after($.,';'),1)" Error="None" Title="Azione gateway del Filtro messaggi intelligente" Text="I messaggi con il livello di probabilità di posta indesiderata maggiore o uguale a {9} saranno archiviati nel gateway." P9="substring($.,1,1)"/>
							</Setting>
							<Setting Key1="wWWHomePage">
								<Rule Name="fPerimeterIPExists" Query="count($.) &gt;0" Error="None" Title="Elenco IP perimetro" Text="L'elenco IP perimetro contiene le voci dell'ID mittente e del filtro connessioni."/>
							</Setting>
						</Object>
						<!--Check IMFV1 settings for TiSP1-->
						<Object Type="Group" Name="IMFV1" SecurityContext="EXLOGON">
							<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\Exchange\Setup">
								<Setting Key1="Services" Substitution="EXCHBINPATHD" SubstitutionFormat="\\----\\"/>
								<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\MSCFv1\\MSExchange.UceContentFilter.dll'">
									<Setting Key1="Version">
										<Rule Name="fIMFV1Installed" Query="$." Error="None" Title="Filtro messaggi intelligente V1 installato" Text="La versione Exchange Server 2003 SP1 del Filtro messaggi intelligente è installata nel server."/>
									</Setting>
								</Object>
							</Object>
							<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\Exchange\ContentFilter">
								<Setting Key1="ContentFilteringBindings">
									<Rule Name="fIMFV1Enabled" Query="$fIMFV1Installed and $.!=''" Error="Warning" Sev="3" Title="La versione Exchange Server 2003 SP1 del Filtro messaggi intelligente è abilitata" Text="La versione Exchange Server 2003 RTM o SP1 del Filtro messaggi intelligente è abilitata nel server {2}." S2="%varExName%" GUID="b98bc9f3-5c09-4a5b-874e-3b66be1663e4"/>
								</Setting>
							</Object>
						</Object>
						<!-- Now Check virtual server settings -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%varExDN%" Key3="objectClass=protocolCfgSMTPServer" SecurityContext="EXLOGON">
							<Setting Key1="adminDisplayName" Retrieve="FailHard">
								<Rule Name="szSMTPInstanceName" Query="$."/>
							</Setting>
							<Setting Key1="msExchServerBindingsFiltering">
								<Rule Name="fSMTPServerBindingsFilteringRecipient" Query="bitwise-and(substring-after(substring-after(substring-after($.,':'),':'),':'), 1)" Error="None" Title="Filtro destinatario in VS SMTP" Text="Il filtro destinatario è impostato per l'istanza SMTP '{3}' sul server {2}." S2="%varExName%" P3="$szSMTPInstanceName"/>
								<Rule Name="fSMTPServerBindingsFilteringConnection" Query="bitwise-and(substring-after(substring-after(substring-after($.,':'),':'),':'), 2)" Error="None" Title="Filtro connessioni in VS SMTP" Text="Il filtro connessioni è impostato per l'istanza SMTP '{3}' sul server {2}." S2="%varExName%" P3="$szSMTPInstanceName"/>
								<Rule Name="fSMTPServerBindingsFilteringIMF" Query="bitwise-and(substring-after(substring-after(substring-after($.,':'),':'),':'), 8)" Error="None" Title="Filtro messaggi intelligente in VS SMTP" Text="Il Filtro messaggi intelligente è impostato per l'istanza SMTP '{3}' sul server {2}." S2="%varExName%" P3="$szSMTPInstanceName"/>
								<Rule Name="fSMTPServerBindingsFilteringSenderID" Query="bitwise-and(substring-after(substring-after(substring-after($.,':'),':'),':'), 16)" Error="None" Title="Filtro ID mittente in VS SMTP" Text="Il filtro ID mittente è impostato per l'istanza SMTP '{3}' sul server {2}." S2="%varExName%" P3="$szSMTPInstanceName"/>
								<Rule Name="fRecipientFilteringEnabled" Query="($fRecipTurfListNames or $fRecipDirectoryEnabled) and $fSMTPServerBindingsFilteringRecipient" Error="Warning" Sev="3" Title="Filtro destinatario abilitato" Text="Il filtro destinatario è correttamente abilitato sul server {2} poiché è configurato sia nelle impostazioni globali sia nel server virtuale SMTP. Assicurarsi che non stia bloccando messaggi autentici." S2="%varExName%" GUID="f8fae0b9-2e3c-4c72-a68c-dc30d3a02ce5"/>
								<Rule Name="fConnectionFilteringEnabled" Query="($fBlockListExists or $fGlobalAcceptExists or $fGlobalDenyExists) and $fSMTPServerBindingsFilteringConnection" Error="Warning" Sev="3" Title="Filtro connessioni abilitato" Text="Il filtro connessioni è correttamente abilitato sul server {2} poiché è configurato sia nelle impostazioni globali sia nel server virtuale SMTP. Assicurarsi che non stia bloccando messaggi autentici." S2="%varExName%" GUID="c5c9bd0f-7677-4301-bb56-9cd617a1fdb9"/>
								<Rule Name="fIMFV2Enabled" Query="$fUceEnabled and $fSMTPServerBindingsFilteringIMF" Error="Warning" Sev="3" Title="La versione Exchange Server 2003 SP2 del Filtro messaggi intelligente è abilitata" Text="La versione Exchange Server 2003 SP2 del Filtro messaggi intelligente è correttamente abilitata nel server {2} poiché è configurata sia nelle impostazioni globali sia nel server virtuale SMTP. Assicurarsi che non stia bloccando messaggi autentici." S2="%varExName%" GUID="5d746dff-8e4b-4dc0-9d95-036cc3c99daa"/>
								<Rule Name="fSenderIDEnabled" Query="$fPerimeterIPExists and $fSMTPServerBindingsFilteringSenderID" Error="Warning" Sev="3" Title="Filtro ID mittente abilitato" Text="Il filtro ID mittente è correttamente abilitato sul server {2} poiché è configurato sia nelle impostazioni globali sia nel server virtuale SMTP. Assicurarsi che non stia bloccando messaggi autentici." S2="%varExName%" GUID="214ca7a5-8f08-4ca9-84c2-280b11cf9809"/>
							</Setting>
							<Setting Key1="msExchServerBindingsTurflist">
								<Rule Name="fSMTPServerBindingsTurflistSender" Query="count($.) &gt;0" Error="None" Title="Filtro mittente in VS SMTP" Text="Il filtro mittente è impostato per l'istanza SMTP '{3}' sul server {2}." S2="%varExName%" P3="$szSMTPInstanceName"/>
								<Rule Name="fSenderFilteringEnabled" Query="($fTurfListNames or $fFilterBlankSenderEnabled) and $fSMTPServerBindingsTurflistSender" Error="Warning" Sev="3" Title="Filtro mittente abilitato" Text="Il filtro mittente è correttamente abilitato sul server {2} poiché è configurato sia nelle impostazioni globali sia nel server virtuale SMTP. Assicurarsi che non stia bloccando messaggi autentici." S2="%varExName%" GUID="79144969-3cbb-4d6e-8ca9-a423d3f06a4b"/>
							</Setting>
							<Setting Key1="msExchSmtpInboundCommandSupportOptions">
								<Rule Name="fESMTPDSNDisabled" Query="not(bitwise-and($.,64))" Error="Warning" Sev="2" Title="Comando ESMTP {0} non supportato" Text="L'istanza SMTP '{3}' sul server {2} non supporta il comando ESMTP '{0}'." S0="DSN" S2="%varExName%" P3="$szSMTPInstanceName" GUID="dee368b2-dd81-42cb-8757-b44ebfaffc9f"/>
								<Rule Name="fESMTPEtrnDisabled" Query="not(bitwise-and($.,128))" Error="Warning" Sev="2" Title="Comando ESMTP {0} non supportato" Text="L'istanza SMTP '{3}' sul server {2} non supporta il comando ESMTP '{0}'." S0="ETRN" S2="%varExName%" P3="$szSMTPInstanceName" GUID="dee368b2-dd81-42cb-8757-b44ebfaffc9f"/>
								<Rule Name="fESMTPTurnAtrnDisabled" Query="not(bitwise-and($.,1024))" Error="Warning" Sev="2" Title="Comandi ESMTP {0} non supportati" Text="L'istanza SMTP '{3}' sul server {2} non supporta i comandi ESMTP '{0}'." S0="TURN/ATRN" S2="%varExName%" P3="$szSMTPInstanceName" GUID="dee368b2-dd81-42cb-8757-b44ebfaffc9f"/>
								<Rule Name="fESMTPEnhancedDisabled" Query="not(bitwise-and($.,4096))" Error="Warning" Sev="2" Title="Comando ESMTP {0} non supportato" Text="L'istanza SMTP '{3}' sul server {2} non supporta il comando ESMTP '{0}'." S0="ENHANCEDSTATUSCODES" S2="%varExName%" P3="$szSMTPInstanceName" GUID="dee368b2-dd81-42cb-8757-b44ebfaffc9f"/>
								<Rule Name="fESMTPChunkingDisabled" Query="not(bitwise-and($.,1048576))" Error="Warning" Sev="2" Title="Comando ESMTP {0} non supportato" Text="L'istanza SMTP '{3}' sul server {2} non supporta il comando ESMTP '{0}'." S0="CHUNKING" S2="%varExName%" P3="$szSMTPInstanceName" GUID="dee368b2-dd81-42cb-8757-b44ebfaffc9f"/>
								<Rule Name="fESMTPBinaryMimeDisabled" Query="not(bitwise-and($.,2097152))" Error="Warning" Sev="2" Title="Comando ESMTP {0} non supportato" Text="L'istanza SMTP '{3}' sul server {2} non supporta il comando ESMTP '{0}'." S0="BINARYMIME" S2="%varExName%" P3="$szSMTPInstanceName" GUID="dee368b2-dd81-42cb-8757-b44ebfaffc9f"/>
								<Rule Name="fESMTP8bitMimeDisabled" Query="not(bitwise-and($.,4194304))" Error="Warning" Sev="2" Title="Comando ESMTP {0} non supportato" Text="L'istanza SMTP '{3}' sul server {2} non supporta il comando ESMTP '{0}'." S0="8BITMIME" S2="%varExName%" P3="$szSMTPInstanceName" GUID="dee368b2-dd81-42cb-8757-b44ebfaffc9f"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NetworkAdapter" Key4="MacAddress!=null and ServiceName!='RasPppoe' and ServiceName!='NIC1394' and ServiceName!='PptpMiniport'" Key5="*" SecurityContext="EXLOGON">
							<Setting Key1="Caption" Substitution="NICDEVICEID" SubstitutionFormat=".0000(\d{4}).*----$1"/>
							<Object Type="Registry" Key1="%varExName%" Key3="SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\%NICDEVICEID%">
								<Setting Key1="DriverDate">
									<Rule Name="szNICDriverDate" Query="$."/>
								</Setting>
								<Setting Key1="DriverDesc">
									<Rule Name="szNICDriverDesc" Query="$."/>
								</Setting>
								<Setting Key1="DriverVersion">
									<Rule Name="szNICDriverVersion" Query="$."/>
								</Setting>
								<Setting Key1="TeamAdapters">
									<Rule Name="fNICTeamingEnabled" Query="$. &gt;0" Error="Warning" Sev="3" Title="Il gruppo della scheda di interfaccia di rete (NIC) è abilitato" Text="Il gruppo della scheda di interfaccia di rete è abilitato sul server {2}. Assicurarsi che siano installati i driver più aggiornati. Driver corrente: {0} - {6} - {8}." P0="$szNICDriverDesc" S2="%varExName%" P6="$szNICDriverVersion" P8="$szNICDriverDate"/>
								</Setting>
							</Object>
						</Object>

						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%varExDN%" Key3="objectClass=protocolCfgSMTPServer" SecurityContext="EXLOGON">
							<Setting Key1="msExchSmtpMaxMessageSize">
								<Rule Name="iSMTPMaxMessageSize" Query="$."/>
								<Rule Name="fSMTPMaxMessageSizeNonDefault" Query="$.!=0" Error="Warning" Sev="2" Title="Avviso di configurazione SMTP" Text="Il valore predefinito 0 di {4} per l'istanza SMTP '{3}' sul server {2} è stato modificato. Ciò causerà un problema di flusso di posta se il server instrada la posta tra server Exchange. Valore corrente: {9}." S2="%varExName%" P3="$szSMTPInstanceName" P4="../@Key1" P9="$." GUID="3f6bce3f-723d-4914-9c87-c61adb61583d"/>
							</Setting>
						</Object>

						<Rule Name="szCheckExchangeTransportConfig" Query="'CheckExchangeVariousTransportConfig'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fPotentialCauseFound,string(@Title),$szExNoErrorStateText)" Title="È stato identificato un potenziale problema di accettazione della posta nel server." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato rilevato alcun problema noto."/>
						<Rule Name="szTransportConfigTestResult" Query="string(@Title)" Title="Risultati dell'analisi della configurazione di trasporto">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>
						<Rule Name="fPotentialCauseFound" Query="$fRecipientFilteringEnabled or $fConnectionFilteringEnabled or $fIMFV2Enabled or $fSenderIDEnabled or $fSenderFilteringEnabled or $fIMFV1Enabled" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayMailAcceptanceStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>

					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ScanMessageTracking" Title="Analizza verifica messaggi" Display="Left">
		<Object Type="Progress" Title="Analisi dei registri di verifica messaggi nel server Exchange in corso" Text="Attendere. Scansione dei registri di verifica messaggi del server di Exchange in corso. Questo processo può essere ripetuto a seconda del numero di hop necessari a raggiungere il server di destinazione." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
				<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
				<Setting Key1="%varExGWName%" Substitution="varExGWName" Display="Hide"/>
				<Setting Key1="%varMsgTrackExName%" Substitution="varMsgTrackExName" Display="Hide"/>
				<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
				<Setting Key1="%varExMessageID%" Substitution="varExMessageID" Display="Hide"/>
				<Setting Key1="%varGWProvided%" Substitution="varGWProvided" Display="Hide"/>
				<Setting Key1="%varRCPTAddress%" Substitution="varRCPTAddress" Display="Hide"/>
				<Setting Key1="%varOutboundSenderAddress%" Substitution="varOutboundSenderAddress" Display="Hide"/>
				<Setting Key1="%varOutboundRecipAddress%" Substitution="varOutboundRecipAddress" Display="Hide"/>
				<Setting Key1="%varScanMsgTrackLoopCount%" Substitution="varScanMsgTrackLoopCount" Display="Hide"/>
				<Setting Key1="%varSelSymptom%" Substitution="varSelSymptom" Display="Hide"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
				<Object Type="Group" Name="Message Tracking Log" Class="Area" GroupingClass="True" Display="Hide">
					<!-- Use Cache as there may be multiple servers to query against -->
					<Object Type="Cache" Name="MsgTrackServerList" Key1="Add" Key2="MsgTrackServer" Key3="%varMsgTrackExName%" Key4="," Display="Hide" Class="Server" GroupingClass="True">
						<Setting Key1="MsgTrackServer" Substitution="MSGTRACKEXNAME"/>
						<!-- Access the message tracking log of each Exchange server on the path -->
						<Object Type="WMI" Key1="%MSGTRACKEXNAME%" Key2="root\MicrosoftExchangeV2" Key3="Exchange_MessageTrackingEntry" Key4="MessageID='%varExMessageID%'" SecurityContext="EXLOGON">
							<Rule Name="fErrorAccessMessageTracking" Query="count(../Instance)=0" Error="Error" Sev="1" Title="Errore durante l'accesso al registro di verifica messaggi" Text="Impossibile analizzare il registro di verifica messaggi nel server {2}. Assicurarsi che la verifica messaggi sia abilitata." S2="%MSGTRACKEXNAME%" GUID="69ac3558-330c-4c55-afa1-2951fd47343b" AlwaysEvaluate="True"/>
							<Rule Name="fStuckRemoteDeliveryInbound" Query="$fQueuedforRemoteDelivery and not($fTransferredOut or $fNDRGenerated) and @S0='Inbound'" Error="Error" Sev="2" ReportIssue="Issue" Title="Il messaggio di prova si trova in una coda 'Recapito remoto'" Text="Il messaggio di prova inviato dal server {1} si trova in una coda 'Recapito remoto' nel server {2}. Sono necessarie ulteriori analisi." S0="%varSelSymptom%" S1="%varExName%" S2="%MSGTRACKEXNAME%" GUID="e0d73857-a3bf-4a69-8e36-51d0ddfdc685" AlwaysEvaluate="True"/>
							<Rule Name="fStuckUnknownQueueInbound" Query="not($fErrorAccessMessageTracking or $fTransferredOut or $fNDRGenerated or $fBadMail or $fQueuedforRemoteDelivery or $fLocalDeliverySuccess or $fRetryCat or $fRetryRouting or $fRetryLocalDelivery) and @S0='Inbound'" Error="Error" Sev="2" ReportIssue="Issue" Title="Il messaggio di prova si trova in una delle code SMTP" Text="Il messaggio di prova inviato dal server {1} si trova in una delle code SMTP nel server {2}. Sono necessarie ulteriori analisi." S0="%varSelSymptom%" S1="%varExName%" S2="%MSGTRACKEXNAME%" GUID="e9efcd9e-f8f5-410f-bb21-b15c6ab7da61" AlwaysEvaluate="True"/>
							<Rule Name="fStuckRemoteDeliveryOutbound" Query="$fQueuedforRemoteDelivery and not($fTransferredOut or $fNDRGenerated) and @S0='Outbound'" Error="Error" Sev="2" ReportIssue="Issue" Title="Il messaggio specificato si trova in una coda 'Recapito remoto'" Text="Il messaggio specificato inviato dal server {1} si trova in una coda 'Recapito remoto' nel server {2}. Sono necessarie ulteriori analisi." S0="%varSelSymptom%" S1="%varExName%" S2="%MSGTRACKEXNAME%" GUID="e0d73857-a3bf-4a69-8e36-51d0ddfdc685" AlwaysEvaluate="True"/>
							<Rule Name="fStuckUnknownQueueOutbound" Query="not($fErrorAccessMessageTracking or $fTransferredOut or $fNDRGenerated or $fBadMail or $fQueuedforRemoteDelivery or $fLocalDeliverySuccess or $fRetryCat or $fRetryRouting or $fRetryLocalDelivery) and @S0='Outbound'" Error="Error" Sev="2" ReportIssue="Issue" Title="Il messaggio specificato si trova in una delle code SMTP" Text="Il messaggio specificato inviato dal server {1} si trova in una delle code SMTP nel server {2}. Sono necessarie ulteriori analisi." S0="%varSelSymptom%" S1="%varExName%" S2="%MSGTRACKEXNAME%" GUID="e9efcd9e-f8f5-410f-bb21-b15c6ab7da61" AlwaysEvaluate="True"/>
							<Rule Name="fNeedQueueAnalysis" Query="$fRetryCat or $fRetryRouting or $fRetryLocalDelivery or $fStuckRemoteDeliveryInbound or $fStuckUnknownQueueInbound or $fStuckRemoteDeliveryOutbound or $fStuckUnknownQueueOutbound" AlwaysEvaluate="True"/>
							<Rule Name="fStuckOtherThanExGW" Query="$fNeedQueueAnalysis and lower-case('%MSGTRACKEXNAME%') != $szExGWShortName"/>
							<Rule Name="szStuckNonExGW" Query="if($fStuckOtherThanExGW, '%MSGTRACKEXNAME%')"/>
							<Rule Name="fStuckExGW" Query="$fNeedQueueAnalysis and lower-case('%MSGTRACKEXNAME%') = $szExGWShortName"/>
							<Rule Name="szNewExName" Query="if($fNeedQueueAnalysis, @S2)" S2="%MSGTRACKEXNAME%">
								<Variable Name="varExName" Scope="Children"/>
							</Rule>
							<Setting Key1="KeyID"/>
							<Setting Key1="DeliveryTime"/>
							<Setting Key1="EntryType" Substitution="ENTRYTYPE">
								<Rule Name="fSubmittedtoAQ" Query="$.='1019'" Error="None" Title="Inviato alla coda avanzata" Text="Server {2}: SMTP: Messaggio inviato alla coda avanzata." S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fStartedOutbound" Query="$.='1020'" Error="None" Title="Avviato trasferimento in uscita" Text="Server {2}: SMTP: Avviato trasferimento in uscita messaggio." S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fBadMail" Query="$.='1021'" Error="Error" Sev="2" ReportIssue="Issue" Title="Messaggio di prova inviato alla directory della posta scartata" Text="Server {2}: SMTP: Messaggio inviato alla directory della posta scartata. Il messaggio di prova inviato dal server {1} è stato inviato alla directory della posta scartata nel server {2}. Destinatario: {3}" S1="%varExName%" S2="%MSGTRACKEXNAME%" P3="$szRecipientAddress" GUID="4917e5a3-c284-4a7c-a0d2-f0550f33ed57"/>
								<Rule Name="fDeliveredLocally" Query="$.='1023'" Error="None" Title="Recapitato localmente" Text="Server {2}: SMTP: Messaggio recapitato localmente" S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fSubmittedtoCAT" Query="$.='1024'" Error="None" Title="Inviato al classificatore" Text="Server {2}: SMTP: Messaggio inviato al classificatore." S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fStartedSubtoAQ" Query="$.='1025'" Error="None" Title="Avviato invio alla coda avanzata" Text="Server {2}: SMTP: Avviato invio del messaggio alla coda avanzata." S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fSubmittedfromStore" Query="$.=1027" Error="None" Title="Inviato da archivio" Text="Server {2}: Driver archivio SMTP: Messaggio inviato da archivio." S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fLocalDeliverySuccess" Query="$.='1028'" Error="None" Title="Recapitato localmente all'archivio" Text="Server {2}: Driver archivio SMTP: Il messaggio inviato dal server {1} è stato recapitato localmente all'archivio in {3}." S1="%varExName%" S2="%MSGTRACKEXNAME%" P3="$szRecipientAddress"/>
								<Rule Name="fNDRGenerated" Query="$.='1030'" Error="Error" Sev="1" ReportIssue="Issue" Title="Rapporto di mancato recapito generato per il messaggio di prova." Text="Server {2}: SMTP: Rapporto di mancato recapito (NDR) generato. È stato generato un rapporto di mancato recapito nel server {2} per il messaggio di prova inviato dal server {1}." S1="%varExName%" S2="%MSGTRACKEXNAME%" GUID="32688473-93c7-42f1-8033-5fadfba84dd7"/>
								<Rule Name="fTransferredOut" Query="$.='1031'" Error="None" Title="Trasferito a un altro server" Text="Server {2}: SMTP: Messaggio trasferito in uscita. Il messaggio di prova inviato dal server {1} è stato correttamente trasferito al server {3}." S1="%varExName%" S2="%MSGTRACKEXNAME%" P3="$szPartnerServer"/>
								<Rule Name="fRetryCat" Query="$.='1032'" Error="Error" Sev="2" ReportIssue="Issue" Title="Ritenta categorizzazione" Text="Server {2}: SMTP: Messaggio programmato per ritentare la categorizzazione. Il messaggio di prova inviato dal server {1} è programmato per ritentare la categorizzazione nel server {2}." S1="%varExName%" S2="%MSGTRACKEXNAME%" GUID="3030f8cb-f2d4-4c54-a229-cd1bf672a880"/>
								<Rule Name="fQueuedforRouting" Query="$.='1033'" Error="None" Title="Accodato per il routing" Text="Server {2}: SMTP: Messaggio classificato e accodato per il routing." S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fQueuedforRemoteDelivery" Query="$.='1034'" Error="None" Title="Accodato per il recapito remoto" Text="Server {2}: SMTP: Messaggio instradato e accodato per il recapito remoto." S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fRetryRouting" Query="$.='1035'" Error="Error" Sev="2" ReportIssue="Issue" Title="Ritenta routing" Text="Server {2}: SMTP: Messaggio programmato per ritentare il routing. Il messaggio di prova inviato dal server {1} è programmato per ritentare il routing nel server {2}." S1="%varExName%" S2="%MSGTRACKEXNAME%" GUID="d73fb3ae-eb5c-4a9a-8e88-85877c471a0f"/>
								<Rule Name="fQueuedLocalDelivery" Query="$.='1036'" Error="None" Title="Accodato per il recapito locale" Text="Server {2}: SMTP: Messaggio accodato per il recapito locale." S2="%MSGTRACKEXNAME%"/>
								<Rule Name="fRetryLocalDelivery" Query="$.='1037'" Error="Error" Sev="2" ReportIssue="Issue" Title="Ritenta recapito locale" Text="Server {2}: SMTP: Messaggio programmato per ritentare il recapito locale. Il messaggio di prova inviato dal server {1} è programmato per ritentare il recapito locale nel server {2}." S1="%varExName%" S2="%MSGTRACKEXNAME%" GUID="1cfa212c-24b1-42c0-81d9-22932e271f92"/>
							</Setting>
							<Setting Key1="OriginationTime"/>
							<Setting Key1="AttemptedPartnerServer"/>
							<Setting Key1="PartnerServer" Substitution="REMOTEFQDN">
								<Rule Name="szPartnerServer" Query="lower-case(substring-before($.,'.'))"/>
								<Rule Name="fRoutedExternal" Query="string-length($.) &gt;0 and not($fDirectoryException) and count($szPartnerSMTPVS) &lt;1" AlwaysEvaluate="True"/>
								<Rule Name="szExternalPartnerServer" Query="if($fRoutedExternal, lower-case($.))"/>
							</Setting>
							<Setting Key1="RecipientAddress">
								<Rule Name="szRecipientAddress" Query="$."/>
							</Setting>
							<Setting Key1="ServerName"/>
							<Setting Key1="ServerIP"/>
							<Setting Key1="Version"/>
							<Object Type="If" Key1="'%ENTRYTYPE%'='1031'">
								<Setting Key1="Gateway">
									<Rule Name="fSentButNotExGW" Query="$fRoutedExternal and @S1='Outbound' and lower-case('%MSGTRACKEXNAME%') != $szExGWShortName" Error="Warning" Sev="2" Title="Server gateway specificato non utilizzato" Text="Il messaggio inviato da '{4}' a '{3}' è stato instradato nell'organizzazione di Exchange dal server {2}, ma il server gateway di Exchange specificato è {0}. Verificare che la topologia di routing e il gateway specificato siano corretti." P0="$szExGWShortName" S1="%varSelSymptom%" S2="%MSGTRACKEXNAME%" S3="%varOutboundRecipAddress%" S4="%varOutboundSenderAddress%" GUID="56103632-2d6b-4f7b-9ec3-d55da5401bd9"/>
								</Setting>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%varExOrgDN%" Key3="(&amp;(objectCategory=protocolCfgSMTPServer)(msExchSmtpFullyQualifiedDomainName=%REMOTEFQDN%))">
									<Rule Name="fDirectoryException" Query="../Exception/@Message" Error="Error" Sev="2" Title="Impossibile accedere ai dati sulla directory" Text="Impossibile raccogliere i dati della directory dal server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="../Exception/@Message" S2="%varDCName%" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61"/>
									<Setting Key1="distinguishedName" Substitution="SERVERNAME" SubstitutionFormat="^CN=.*?,CN=.*?,CN=.*?,CN=(.*?[^\\]),.*$----$1">
										<Rule Name="szPartnerSMTPVS" Query="lower-case('%SERVERNAME%')"/>
									</Setting>
								</Object>
							</Object>
						</Object>
					</Object>

					<Object Type="Group" Name="Message Tracking Final Result">
						<Rule Name="szMsgTrackExName" Query="if(count($szPartnerSMTPVS) &gt;0, join(',', $szPartnerSMTPVS), join(',', $szPartnerServer))" AlwaysEvaluate="True">
							<Variable Name="varMsgTrackExName" Scope="Children"/>
						</Rule>

						<Rule Name="fMessageDeliverSuccess" Query="not($fErrorAccessMessageTracking) and $fLocalDeliverySuccess and not($fTransferredOut or $fNDRGenerated or $fBadMail or $fNeedQueueAnalysis)" AlwaysEvaluate="True"/>
						<Rule Name="fMessageRemoteRouteSuccess" Query="not($fErrorAccessMessageTracking) and $fTransferredOut and not($fNDRGenerated or $fBadMail or $fNeedQueueAnalysis)" AlwaysEvaluate="True"/>

						<Rule Name="fInboundTestMessageDelivered" Query="$fMessageDeliverSuccess and @S1='Inbound'" Error="None" ReportIssue="Summary" Title="Nessun problema di routing nell'organizzazione di Exchange" Text="Il routing dei messaggi nell'organizzazione di Exchange è in esecuzione in base al completamento del recapito del messaggio inviato dal server {2} al destinatario {3}." S1="%varSelSymptom%" S2="%varExName%" S3="%varRCPTAddress%"/>
						<Rule Name="fInboundOtherRootCauses" Query="$fInboundTestMessageDelivered and @S0!='1'" Error="None" ReportIssue="Summary" Title="Possibile problema esterno" Text="In base al completamento del recapito del messaggio inviato dal server {2} al destinatario {3}, fattori esterni potrebbero essere collegati al sintomo. Se si ritiene che ci sia ancora un problema nell'organizzazione di Exchange, specificare un server e un indirizzo di posta diverso ed eseguire nuovamente lo strumento. In alternativa, controllare il firewall aziendale e i server gateway non di Exchange, se esistenti." S0="%varGWProvided%" S2="%varExName%" S3="%varRCPTAddress%"/>

						<Rule Name="fOutboundMessageDeliveredWithinOrg" Query="$fMessageDeliverSuccess and @S1='Outbound'" Error="None" Title="Messaggio correttamente recapitato nell'organizzazione" Text="Il messaggio inviato da '{4}' è stato correttamente recapitato al destinatario '{3}'. Il messaggio non è indirizzato a destinatari esterni." S1="%varSelSymptom%" S3="%varOutboundRecipAddress%" S4="%varOutboundSenderAddress%"/>
						<Rule Name="fOutboundMessageRoutedExternal" Query="$fMessageRemoteRouteSuccess and $fRoutedExternal and @S1='Outbound'" Error="None" Title="Messaggio correttamente instradato all'esterno dell'organizzazione di Exchange" Text="Il messaggio inviato da '{4}' a '{3}' è stato instradato al server {2}, che risiede all'esterno dell'organizzazione di Exchange." S1="%varSelSymptom%" P2="join(',', $szExternalPartnerServer)" S3="%varOutboundRecipAddress%" S4="%varOutboundSenderAddress%" AlwaysEvaluate="True"/>
						<Rule Name="fOutboundMessageStuckOtherThanExGW" Query="$fStuckOtherThanExGW and @S1='Outbound'" Error="Error" Sev="2" ReportIssue="Summary" Title="Possibile problema non gateway" Text="Il messaggio inviato da '{4}' a '{3}' è bloccato nel server non gateway {2}. Sono necessarie ulteriori analisi per determinare se per questo motivo i messaggi non possono accedere a Internet." S1="%varSelSymptom%" P2="$szStuckNonExGW" S3="%varOutboundRecipAddress%" S4="%varOutboundSenderAddress%" GUID="46e41d0f-5503-43b4-8cef-e008b8c25ad2"/>
						<Rule Name="fOutboundMessageStuckExGW" Query="$fStuckExGW and @S1='Outbound'" Error="Error" Sev="2" ReportIssue="Summary" Title="Possibile problema gateway" Text="Il messaggio inviato da '{4}' a '{3}' è bloccato nel server gateway di Exchange {2}. Sono necessarie ulteriori analisi per determinare se per questo motivo i messaggi non possono accedere a Internet." S1="%varSelSymptom%" P2="$szExGWShortName" S3="%varOutboundRecipAddress%" S4="%varOutboundSenderAddress%" GUID="2d22c11e-902f-418f-8378-0ff2972a878d"/>

						<Rule Name="szSwitchSymptom" Query="if($fNeedQueueAnalysis, 'Queue', '%varSelSymptom%')" AlwaysEvaluate="True">
							<Variable Name="varSelSymptom" Scope="Children"/>
						</Rule>

						<Rule Name="iScanMsgTrackLoopCount" Query="@S9 + 1" S9="%varScanMsgTrackLoopCount%">
							<Variable Name="varScanMsgTrackLoopCount" Scope="Children"/>
						</Rule>
						<Rule Name="fScanMsgTrackLoopExceedsMax" Query="not($fErrorAccessMessageTracking) and $fTransferredOut and not($fNeedQueueAnalysis) and not($fNDRGenerated) and not($fBadMail) and @S9 = 30" Error="Error" Sev="1" Title="Troppi hop" Text="Il messaggio di prova supera i {9} hop. Lo strumento interrompe l'analisi dei registri di verifica messaggi per motivi di protezione." S9="%varScanMsgTrackLoopCount%" GUID="7ec6aca9-4bc4-47e9-96f4-8098dcf1a26e" AlwaysEvaluate="True"/>
					</Object>

					<Rule Name="szCheckMessageTracking" Query="'ScanMessageTracking'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fErrorAccessMessageTracking or $fNeedQueueAnalysis or $fNDRGenerated or $fBadMail, string(@Title), $szExNoErrorStateText)" Title="Sono stati rilevati uno o più errori." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Test verifica messaggi riuscito."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati test verifica messaggi">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="szExGWShortName" Query="if('%varExGWName%'='', lower-case('%varExName%'), if(contains('%varExGWName%', '.'), lower-case(substring-before('%varExGWName%', '.')), lower-case('%varExGWName%')))">
						<Variable Name="varExGWName" Scope="Children"/>
					</Rule>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayMessageTrackingStep" Query="@S1='0' and ($fErrorAccessMessageTracking or $fScanMsgTrackLoopExceedsMax or $fMessageDeliverSuccess or $fOutboundMessageRoutedExternal or $fNeedQueueAnalysis or $fNDRGenerated or $fBadMail)" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="ScanMessageTracking" Name="fRepeatScanMessageTracking" Query="$fMessageRemoteRouteSuccess and not($fOutboundMessageRoutedExternal or $fScanMsgTrackLoopExceedsMax)" Priority="2" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckQueueStatus" Name="fGotoCheckQueue" Query="$fNeedQueueAnalysis and $szNewExName=@S2" Priority="3" Text="- Verificare lo stato di più code nel server {1}." P1="$szNewExName" S2="%varExName%" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RetrieveBasicServerData" Name="fFirstNeedBasicData" Query="$fNeedQueueAnalysis and $szNewExName!=@S2" Priority="4" Text="- Recuperare le informazioni di base sul server {1}, quindi verificare lo stato delle code" P1="$szNewExName" S2="%varExName%"/>
					<Rule NextStep="CheckExGateway" Name="fGotoCheckExGateway" Query="not($fRepeatScanMessageTracking) and @S1='Outbound'" Priority="5" Text="- Controllare nel server gateway di Exchange specificato per rilevare possibili problemi" S1="%varSelSymptom%" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="ConnectNonExGateway" Name="fGotoConnectNonExGateway" Query="($fInboundTestMessageDelivered and @S0='1') or ($fOutboundMessageRoutedExternal and not($fSentButNotExGW) and @S0='1')" Priority="5" Text="- Il routing dei messaggi nell'organizzazione di Exchange funziona correttamente. In seguito, viene controllato il server gateway non di Exchange." S0="%varGWProvided%" Display="Hide" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ScanE12MessageTracking" Title="Analizza verifica messaggi" Display="Left">
		<Object Type="Progress" Title="Analisi dei registri di verifica messaggi nel server Exchange in corso" Text="Attendere. Scansione dei registri di verifica messaggi del server di Exchange in corso. Questo processo può essere ripetuto a seconda del numero di hop necessari a raggiungere il server di destinazione.">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
				<Setting Key1="%varSelSymptom%" Substitution="varSelSymptom" Display="Hide"/>
				<Setting Key1="%varE12DSNFilter%" Substitution="varE12DSNFilter" Display="Hide"/>
				<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
				<Setting Key1="%varMsgTrackExName%" Substitution="varMsgTrackExName" Display="Hide"/>
				<Setting Key1="%varExMessageID%" Substitution="varExMessageID" Display="Hide"/>
				<Setting Key1="%varGWProvided%" Substitution="varGWProvided" Display="Hide"/>
				<Setting Key1="%varRCPTAddress%" Substitution="varRCPTAddress" Display="Hide"/>
				<Setting Key1="%varScanMsgTrackLoopCount%" Substitution="varScanMsgTrackLoopCount" Display="Hide"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
				<Object Type="Group">
					<!-- Use Cache as there may be multiple servers to query against -->
					<Object Type="Cache" Name="MsgTrackServerList" Key1="Add" Key2="MsgTrackServer" Key3="%varMsgTrackExName%" Key4="," Display="Hide" Class="Server" GroupingClass="True">
						<Setting Key1="MsgTrackServer" Substitution="MSGTRACKEXNAME"/>

						<Object Type="If" Name="Retrieve Message Tracking Log" Key1="true()" Display="Hide">
							<Setting Key1="date-add('%varCurrentDateTime%', get-timespan(-(7 * 24 * 3600)))" Substitution="STARTTIME" Display="Hide"/>
							<Setting Key1="if('%varSelSymptom%'='NDR', '-EventID FAIL | where {$_.RecipientStatus -match &quot;%varE12DSNFilter%&quot;}', '-MessageId &quot;%varExMessageID%&quot;')" Substitution="MSGTRACKPARAMETERS" Display="Hide"/>

							<!-- Access the message tracking log of each Exchange server on the path -->
							<!--Get-MessageTrackingLog does not support the -domainController parameter-->
							<Object Type="MonadCommand" Key1="get-MessageTrackingLog -Server %MSGTRACKEXNAME% -Start &quot;%STARTTIME%&quot; %MSGTRACKPARAMETERS%" TrackProgress="TrackProgress">
								<Rule Name="fErrorAccessMessageTracking" Query="count(../Instance)=0" Error="Error" Sev="1" Title="Errore durante il recupero degli eventi dal registro di verifica messaggi" Text="Non è stato possibile recuperare gli eventi dal registro di verifica messaggi sul server {2} dalle {3}. Assicurarsi che la verifica dei messaggi sia abilitata." S2="%MSGTRACKEXNAME%" S3="%STARTTIME%" AlwaysEvaluate="True"/>
								<Rule Name="fNeedQueueAnalysis" Query="$fPotentialQueueProblem and $fFailed" AlwaysEvaluate="True"/>
								<Setting Key1="Timestamp">
									<!-- Need to figure out what to do here
									<Rule Name="dFailEvtAdjustGMTinSec" Template="tEvtAdjustGMTinSec" />
									<Rule Name="dFailEvtRawTimeDiffinSec" Query="get-seconds(date-difference(@S8, $.), 'yyyyMMddHHmmss')" S8="%varCurrentDateTime%" />
									<Rule Name="fFailEvtWithinLast24hours" Query="($dFailEvtRawTimeDiffinSec + $dFailEvtAdjustGMTinSec) &lt; 86400" Error="Warning" Sev="2" Title="A transport connection manager 'FAIL' event was logged within the last 24 hours" Text="There was a '{9}' event with Internal Message ID of '{1}' in the application log of server {2} from the source component '{5}' that resulted in a '{6}' problem." S1="%MessageId%" S2="%varExName%" S5="%Source%" S6="%RecipientStatus%" S9="FAIL" />
									-->
								</Setting>
								<Setting Key1="EventId">
									<Rule Name="fReceived" Query="$.='RECEIVE'" Error="None" Title="Messaggio ricevuto da SMTP" Text="Server {1}: il messaggio è stato ricevuto dal protocollo SMTP." S1="%varExName%"/>
									<Rule Name="fSend" Query="$.='SEND'" Error="None" Title="Messaggio inviato da SMTP" Text="Server {1}: il messaggio è stato inviato dal protocollo SMTP." S1="%varExName%"/>
									<Rule Name="fFailed" Query="$.='FAIL'" Error="Error" Sev="2" ReportIssue="Issue" Title="Invio messaggio di prova non riuscito" Text="Server {2}: SMTP: Elaborazione del messaggio non riuscita. Il messaggio di prova inviato dal server {1} è stato inviato alla directory della posta scartata nel server {2}. Destinatario: {3}" S1="%varExName%" S2="%MSGTRACKEXNAME%" P3="$szRecipientAddress"/>
									<Rule Name="fNDRGenerated" Query="$.='DSN'" Error="Error" Sev="1" ReportIssue="Issue" Title="Rapporto di mancato recapito generato per il messaggio di prova." Text="Server {2}: SMTP: Rapporto di mancato recapito (NDR) generato. È stato generato un rapporto di mancato recapito nel server {2} per il messaggio di prova inviato dal server {1}." S1="%varExName%" S2="%MSGTRACKEXNAME%"/>
									<Rule Name="fDeliveredLocally" Query="$.='DELIVER'" Error="None" Title="Recapitato localmente" Text="Server {2}: SMTP: Messaggio recapitato localmente" S2="%MSGTRACKEXNAME%"/>
									<Rule Name="fBadMail" Query="$.='BADMAIL'" Error="Error" Sev="2" ReportIssue="Issue" Title="Messaggio di prova inviato alla directory della posta scartata" Text="Server {2}: SMTP: Messaggio inviato alla directory della posta scartata. Il messaggio di prova inviato dal server {1} è stato inviato alla directory della posta scartata nel server {2}. Destinatario: {3}" S1="%varExName%" S2="%MSGTRACKEXNAME%" P3="$szRecipientAddress"/>
									<Rule Name="fRecipientResolved" Query="$.='RESOLVE'" Error="None" Title="Destinatario risolto" Text="Server {2}: Il destinatario del messaggio inviato dal server {1} è stato correttamente risolto." S1="%varExName%" S2="%MSGTRACKEXNAME%"/>
									<Rule Name="fDLExpanded" Query="$.='EXPAND'" Error="None" Title="Gruppo di distribuzione espanso" Text="Server {2}: Il gruppo di distribuzione nel messaggio inviato dal server {1} è stato correttamente espanso." S1="%varExName%" S2="%MSGTRACKEXNAME%"/>
									<Rule Name="fRecipientRedirected" Query="$.='REDIRECT'" Error="None" Title="Destinatario reindirizzato" Text="Server {1}: il messaggio è stato reindirizzato (ad esempio, destinatario alternativo)." S1="%varExName%"/>
									<Rule Name="fTransferredOut" Query="$.='TRANSFER'" Error="None" Title="Trasferito a un altro server" Text="Server {2}: SMTP: Messaggio trasferito in uscita. Il messaggio di prova inviato dal server {1} è stato correttamente trasferito." S1="%varExName%" S2="%MSGTRACKEXNAME%"/>
									<Rule Name="fMapiSubmit" Query="$.='SUBMIT'" Error="None" Title="Inviato al trasporto dal server cassette postali" Text="Server {2}: SMTP: Messaggio inviato al trasporto." S2="%MSGTRACKEXNAME%"/>
								</Setting>
								<Setting Key1="ClientIp"/>
								<Setting Key1="ClientHostname" Substitution="ClientHostname"/>
								<Setting Key1="ServerIp" Substitution="SERVERIP">
									<Rule Name="szServerIp" Query="$."/>
									<Rule Name="szPartnerServer" Query="resolve($.)"/>
									<Rule Name="fServerIpName" Query="$.!=''"/>
								</Setting>
								<Setting Key1="ServerHostname" Substitution="ServerHostname"/>
								<Setting Key1="SourceContext"/>
								<Setting Key1="ConnectorId" Substitution="CONNECTORID">
									<Rule Name="szConnectorId" Query="$."/>
									<Rule Name="fMessageRelayed" Query="($fSend and contains(upper-case($.), 'INTRAORG SMTP SEND CONNECTOR')) or $fDeliveredLocally"/>
								</Setting>
								<Setting Key1="Source" Substitution="SOURCE">
									<Rule Name="szSource" Query="$."/>
									<Rule Name="fPotentialQueueProblem" Query="$.='STOREDRIVER' or $.='ROUTING'"/>
								</Setting>
								<Setting Key1="MessageId" Substitution="MESSAGE"/>
								<Setting Key1="Recipients"/>
								<Setting Key1="RecipientStatus" Substitution="RECIPSTATUS"/>
								<Setting Key1="TotalBytes"/>
								<Setting Key1="RecipientCount"/>
								<Setting Key1="RelatedRecipientAddress"/>
								<Setting Key1="Reference"/>
								<Setting Key1="MessageSubject"/>
								<Setting Key1="Sender"/>
								<Setting Key1="ReturnPath"/>
								<Setting Key1="MessageInfo"/>
							</Object>
						</Object>
					</Object>

					<Rule Name="szCheckE12MessageTracking" Query="'ScanE12MessageTracking'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fErrorAccessMessageTracking or $fNeedQueueAnalysis or $fNDRGenerated or $fBadMail, string(@Title), $szExNoErrorStateText)" Title="Sono stati rilevati uno o più errori." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Test verifica messaggi riuscito."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati test verifica messaggi">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<!-- Need to add the Foreign Connectors
						<Rule Name="szMsgTrackExName" Query="join(',', $szPartnerServer)" >
							<Variable Name="varMsgTrackExName" Scope="Children" />
						</Rule>
						-->

					<Rule Name="fInboundOtherRootCauses" Query="not($fErrorAccessMessageTracking) and not($fTransferredOut) and $fLocalDeliverySuccess and not($fNDRGenerated) and not($fBadMail) and not($fNeedQueueAnalysis) and @S1!='1'" Error="None" ReportIssue="Summary" Title="Messaggio di prova recapitato correttamente" Text="Il routing dei messaggi nell'organizzazione di Exchange è riuscito in base al completamento del recapito del messaggio inviato dal server {2} al destinatario {3}. Se si ritiene che ci sia ancora un problema, specificare un server e un indirizzo di posta diverso ed eseguire nuovamente lo strumento. In alternativa, controllare il firewall aziendale e i server gateway non di Exchange, se esistenti." S1="%varGWProvided%" S2="%varExName%" S3="%varRCPTAddress%" AlwaysEvaluate="True"/>
					<Rule Name="szSwitchSymptom" Query="if($fNeedQueueAnalysis, 'Queue', 'Inbound')" AlwaysEvaluate="True">
						<Variable Name="varSelSymptom" Scope="Children"/>
					</Rule>

					<Rule Name="iScanMsgTrackLoopCount" Query="@S9 + 1" S9="%varScanMsgTrackLoopCount%">
						<Variable Name="varScanMsgTrackLoopCount" Scope="Children"/>
					</Rule>
					<Rule Name="fScanMsgTrackLoopExceedsMax" Query="not($fErrorAccessMessageTracking) and $fTransferredOut and not($fNeedQueueAnalysis) and not($fNDRGenerated) and not($fBadMail) and @S9 = 10" Error="Error" Sev="1" Title="Troppi hop" Text="Il messaggio di prova supera i {9} hop. Lo strumento interrompe l'analisi dei registri di verifica messaggi per motivi di protezione." S9="%varScanMsgTrackLoopCount%" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayE12MessageTrackingStep" Query="@S1='0' and ($fErrorAccessMessageTracking or $fScanMsgTrackLoopExceedsMax or (not($fMessageRelayed) and $fLocalDeliverySuccess) or $fNeedQueueAnalysis or $fNDRGenerated or $fBadMail)" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="ScanE12MessageTracking" Name="fRepeatScanE12MessageTracking" Query="not($fErrorAccessMessageTracking) and not($fScanMsgTrackLoopExceedsMax) and $fMessageRelayed and not($fNeedQueueAnalysis) and not($fNDRGenerated) and not($fBadMail)" Priority="2" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckE12QueueStatus" Name="fGotoCheckQueue" Query="$fNeedQueueAnalysis and $szNewExName=@S2" Priority="3" Text="- Verificare lo stato di più code nel server {1}." P1="$szNewExName" S2="%varExName%" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RetrieveBasicServerData" Name="fFirstNeedBasicData" Query="$fNeedQueueAnalysis and $szNewExName!=@S2" Priority="4" Text="- Recuperare le informazioni di base sul server {1}, quindi verificare lo stato delle code" P1="$szNewExName" S2="%varExName%"/>
					<!-- Need to figure out the Foreign Connector checks
						<Rule NextStep="ConnectNonExGateway" Name="fGotoConnectNonExGateway" Query="not($fErrorAccessMessageTracking) and not($fTransferredOut) and $fLocalDeliverySuccess and not($fNDRGenerated) and not($fNeedQueueAnalysis) and @S1='1'" Priority="5" Text="- It appears that the message routing within the Exchange organization is okay. The tool will check the non-Exchange gateway server next." S1="%varGWProvided%" Display="Hide" AlwaysEvaluate="True" />
					-->
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ConnectNonExGateway" Title="Controllo connettività gateway non di Exchange" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varGWName%" Substitution="varGWName" Display="Hide"/>
			<Setting Key1="%varGWSMTPPort%" Substitution="varGWSMTPPort" Display="Hide"/>
			<Setting Key1="%varRCPTAddress%" Substitution="varRCPTAddress" Display="Hide"/>
			<Setting Key1="%varMAILFROMAddress%" Substitution="varMAILFROMAddress" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<!-- This step is optional and only conducted when the user inputs the non-Exchange server gateway info -->

			<Object Type="Progress" Title="Controllo connettività a un server gateway non di Exchange" Text="Attendere. Controllo della connettività al server gateway non Exchange {2} in corso..." S2="%varGWName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Non-Exchange Gateway" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varGWName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="Resolve" Name="ResolveGW" Key1="%varGWName%">
							<Setting Key1="Dns" Substitution="RESOLVEDGWNAME" Format="\..*----">
								<Rule Name="fResolveGWNameFailed" Query="$.!=@S2" Error="Error" Sev="1" Title="Errore della risoluzione dei nomi DNS" Text="Errore della risoluzione dei nomi DNS per il server {2}. Verificare la configurazione DNS o assicurarsi che il nome del server sia corretto." S2="%varGWName%" GUID="c1e33f44-aa05-40be-9167-4f19f2ff0908"/>
							</Setting>
						</Object>
						<Object Type="Group" Name="Ping Test">
							<Object Type="Enumerator" Name="Ping" Key1="1" Key2="6" Key3="1">
								<Object Type="WMI" Key1="%varExName%" Key3="Win32_PingStatus" Key4="Address='%varGWName%' and BufferSize=4096" SecurityContext="EXLOGON">
									<Rule Name="fNoPing" Query="count(../Instance)=0"/>
									<Setting Key1="ResponseTime">
										<Rule Name="iPingGWRespTime" Query="$."/>
									</Setting>
									<Setting Key1="PrimaryAddressResolutionStatus"/>
									<Setting Key1="ProtocolAddress"/>
									<Setting Key1="TimeToLive"/>
									<Setting Key1="ResponseTimeToLive"/>
									<Setting Key1="NoFragmentation"/>
									<Setting Key1="BufferSize"/>
									<Setting Key1="ReplySize"/>
									<Setting Key1="RouteRecord"/>
									<Setting Key1="RouteRecordResolved"/>
									<Setting Key1="StatusCode">
										<Rule Name="fPingGWSuccess" Query="$.=0"/>
									</Setting>
								</Object>
							</Object>
							<Rule Name="fPingTestSuccess" Query="count($fPingGWSuccess) &gt;0" Error="None" Title="Ping riuscito" Text="Ping dal server {1} al server {2} riuscito." S1="%varExName%" S2="%varGWName%" AlwaysEvaluate="True"/>
							<Rule Name="fPingTestError" Query="not($fPingTestSuccess or $fPingTestNotPerformed)" Error="Error" Sev="1" Title="Ping non riuscito" Text="Ping dal server {1} al server {2} non riuscito. Verificare se il server è operativo o meno." S1="%varExName%" S2="%varGWName%" GUID="654eb91d-0d17-4fe3-b4cf-2c5be04279bf"/>
							<Rule Name="fPingTestNotPerformed" Query="count($fNoPing)=6" Error="Warning" Sev="3" Title="Verifica ping non eseguita" Text="Ping dal server {1} al server {2} non eseguito. A meno che il server {1} non esegue Windows 2000, potrebbe essersi verificato un problema di rete o autorizzazioni." S1="%varExName%" S2="%varGWName%" GUID="91aac86e-60e8-4b90-9453-1c209cf75fd5" AlwaysEvaluate="True"/>
						</Object>
						<Object Type="Port" Name="SMTP Port Test" Key1="%varGWName%">
							<Setting Key1="%varGWSMTPPort%">
								<Rule Name="fSMTPPortGWSuccess" Query="contains($.[2], concat(@S9,' Available'))" Error="None" Title="La porta {9} ha risposto" Text="La porta {9} ha risposto nel server {2}." S2="%varGWName%" S9="%varGWSMTPPort%"/>
								<Rule Name="fSMTPPortGWError" Query="not($fSMTPPortGWSuccess)" Error="Error" Sev="1" ReportIssue="Summary" Title="La porta {9} non ha risposto" Text="La porta {9} non ha risposto nel server {2}." S2="%varGWName%" S9="%varGWSMTPPort%" GUID="80503d53-ada9-4bc1-b6c3-1266b10de3af"/>
							</Setting>
						</Object>

						<Object Type="Protocol" Name="SMTP Mail Acceptance Test" Key1="%varGWName%" Key2="TCP" Key3="%varGWSMTPPort%" Key4="60000" Timeout="%300">
							<Setting Key1="Connect">
								<Rule Name="fSMTPSocketAliveGWTest" Query="not ($.[2]='Respond = Remote socket is not available' or $.[2]='Respond = ')"/>
								<Rule Name="fSMTPSocketGWPIXFireWall" Query="starts-with($.[2],'Respond = 220') and (contains($.[2], '***') or contains(upper-case($.[2]),'SMTP/CMAP'))" Template="tSMTPProxyRunning" S0="Cisco PIX firewall" S2="%varGWName%"/>
								<Rule Name="fSMTPSocketGWWatchGuard" Template="tSMTPProxyRunning" S0="WatchGuard Firebox firewall" S2="%varGWName%" S4="SMTP SERVICE READY"/>
								<Rule Name="fSMTPSocketGWCheckPoint" Template="tSMTPProxyRunning" S0="Checkpoint Firewall" S2="%varGWName%" S4="CHECKPOINT"/>
								<Rule Name="fSMTPSocketGWRaptor" Query="contains(upper-case($.[2]), 'GENERIC SMTP HANDLER')" Template="tSMTPProxyRunning" S0="Raptor Firewall" S2="%varGWName%"/>
								<Rule Name="fSMTPSocketGWCyberGuard" Template="tSMTPProxyRunning" S0="CyberGuard firewall" S2="%varGWName%" S4="FW1 SMTP PROXY SERVICE READY"/>
								<Rule Name="fSMTPSocketGWPraetor" Template="tSMTPProxyRunning" S0="CMS Praetor" S2="%varGWName%" S4="CMSPRAETOR"/>
								<Rule Name="fSMTPSocketGWMerak" Template="tSMTPProxyRunning" S0="Merak Mail Server" S2="%varGWName%" S4="ESMTP MERAK"/>
							</Setting>
							<Setting Key1="EHLO"/>
							<Setting Key1="MAIL FROM: %varMAILFROMAddress%" Key5="MAIL FROM">
								<Rule Name="fAcceptTestMailFromGWOkay" Query="starts-with($.[2], 'Respond = 250')"/>
							</Setting>
							<Setting Key1="RCPT TO: %varRCPTAddress%" Key5="RCPT TO">
								<Rule Name="fAcceptTestRcptToGWOkay" Query="starts-with($.[2], 'Respond = 250')"/>
							</Setting>
							<Setting Key1="Data"/>
							<Setting Key1="From: %varMAILFROMAddress%" Key2="SkipRead" Key5="RFC822-FROM"/>
							<Setting Key1="To: %varRCPTAddress%" Key2="SkipRead" Key5="RFC822-TO"/>
							<Setting Key1="" Key2="SkipRead"/>
							<Setting Key1="This message has been sent by the Microsoft Exchange Troubleshooting Assistant. The purpose of this message is to test the SMTP transport. It is safe to delete this message." Key2="SkipRead"/>
							<Setting Key1=".">
								<Rule Name="fMailAcceptGWSuccess" Query="$fSMTPSocketAliveGWTest and $fAcceptTestMailFromGWOkay and $fAcceptTestRcptToGWOkay and starts-with ($.[2], 'Respond = 250')" Error="None" Title="Accettazione della posta riuscita" Text="L'istanza SMTP sul server {2} ha completato il test di accettazione della posta." S2="%varGWName%"/>
								<Rule Name="fMailAcceptGWError" Query="not ($fMailAcceptGWSuccess)" Error="Error" Sev="1" ReportIssue="Issue" Title="Errore nell'accettazione della posta" Text="L'istanza SMTP sul server {2} non ha completato il test di accettazione della posta." S2="%varGWName%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
							</Setting>
							<Setting Key1="Disconnect"/>
						</Object>
						<Rule Name="fConnectGWSuccess" Query="$fPingTestSuccess and $fSMTPPortGWSuccess and $fMailAcceptGWSuccess" Error="None" ReportIssue="Summary" Title="Accettazione della posta riuscita" Text="L'istanza SMTP sul server {2} è attiva e in esecuzione. A meno che non si stia eseguendo il backup dei messaggi nel server, la causa principale del problema è probabilmente nel firewall aziendale o al suo esterno." S2="%varGWName%" AlwaysEvaluate="True"/>
					</Object>

					<Rule Name="szConnectNonExGateway" Query="'ConnectNonExGateway'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szGWErrorStateText" Query="if(not($fConnectGWSuccess),string(@Title),$szGWNoErrorStateText)" Title="Sono stati rilevati uno o più errori." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szGWNoErrorStateText" Query="string(@Title)" Title="Test connettività gateway riuscito."/>
					<Rule Name="szConnectGWTestResult" Query="string(@Title)" Title="Risultati test connettività gateway">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayGWProcessStep" Query="@S1='0'" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SearchMessage" Title="Individua un messaggio inviato" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varMsgTrackExName%" Substitution="varMsgTrackExName" Display="Hide"/>
			<Setting Key1="%varOutboundSenderAddress%" Substitution="varOutboundSenderAddress" Display="Hide"/>
			<Setting Key1="%varOutboundRecipAddress%" Substitution="varOutboundRecipAddress" Display="Hide"/>
			<Setting Key1="%varRootDomainDN%" Substitution="varRootDomainDN" Display="Hide"/>
			<Setting Key1="%varConfigDN%" Substitution="varConfigDN" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Individuazione di un messaggio inviato in corso" Text="Attendere. Tentativo di individuazione di un messaggio inviato da {1} a {2} in corso..." S1="%varOutboundSenderAddress%" S2="%varOutboundRecipAddress%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Message Tracking Log" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="If" Name="%varExName%" Key1="true()" Class="Server" GroupingClass="True" Display="Hide">
						<Setting Key1="string()" Substitution="SENDERHOMESERVER"/>
						<!-- First, we need to check whether the sender actually exists in directory and has a mailbox on the specified server -->
						<Object Type="Directory" Key1="GC://%varDCName%/" Key2="%varRootDomainDN%" Key3="(&amp;(|(objectCategory=user)(objectCategory=group))(proxyAddresses=smtp:%varOutboundSenderAddress%))">
							<Rule Name="fDirectoryException" Query="../Exception/@Message" Error="Error" Sev="2" Title="Impossibile accedere ai dati sulla directory" Text="Impossibile raccogliere i dati della directory dal server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="../Exception/@Message" S2="%varDCName%" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61"/>
							<Rule Name="fSenderNotFound" Query="not ($fDirectoryException) and count ($szOutboundSenderDN) &lt;1" Error="Error" Sev="2" Title="Impossibile identificare il mittente" Text="Impossibile identificare un oggetto con '{1}' come indirizzo di posta in Active Directory. Verificare la correttezza dell'indirizzo ed eseguire nuovamente lo strumento." S1="%varOutboundSenderAddress%" GUID="2ec89a98-ae4a-4ea5-9d80-737c9b228c7f" AlwaysEvaluate="True"/>
							<Setting Key1="distinguishedName">
								<Rule Name="szOutboundSenderDN" Query="$."/>
							</Setting>
							<Setting Key1="cn">
								<Rule Name="szOutboundSenderCN" Query="$."/>
							</Setting>
							<Setting Key1="legacyExchangeDN" Substitution="SENDERLEGDN"/>
							<Setting Key1="mail" Substitution="SENDERADDRESS"/>
							<Setting Key1="msExchHomeServerName" Substitution="SENDERHOMESERVER" SubstitutionFormat="^.*/cn=Configuration/cn=Servers/cn=(.*?[^\\])$----$1">
								<Rule Name="szOutboundSenderHomeServer" Query="substring-after(lower-case($.), 'cn=servers/cn=')"/>
								<Rule Name="fDifferentHomeServer" Query="$szOutboundSenderHomeServer != lower-case('%varExName%')" Error="Warning" Sev="3" Title="Mittente specificato in un server diverso" Text="Il server principale del mittente specificato '{3}' (indirizzo di posta: {4}) è {2}, ma il server Exchange immesso è {1}. Lo strumento evidenzierà il server {2}. Se si ritiene necessario esaminare il server {1}, eseguire nuovamente lo strumento e specificare un mittente la cui cassetta postale si trova sul server {1}." S1="%varExName%" P2="$szOutboundSenderHomeServer" P3="$szOutboundSenderCN" S4="%varOutboundSenderAddress%" GUID="0336b1b0-d06b-428c-b4e0-148a7d35dadd"/>
								<Rule Name="szModifedExName" Query="if($fDifferentHomeServer, $szOutboundSenderHomeServer, '%varExName%')">
									<Variable Name="varMsgTrackExName" Scope="Children"/>
								</Rule>
							</Setting>
							<Setting Key1="objectCategory" Substitution="SENDEROBJCAT"/>
							<!-- Next, we search for messages with the specified sender and recipient. We need to query with both SMTP and LegacyExchangeDN As we do not know what type of client was used to send the message. -->
							<Object Type="If" Key1="true()">
								<Setting Key1="if(starts-with(upper-case('%SENDEROBJCAT%'), 'CN=GROUP,'), '%varExName%', '%SENDERHOMESERVER%')" Substitution="SENDERHOMESERVER">
									<Rule Name="szOutboundOriginatingServer" Query="lower-case($.)"/>
								</Setting>
								<Object Type="WMI" Key1="%SENDERHOMESERVER%" Key2="root\MicrosoftExchangeV2" Key3="Exchange_MessageTrackingEntry" Key4="SenderAddress='%SENDERADDRESS%' and EntryType=1033" Key5="*" Sort="TimeLogged DESC" Range="100">
									<Rule Name="fNoMsgTrackInstanceSMTP" Query="count(../Instance)=0"/>
									<Setting Key1="OriginationTime">
										<Rule Name="dOriginationTimeSMTP" Query="if($fSentToSpecifiedRecipSMTP, date-parse(substring($.,1,14), 'yyyyMMddHHmmss'))"/>
									</Setting>
									<Setting Key1="SenderAddress"/>
									<Setting Key1="TimeLogged"/>
									<Setting Key1="RecipientAddress">
										<Rule Name="szRecipListSMTP" Query="join(';', $.)"/>
										<Rule Name="fSentToSpecifiedRecipSMTP" Query="contains(lower-case($szRecipListSMTP), lower-case('%varOutboundRecipAddress%'))"/>
									</Setting>
									<Setting Key1="MessageID">
										<Rule Name="szMessageIDSMTP" Query="if($fSentToSpecifiedRecipSMTP, $.)"/>
									</Setting>
								</Object>
								<Object Type="WMI" Key1="%SENDERHOMESERVER%" Key2="root\MicrosoftExchangeV2" Key3="Exchange_MessageTrackingEntry" Key4="SenderAddress='EX:%SENDERLEGDN%' and EntryType=1027" Key5="*" Sort="TimeLogged DESC" Range="100">
									<Rule Name="fNoMsgTrackInstanceLegDN" Query="count(../Instance)=0"/>
									<Setting Key1="OriginationTime">
										<Rule Name="dOriginationTimeLegDN" Query="if($fSentToSpecifiedRecipLegDN, date-parse(substring($.,1,14), 'yyyyMMddHHmmss'))"/>
									</Setting>
									<Setting Key1="SenderAddress"/>
									<Setting Key1="TimeLogged"/>
									<Setting Key1="RecipientAddress">
										<Rule Name="szRecipListLegDN" Query="join(';', $.)"/>
										<Rule Name="fSentToSpecifiedRecipLegDN" Query="contains(lower-case($szRecipListLegDN), lower-case('%varOutboundRecipAddress%'))"/>
									</Setting>
									<Setting Key1="MessageID">
										<Rule Name="szMessageIDLegDN" Query="if($fSentToSpecifiedRecipLegDN, $.)"/>
									</Setting>
								</Object>
							</Object>

							<!-- Need to input a dummy value just to avoid date-difference to fail due to a null value. The dummy value will never be used for real calculation -->
							<Rule Name="dOriginationTimeSMTPLast" Query="if(count($szMessageIDSMTP) &gt;0, slice(join(';', $dOriginationTimeSMTP), ';', 0), '01/01/2000 00:00:00')" AlwaysEvaluate="True"/>
							<Rule Name="dOriginationTimeLegDNLast" Query="if(count($szMessageIDLegDN) &gt;0, slice(join(';', $dOriginationTimeLegDN), ';', 0), '01/01/2000 00:00:00')" AlwaysEvaluate="True"/>

							<Rule Name="szMessageIDSMTPLast" Query="slice(join(';', $szMessageIDSMTP), ';', 0)"/>
							<Rule Name="szMessageIDLegDNLast" Query="slice(join(';', $szMessageIDLegDN), ';', 0)"/>

							<Rule Name="dOriginationTime" Query="if($szExMessageID='', '', if($szExMessageID = $szMessageIDSMTPLast, $dOriginationTimeSMTPLast, $dOriginationTimeLegDNLast))" AlwaysEvaluate="True"/>
							<Rule Name="szExMessageID" Query="if($szMessageIDSMTPLast='' and $szMessageIDLegDNLast='', '', if($szMessageIDSMTPLast='', $szMessageIDLegDNLast, if($szMessageIDLegDNLast='', $szMessageIDSMTPLast, if(date-difference($dOriginationTimeSMTPLast, $dOriginationTimeLegDNLast) &gt;=0, $szMessageIDSMTPLast, $szMessageIDLegDNLast))))" AlwaysEvaluate="True">
								<Variable Name="varExMessageID" Scope="Children"/>
							</Rule>

							<Rule Name="fMsgFromSenderNotFound" Query="$fNoMsgTrackInstanceSMTP and $fNoMsgTrackInstanceLegDN" Error="Error" Sev="2" Title="Nessun messaggio dal mittente specificato" Text="Impossibile trovare un messaggio inviato dal mittente specificato '{3}' (indirizzo di posta: {4}) dal server {2}. Verificare che l'indirizzo del mittente sia corretto e che la verifica messaggi sia abilitata sul server {2}." P2="$szOutboundOriginatingServer" P3="$szOutboundSenderCN" S4="%varOutboundSenderAddress%" GUID="44c34afe-faa0-4131-ab93-272a2a35c341"/>
							<Rule Name="fMsgToRecipientNotFound" Query="not($fSenderNotFound or $fMsgFromSenderNotFound) and $szExMessageID =''" Error="Error" Sev="2" Title="Nessun messaggio per il destinatario specificato" Text="Impossibile trovare un messaggio indirizzato a '{1}' negli ultimi 100 messaggi inviati dal mittente specificato '{3}' (indirizzo di posta: {4}) dal server {2}. Verificare la correttezza dell'indirizzo del destinatario oppure tentare di inviare un altro messaggio al destinatario ed eseguire nuovamente lo strumento." S1="%varOutboundRecipAddress%" P2="$szOutboundOriginatingServer" P3="$szOutboundSenderCN" S4="%varOutboundSenderAddress%" GUID="48d7b208-b608-4fb4-93db-16911321910f"/>
							<Rule Name="fMessageFound" Query="$szExMessageID !=''" Error="None" Title="Messaggio trovato" Text="È stato trovato almeno un messaggio inviato dal mittente specificato '{3}' (indirizzo di posta: {4}) a '{1}' nel server {2}. Lo strumento avvierà la verifica del messaggio. Ora di origine: {8} (UTC)" S1="%varOutboundRecipAddress%" P2="$szOutboundOriginatingServer" P3="$szOutboundSenderCN" S4="%varOutboundSenderAddress%" P8="$dOriginationTime"/>
						</Object>
						<!-- Let's check if global distribution groups are used in a multi-domain topology. -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Partitions,%varConfigDN%" Key3="systemFlags=3" Key4="OneLevel">
							<Setting Key1="nCName">
								<Rule Name="szDomainDN" Query="$."/>
							</Setting>
						</Object>
						<Object Type="Directory" Key1="GC://%varDCName%/" Key2="%varRootDomainDN%" Key3="(&amp;(groupType:1.2.840.113556.1.4.803:=2)(proxyAddresses=smtp:%varOutboundRecipAddress%))">
							<Setting Key1="cn">
								<Rule Name="fGlobalGroupUsedMultiDomains" Query="count($szDomainDN) &gt;1" Error="Warning" Sev="1" Title="Gruppo di distribuzione globale utilizzato nella foresta multidominio" Text="È stato rilevato che il destinatario specificato &quot;{1}&quot; il gruppo di distribuzione globale &quot;{3}&quot;, mentre la topologia è una foresta multidominio. I messaggi potrebbero non essere recapitati correttamente ai membri del gruppo. Consultare l'articolo 271930 della Microsoft Knowledge Base e considerare l'utilizzo di gruppi di distribuzione universali." S1="%varOutboundRecipAddress%" P3="$." GUID="304abc5e-8470-46cd-98e8-6ed501e1c753"/>
							</Setting>
						</Object>

						<Rule Name="szSearchMessage" Query="'SearchMessage'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fSearchMessageIssueFound,string(@Title),$szExNoErrorStateText)" Title="Impossibile trovare un messaggio da verificare per una continua risoluzione dei problemi." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="È stato identificato un messaggio di cui risolvere i problemi."/>
						<Rule Name="szSearchMessageResult" Query="string(@Title)" Title="Risultati ricerca messaggio">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fSearchMessageIssueFound" Query="$fSenderNotFound or $fMsgFromSenderNotFound or $fMsgToRecipientNotFound" AlwaysEvaluate="True"/>
						<Rule Name="iIniScanMsgTrackingLoopCount" Query="1">
							<Variable Name="varScanMsgTrackLoopCount" Scope="Children"/>
						</Rule>

						<Rule NextStep="DisplayResultsStep" Name="fDisplaySearchMessageStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule NextStep="ScanMessageTracking" Name="fGotoScanMessageTrackingStep" Query="$fMessageFound" Priority="2" Text="- Cercare nelle voci del registro di verifica messaggi il messaggio identificato e determinare il punto di instradamento del messaggio" Display="Hide" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckExGateway" Title="Verifica stato gateway Exchange" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExGWName%" Substitution="varExGWName" Display="Hide"/>
			<Setting Key1="%varGWName%" Substitution="varGWName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varRootDomainDN%" Substitution="varRootDomainDN" Display="Hide"/>
			<Setting Key1="%varGWProvided%" Substitution="varGWProvided" Display="Hide"/>
			<Setting Key1="%varSelSymptom%" Substitution="varSelSymptom" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dello stato del gateway di Exchange in corso" Text="Attendere. Controllo dello stato del server gateway di Exchange {2} in corso..." S2="%varExGWName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Exchange Gateway" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="Group" Name="%varExGWName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- First, we need to check if the specified Exchange gateway server really exists -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%varExOrgDN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=%varExGWName%))">
							<Rule Name="fDirectoryExGWException" Query="../Exception/@Message" Error="Error" Sev="2" Title="Impossibile accedere ai dati sulla directory" Text="Impossibile raccogliere i dati della directory dal server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="../Exception/@Message" S2="%varDCName%" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61"/>
							<Rule Name="fExGWNotFound" Query="not($fDirectoryExGWException) and count($szExGWDN) &lt;1" Error="Error" Sev="2" Title="Impossibile identificare il gateway di Exchange specificato" Text="Il server {2} è stato specificato come server gateway di Exchange, ma non è stato identificato nessun oggetto corrispondente in Active Directory. Verificare che il nome sia corretto." S2="%varExGWName%" GUID="87faf7dd-a932-4915-8713-b07956f6e175" AlwaysEvaluate="True"/>
							<Setting Key1="cn" Substitution="EXGWCN"/>
							<Setting Key1="distinguishedName" Substitution="DN">
								<Rule Name="szExGWDN" Query="$."/>
							</Setting>
							<!-- Then, we would like to know if the SMTP service is up and running on the server -->
							<Object Type="WMI" Key1="%EXGWCN%" Key3="Win32_Service" Key4="Name='SMTPSVC'">
								<Setting Key1="Started">
									<Rule Name="fExGWSMTPStarted" Query="$.='True'" Error="None" Title="Servizio {0} in esecuzione" Text="Il servizio {0} nel server {2} è avviato." S0="SMTPSVC" S2="%varExGWName%"/>
									<Rule Name="fExGWSMTPNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="Issue" Title="Servizio {0} non in esecuzione" Text="Il servizio {0} nel server {2} non è in esecuzione. Per l'instradamento dei messaggi, è importante che questo servizio sia in esecuzione." S0="SMTPSVC" S2="%varExGWName%" GUID="64ba818b-8789-41bb-ac20-f3eb9c7d1594"/>
								</Setting>
								<Setting Key1="StartMode">
									<Rule Name="fExGWSMTPDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="Issue" Title="Servizio {0} disabilitato" Text="Il servizio {0} nel server {2} è disabilitato. Per l'instradamento dei messaggi, è importante che questo servizio sia in esecuzione." S0="SMTPSVC" S2="%varExGWName%" GUID="7e8ef54b-1be2-4955-8123-f0ddd39e0d84"/>
									<Rule Name="fExGWSMTPManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale del servizio {0}" Text="Il servizio {0} nel server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' in quanto il corretto funzionamento di Exchange dipende da questo servizio." S0="SMTPSVC" S2="%varExGWName%" GUID="423d680b-5861-4bcb-a512-3189c7a6a33d"/>
								</Setting>
							</Object>
							<!-- Next, let's drill down to SMTP virtual servers running on the specified Exchange gateway -->
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=SMTP,CN=Protocols,%DN%" Key3="objectCategory=protocolCfgSMTPServer">
								<Rule Name="fDirectorySMTPVSException" Query="../Exception/@Message" Error="Error" Sev="2" Title="Impossibile accedere ai dati sulla directory" Text="Impossibile raccogliere i dati della directory dal server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="../Exception/@Message" S2="%varDCName%" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61"/>
								<Rule Name="fExGWSMTPVSNotFound" Query="not($fDirectorySMTPVSException) and count($szExGWSMTPVSDN) &lt;1" Error="Error" Sev="2" ReportIssue="Issue" Title="Nessuna istanza SMTP trovata" Text="Il server {2} è stato specificato come server gateway di Exchange ma non dispone di nessuna istanza SMTP. Il server non è in grado di instradare alcun messaggio." S2="%varExGWName%" GUID="22c13372-fca1-4e6c-8f4a-ce3aa7d85579" AlwaysEvaluate="True"/>
								<Setting Key1="adminDisplayName">
									<Rule Name="szSMTPInstanceName" Query="$."/>
								</Setting>
								<Setting Key1="cn" Substitution="SMTPVSCN"/>
								<Setting Key1="distinguishedName" Substitution="SMTPVSDN">
									<Rule Name="szExGWSMTPVSDN" Query="$."/>
								</Setting>
								<Setting Key1="msExchSmtpOutgoingPort">
									<Rule Name="fSMTPOutogoingPortNot25" Query="$.!=25" Error="Warning" Sev="3" Title="Porta SMTP non standard" Text="L'istanza SMTP '{3}' sul server gateway di Exchange {2} non utilizza la porta 25 predefinita per le connessioni SMTP in uscita. Numero porta corrente: {9}." S2="%varExGWName%" P3="$szSMTPInstanceName" P9="$." GUID="6dbd672c-b718-4a6d-91db-ad3f4cccad12"/>
								</Setting>
								<Setting Key1="msExchSmtpSmartHost">
									<Rule Name="szSMTPVSSmartHost" Query="$."/>
									<Rule Name="fSMTPVSSmartHostSet" Query="$.!=''" Error="Warning" Sev="1" Title="SmartHost è impostato sul server virtuale SMTP" Text="L'istanza SMTP '{3}' sul server gateway di Exchange {2} è configurata per instradare tutti i messaggi tramite lo SmartHost '{1}'. Se non impostata correttamente, questa opzione può provocare problemi di flusso di posta." P1="$." S2="%varExGWName%" P3="$szSMTPInstanceName" GUID="8e853999-f072-466f-bd72-923c6d7447a6"/>
								</Setting>
								<!-- Next, check whether the SMTP virtual server is up and running -->
								<Object Type="Metabase" Key1="%EXGWCN%" Key2="LM/SmtpSvc/%SMTPVSCN%" Timeout="%300">
									<Setting Key1="1016" Key2="ServerState">
										<Rule Name="fSMTPVSStarted" Query="$.=2" Error="None" Title="Istanza SMTP avviata" Text="L'istanza SMTP '{3}' sul server {2} è avviata." S2="%varExGWName%" P3="$szSMTPInstanceName"/>
										<Rule Name="fSMTPVSStopped" Query="$.=4" Error="Error" Sev="1" ReportIssue="RootCause" Title="Istanza SMTP arrestata" Text="L'istanza SMTP '{3}' sul server {2} è arrestata. Il server virtuale non può instradare messaggi." S2="%varExGWName%" P3="$szSMTPInstanceName" GUID="369d863f-7702-4ffc-80fd-a9f86eb26ce0"/>
										<Rule Name="fSMTPVSPaused" Query="$.=6" Error="Error" Sev="2" ReportIssue="RootCause" Title="Istanza SMTP sospesa" Text="L'istanza SMTP '{3}' sul server {2} è sospesa." S2="%varExName%" P3="$szSMTPInstanceName" GUID="ca7cb622-13da-40f7-b8d8-ce020a0380c7"/>
									</Setting>
									<Setting Key1="1023" Key2="ServerBindings" Substitution="SERVERBINDINGS" SubstitutionFormat=":$----;"/>
									<!-- Let's also check if the SMTP port of the SMTP virtual server responds -->
									<Object Type="Cache" Name="Exchange Gateway SMTP Port Cache" Key1="Add" Key2="SMTPPortList-%SMTPVSCN%" Key3="%SERVERBINDINGS%" Key4=";" Display="Hide">
										<Setting Key1="SMTPServer" Substitution="SMTPSERVER" SubstitutionFormat="^(.*?):.*$----$1"/>
										<Setting Key1="SMTPPort" Substitution="SMTPPORT" SubstitutionFormat="^.*:(\d{1,5})$----$1"/>
										<Object Type="If" Key1="true()" Display="Hide">
											<Setting Key1="if('%SMTPSERVER%'='', '%EXGWCN%', '%SMTPSERVER%')" Substitution="SERVER" Display="Hide"/>
											<Object Type="Port" Name="SMTP Port Test" Key1="%SERVER%">
												<Setting Key1="%SMTPPORT%">
													<Rule Name="fSMTPPortSuccess" Query="contains($.[2], concat(@S9,' Available'))" Error="None" Title="La porta {9} ha risposto" Text="La porta {9}, utilizzata dall'istanza SMTP '{3}', ha risposto nel server {2}." S2="%varExGWName%" P3="$szSMTPInstanceName" S9="%SMTPPORT%"/>
													<Rule Name="fSMTPPortError" Query="not($fSMTPPortSuccess)" Error="Error" Sev="1" ReportIssue="Issue" Title="La porta {9} non ha risposto" Text="La porta {9}, utilizzata dall'istanza SMTP '{3}', non ha risposto nel server {2}." S2="%varExGWName%" P3="$szSMTPInstanceName" S9="%SMTPPORT%" GUID="80503d53-ada9-4bc1-b6c3-1266b10de3af"/>
												</Setting>
											</Object>
										</Object>
									</Object>
								</Object>
								<!-- We need to check whether the specified Exchange gateway functions as a bridgehead server of any outbound SMTP connectors -->
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectClass=msExchRoutingSMTPConnector)(msExchSourceBridgeheadServersDN=%SMTPVSDN%)(routingList=*))">
									<Rule Name="fDirectoryConnectorException" Query="../Exception/@Message" Error="Error" Sev="2" Title="Impossibile accedere ai dati sulla directory" Text="Impossibile raccogliere i dati della directory dal server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="../Exception/@Message" S2="%varDCName%" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61"/>
									<Rule Name="fExGWSMTPConnectorNotFound" Query="not($fDirectoryConnectorException) and count($szSMTPConnectorDN) &lt;1" Error="Warning" Sev="3" Title="Istanza SMTP senza alcun connettore SMTP in uscita impostato" Text="L'istanza SMTP '{3}' non risulta essere il server testa di ponte locale designato di alcun connettore SMTP che disponga di uno spazio indirizzo. È possibile che sia necessario un ulteriore hop perché i messaggi in uscita possano uscire dall'organizzazione di Exchange. Verificare che questa configurazione sia intenzionale." P3="$szSMTPInstanceName" GUID="66c35604-2375-4107-b6e8-bd06538653eb" AlwaysEvaluate="True"/>
									<Setting Key1="cn">
										<Rule Name="szSMTPConnectorCN" Query="$."/>
									</Setting>
									<Setting Key1="distinguishedName">
										<Rule Name="szSMTPConnectorDN" Query="$."/>
									</Setting>
									<Setting Key1="msExchSmtpSmartHost">
										<Rule Name="szSMTPConnectorSmartHost" Query="$." Error="None" Title="SmartHost connettore SMTP" Text="Il connettore SMTP '{4}' è configurato per inoltrare tutti i messaggi mediante lo SmartHost '{1}'." P1="$." P4="$szSMTPConnectorCN"/>
										<Rule Name="szSMTPConnectorSmartHostLowerCase" Query="lower-case($.)"/>
									</Setting>
									<Setting Key1="routingList"/>
								</Object>
							</Object>
							<!-- Let's check if the Exchange gateway is configured to route message to the non-Exchange gateway -->
							<Object Type="If" Name="Non-Exchange Gateway" Key1="'%varGWProvided%' = '1'">
								<Setting Key1="lower-case('%varGWName%')" Substitution="GWSHORTNAME" SubstitutionFormat="^(.*?)\..*[a-zA-Z].*$----$1">
									<Rule Name="fGWNotFound" Query="count($szSMTPConnectorSmartHostLowerCase[contains(., '%GWSHORTNAME%')]) &lt;1" Error="Warning" Sev="2" Title="Server gateway non di Exchange non impostato come SmartHost" Text="Nessun connettore SMTP con il server gateway di {2} come testa di ponte locale ha il server gateway non di Exchange {1} designato come SmartHost. Impossibile instradare direttamente i messaggi in uscita dal server {2} al server {1}. Verificare se la configurazione è intenzionale." S1="%varGWName%" S2="%varExGWName%" GUID="c85be53c-96ba-4570-ae1e-bc68e0b78bb0" AlwaysEvaluate="True"/>
								</Setting>
							</Object>
						</Object>
						<Rule Name="szCheckExGateway" Query="'CheckExGateway'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fExGWIssueFound,string(@Title),$szExNoErrorStateText)" Title="Sono stati rilevati uno o più problemi nel server gateway di Exchange." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato rilevato nessun problema nel server gateway di Exchange."/>
						<Rule Name="szCheckExGatewayResult" Query="string(@Title)" Title="Risultati analisi server gateway di Exchange">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fExGWIssueFound" Query="$fExGWNotFound or $fExGWSMTPNotStarted or $fExGWSMTPDisabled or $fExGWSMTPManual or $fExGWSMTPVSNotFound or $fSMTPOutogoingPortNot25 or $fSMTPVSSmartHostSet or $fSMTPVSStopped or $fSMTPVSPaused or $fSMTPPortError or $fExGWSMTPConnectorNotFound or $fGWNotFound" AlwaysEvaluate="True"/>

						<Rule Name="szSwitchSymptom" Query="'Queue'">
							<Variable Name="varSelSymptom" Scope="Children"/>
						</Rule>
						<Rule Name="szSwitchVarExName" Query="'%varExGWName%'">
							<Variable Name="varExName" Scope="Children"/>
						</Rule>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckExGatewayStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule NextStep="RetrieveBasicServerData" Name="fNeedExGWBasicData" Query="not($fExGWNotFound or upper-case(@S2)=upper-case(@S0))" Priority="2" Text="- Recuperare le informazioni di base sul server {0}, quindi verificare lo stato delle code" S0="%varExGWName%" S2="%varExName%" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckQueueStatus" Name="fGoDirectlyCheckQueue" Query="not($fExGWNotFound) and @S1='Outbound' and upper-case(@S2)=upper-case(@S0)" Priority="3" Text="- Verificare lo stato di più code nel server {0}." S0="%varExGWName%" S1="%varSelSymptom%" S2="%varExName%" Display="Hide" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckQueueStatus" Title="Verifica stato code SMTP" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExDN%" Substitution="varExDN" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dello stato delle code SMTP in corso" Text="Attendere. Controllo dello stato delle code SMTP sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<!-- Let's check the status of each queue -->
				<Object Type="Group" Name="SMTP Queue Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON" TrackProgress="TrackProgress" MaxTime="ALL,5" MaxTimeouts="ALL,5" MaxFailures="WMI,5">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="WMI" Key1="%varExName%" Key2="root\cimv2\applications\exchange" Key3="ExchangeLink" Key4="ProtocolName='SMTP' and TypePendingCategorization='True'" TrackProgress="TrackProgress">
							<Rule Name="fWMITimeout" Query="count(../Instance)=0" Error="Error" Sev="1" Title="Nessun stato della coda disponibile. Interruzione dell'analisi della coda SMTP in corso" Text="Impossibile recuperare le informazioni sulla coda nel server {2}. Il server potrebbe aver perso la connessione con i server Active Directory." S2="%varExName%" AlwaysEvaluate="True"/>
							<Setting Key1="LinkName">
								<Rule Name="szMADLLinkName" Query="$."/>
							</Setting>
							<Setting Key1="ExtendedStateInfo">
								<Rule Name="szMADLStateInfo" Query="$."/>
							</Setting>
							<Setting Key1="NumberOfMessages">
								<Rule Name="fMADLMany" Query="$. &gt;50" Error="Error" Sev="1" ReportIssue="Summary" Title="È in esecuzione il backup della coda 'Messaggi in attesa dell'individuazione della directory'" Text="La coda 'Messaggi in attesa dell'individuazione della directory' ({3}) nel server {2} contiene più di 50 messaggi. Origine: '{4}'. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szMADLLinkName" P4="$szMADLSMTPInstanceName" P9="$iMADLMessage">
									<Variable Name="varMADLMany" Scope="Children"/>
								</Rule>
								<Rule Name="iMADLMessage" Query="$."/>
							</Setting>
							<Setting Key1="StateFrozen">
								<Rule Name="fMADLFrozen" Query="upper-case($.)='TRUE'" Error="Error" Sev="1" ReportIssue="Issue" Title="La coda 'Messaggi in attesa dell'individuazione della directory' è bloccata" Text="La coda 'Messaggi in attesa dell'individuazione della directory' ({3}) nel server {2} è bloccata. Origine: '{4}'. Numero di messaggi nella coda: {9}. Per consentire il flusso della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szMADLLinkName" P4="$szMADLSMTPInstanceName" P9="$iMADLMessage" GUID="56c08a8a-555a-45c9-be70-14f3dd02d72c"/>
							</Setting>
							<Setting Key1="StateRetry">
								<Rule Name="fMADLRetry" Query="upper-case($.)='TRUE'" Error="Error" Sev="1" ReportIssue="Summary" Title="La coda 'Messaggi in attesa dell'individuazione della directory' è in riesecuzione" Text="La coda 'Messaggi in attesa dell'individuazione della directory' ({3}) nel server {2} è in stato Riprova. Origine: '{4}'. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szMADLLinkName" P4="$szMADLSMTPInstanceName" P9="$iMADLMessage" GUID="9c2d85bf-1452-4343-808b-23764311340b">
									<Variable Name="varMADLRetry" Scope="Children"/>
								</Rule>
							</Setting>
							<Setting Key1="VirtualServerName" Substitution="SMTPINSTANCE"/>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%">
								<Setting Key1="adminDisplayName">
									<Rule Name="szMADLSMTPInstanceName" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key2="root\cimv2\applications\exchange" Key3="ExchangeLink" Key4="ProtocolName='SMTP' and TypePendingRouting='True'" TrackProgress="TrackProgress">
							<Setting Key1="LinkName">
								<Rule Name="szRoutingLinkName" Query="$."/>
							</Setting>
							<Setting Key1="ExtendedStateInfo">
								<Rule Name="szRoutingStateInfo" Query="$."/>
							</Setting>
							<Setting Key1="NumberOfMessages">
								<Rule Name="fRoutingMany" Query="$. &gt;50" Error="Error" Sev="2" ReportIssue="Summary" Title="È in esecuzione il backup della coda 'Messaggi in attesa di essere reindirizzati'" Text="La coda 'Messaggi in attesa di essere reindirizzati' ({3}) nel server {2} contiene più di 50 messaggi. Origine: '{4}'. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szRoutingLinkName" P4="$szRoutingSMTPInstanceName" P9="$iRoutingMessage"/>
								<Rule Name="iRoutingMessage" Query="$."/>
							</Setting>
							<Setting Key1="StateFrozen">
								<Rule Name="fRoutingFrozen" Query="upper-case($.)='TRUE'" Error="Error" Sev="1" ReportIssue="Issue" Title="La coda 'Messaggi in attesa di essere reindirizzati' è bloccata" Text="La coda 'Messaggi in attesa di essere reindirizzati' ({3}) nel server {2} è bloccata. Origine: '{4}'. Numero di messaggi nella coda: {9}. Per consentire il flusso della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szRoutingLinkName" P4="$szRoutingSMTPInstanceName" P9="$iRoutingMessage" GUID="6c71bcbc-5548-4e4e-81bb-b3453ea77fae"/>
							</Setting>
							<Setting Key1="StateRetry">
								<Rule Name="fRoutingRetry" Query="upper-case($.)='TRUE'" Error="Error" Sev="2" ReportIssue="Summary" Title="La coda 'Messaggi in attesa di essere reindirizzati' è in riesecuzione" Text="La coda 'Messaggi in attesa di essere reindirizzati' ({3}) nel server {2} è in stato Riprova. Origine: '{4}'. Numero di messaggi nella coda: {9}. Ulteriori informazioni sullo stato: {1}" P1="$szRoutingStateInfo" S2="%varExName%" P3="$szRoutingLinkName" P4="$szRoutingSMTPInstanceName" P9="$iRoutingMessage" GUID="841ba030-9991-45dc-bbd1-59ece21b28e9"/>
							</Setting>
							<Setting Key1="VirtualServerName" Substitution="SMTPINSTANCE"/>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%">
								<Setting Key1="adminDisplayName">
									<Rule Name="szRoutingSMTPInstanceName" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key2="root\cimv2\applications\exchange" Key3="ExchangeLink" Key4="ProtocolName='SMTP' AND TypeLocalDelivery='True'" TrackProgress="TrackProgress">
							<Setting Key1="LinkName">
								<Rule Name="szLocalDeliveryLinkName" Query="$.">
									<Variable Name="varLDLinkName" Scope="Children"/>
								</Rule>
							</Setting>
							<Setting Key1="ExtendedStateInfo">
								<Rule Name="szLocalDeliveryStateInfo" Query="$."/>
							</Setting>
							<Setting Key1="NumberOfMessages">
								<Rule Name="fLocalDeliveryMany" Query="$. &gt;100" Error="Error" Sev="2" ReportIssue="Summary" Title="Messaggi in attesa di recapito locale" Text="La coda 'Recapito locale' ({3}) nel server {2} contiene più di 100 messaggi. Origine: '{4}'. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szLocalDeliveryLinkName" P4="$szLocalDeliverySMTPInstanceName" P9="$iLocalDeliveryMessage"/>
								<Rule Name="iLocalDeliveryMessage" Query="$."/>
							</Setting>
							<Setting Key1="StateFrozen">
								<Rule Name="fLocalDeliveryFrozen" Query="upper-case($.)='TRUE'" Error="Error" Sev="1" ReportIssue="Issue" Title="Messaggi in attesa di recapito locale" Text="La coda 'Recapito locale' ({3}) nel server {2} è bloccata. Origine: '{4}'. Numero di messaggi nella coda: {9}. Per consentire il recapito della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szLocalDeliveryLinkName" P4="$szLocalDeliverySMTPInstanceName" P9="$iLocalDeliveryMessage" GUID="e8c7f990-1076-4f32-b906-76fdb3a4dc6c"/>
							</Setting>
							<Setting Key1="StateRetry">
								<Rule Name="fLocalDeliveryRetry" Query="upper-case($.)='TRUE'" Error="Error" Sev="2" ReportIssue="Summary" Title="Messaggi in attesa di recapito locale" Text="La coda 'Recapito locale' ({3}) nel server {2} è in stato Riprova. Origine: '{4}'. Numero di messaggi nella coda: {9}. Ulteriori informazioni sullo stato: {1}" P1="$szLocalDeliveryStateInfo" S2="%varExName%" P3="$szLocalDeliveryLinkName" P4="$szLocalDeliverySMTPInstanceName" P9="$iLocalDeliveryMessage" GUID="74c90bcf-1e8b-4fa3-822a-911552a5303e"/>
							</Setting>
							<Setting Key1="VirtualServerName" Substitution="SMTPINSTANCE"/>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%">
								<Setting Key1="adminDisplayName">
									<Rule Name="szLocalDeliverySMTPInstanceName" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key2="root\cimv2\applications\exchange" Key3="ExchangeLink" Key4="ProtocolName='SMTP' and TypePendingSubmission='True'" TrackProgress="TrackProgress">
							<Setting Key1="LinkName">
								<Rule Name="szPendingSubmissionLinkName" Query="$."/>
							</Setting>
							<Setting Key1="ExtendedStateInfo">
								<Rule Name="szPendingSubmissionStateInfo" Query="$."/>
							</Setting>
							<Setting Key1="NumberOfMessages">
								<Rule Name="fPendingSubmissionMany" Query="$. &gt;50" Error="Error" Sev="2" ReportIssue="Summary" Title="È in esecuzione il backup della coda 'Messaggi in attesa di invio'" Text="La coda 'Messaggi in attesa di invio' ({3}) nel server {2} contiene più di 50 messaggi. Origine: '{4}'. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szPendingSubmissionLinkName" P4="$szPendingSubmissionSMTPInstanceName" P9="$iPendingSubmissionMessage"/>
								<Rule Name="iPendingSubmissionMessage" Query="$."/>
							</Setting>
							<Setting Key1="StateFrozen">
								<Rule Name="fPendingSubmissionFrozen" Query="upper-case($.)='TRUE'" Error="Error" Sev="1" ReportIssue="Issue" Title="La coda 'Messaggi in attesa di invio' è bloccata" Text="La coda 'Messaggi in attesa di invio' ({3}) nel server {2} è bloccata. Origine: '{4}'. Numero di messaggi nella coda: {9}. Per consentire il flusso della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szPendingSubmissionLinkName" P4="$szPendingSubmissionSMTPInstanceName" P9="$iPendingSubmissionMessage" GUID="c3e4957e-fc47-4fcd-96bc-cccaffca638e"/>
							</Setting>
							<Setting Key1="StateRetry">
								<Rule Name="fPendingSubmissionRetry" Query="upper-case($.)='TRUE'" Error="Error" Sev="2" ReportIssue="Summary" Title="La coda 'Messaggi in attesa di invio' è in riesecuzione" Text="La coda 'Messaggi in attesa di invio' ({3}) nel server {2} è in stato Riprova. Origine: '{4}'. Numero di messaggi nella coda: {9}. Ulteriori informazioni sullo stato: {1}" P1="$szPendingSubmissionStateInfo" S2="%varExName%" P3="$szPendingSubmissionLinkName" P4="$szPendingSubmissionSMTPInstanceName" P9="$iPendingSubmissionMessage" GUID="eccf7aca-0691-49bd-b9fc-5077d73ee627"/>
							</Setting>
							<Setting Key1="VirtualServerName" Substitution="SMTPINSTANCE"/>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%">
								<Setting Key1="adminDisplayName">
									<Rule Name="szPendingSubmissionSMTPInstanceName" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<!-- For remote delivery queues, we need extra rules to resolve link names and destination servers -->
						<Object Type="WMI" Key1="%varExName%" Key2="root\cimv2\applications\exchange" Key3="ExchangeLink" Key4="ProtocolName='SMTP' and TypeRemoteDelivery='True'" TrackProgress="TrackProgress">
							<Setting Key1="LinkName">
								<!-- Find out link names or server names -->
								<Rule Name="szRemoteDeliveryRawLinkName" Query="$."/>
								<Rule Name="szRemoteDeliveryLinkName" Query="if (count($szRemoteDeliveryResolvedLinkName) &gt;0, $szRemoteDeliveryModifiedLinkName, $.)" AlwaysEvaluate="True"/>
								<Rule Name="szRemoteDeliveryProbLinkServerOrDomain" Query="if ((count($szRemoteDeliveryStateInfo) &gt;0 or $fRemoteDeliveryMany or $fRemoteDeliveryRetry) and count($szRemoteDeliveryResolvedLinkName) = 0, $.)" AlwaysEvaluate="True"/>
								<Rule Name="szRemoteDeliveryProbLinkSourceBH" Query="if ((count($szRemoteDeliveryStateInfo) &gt;0 or $fRemoteDeliveryMany or $fRemoteDeliveryRetry) and $fStuckToSourceBH, join(';', $szSourceBH))" AlwaysEvaluate="True"/>
								<Rule Name="szRemoteDeliveryProbLinkRGC" Query="if ((count($szRemoteDeliveryStateInfo) &gt;0 or $fRemoteDeliveryMany or $fRemoteDeliveryRetry) and $szConnectorType = 'RG' and not($fStuckToSourceBH), $szRemoteDeliveryLinkGuid)" AlwaysEvaluate="True"/>
								<Rule Name="szRemoteDeliveryProbLinkSMTPDestServer" Query="if ((count($szRemoteDeliveryStateInfo) &gt;0 or $fRemoteDeliveryMany or $fRemoteDeliveryRetry) and string-length($szSMTPDestServer) &gt;0 and not($fStuckToSourceBH), $szSMTPDestServer)" AlwaysEvaluate="True"/>
								<Rule Name="szRemoteDeliveryProbLinkSMTPDestDomain" Query="if ((count($szRemoteDeliveryStateInfo) &gt;0 or $fRemoteDeliveryMany or $fRemoteDeliveryRetry) and $szConnectorType = 'SMTP' and string-length($szSMTPDestServer) &lt;1 and not($fStuckToSourceBH), $.)" AlwaysEvaluate="True"/>
							</Setting>
							<Setting Key1="ExtendedStateInfo">
								<Rule Name="szRemoteDeliveryStateInfo" Query="$."/>
							</Setting>
							<Setting Key1="NumberOfMessages">
								<Rule Name="fRemoteDeliveryMany" Query="$. &gt;100" Error="Error" Sev="1" ReportIssue="Summary" Title="È in esecuzione il backup della coda 'Recapito remoto' ({3})" Text="La coda 'Recapito remoto' ({3}) nel server {2} contiene più di 100 messaggi. Origine: '{4}'. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szRemoteDeliveryLinkName" P4="$szRemoteDeliverySMTPInstanceName" P9="$iRemoteDeliveryMessage"/>
								<Rule Name="iRemoteDeliveryMessage" Query="$."/>
							</Setting>
							<Setting Key1="StateFrozen">
								<Rule Name="fRemoteDeliveryFrozen" Query="upper-case($.)='TRUE'" Error="Error" Sev="1" ReportIssue="Issue" Title="La coda 'Recapito remoto' ({3}) è bloccata" Text="La coda 'Recapito remoto' ({3}) nel server {2} è bloccata. Origine: '{4}'. Numero di messaggi nella coda: {9}. Per consentire il flusso della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szRemoteDeliveryLinkName" P4="$szRemoteDeliverySMTPInstanceName" P9="$iRemoteDeliveryMessage" GUID="a98a5d91-0016-44d1-a2d1-ada798e5d393"/>
							</Setting>
							<Setting Key1="StateRetry">
								<Rule Name="fRemoteDeliveryRetry" Query="upper-case($.)='TRUE'" Error="Error" Sev="1" ReportIssue="Summary" Title="La coda 'Recapito remoto' ({3}) è in stato Riprova" Text="La coda 'Recapito remoto' ({3}) nel server {2} è in stato Riprova. Origine: '{4}'. Numero di messaggi nella coda: {9}. Ulteriori informazioni sullo stato: {1}" P1="$szRemoteDeliveryStateInfo" S2="%varExName%" P3="$szRemoteDeliveryLinkName" P4="$szRemoteDeliverySMTPInstanceName" P9="$iRemoteDeliveryMessage" GUID="f4fb5be2-4659-44f6-b956-70b8099e7a2e"/>
							</Setting>
							<Setting Key1="LinkDN" Substitution="LINKGUID">
								<Rule Name="szRemoteDeliveryLinkGuid" Query="$."/>
							</Setting>
							<Setting Key1="VirtualServerName" Substitution="SMTPINSTANCE"/>
							<!-- Need to resolve GUID with link names -->
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%LINKGUID%&gt;">
								<Setting Key1="cn">
									<Rule Name="szRemoteDeliveryResolvedLinkName" Query="$."/>
									<Rule Name="szRemoteDeliveryModifiedLinkName" Query="if ($szConnectorType = 'RG', concat (string(@Title), $.), if ($szConnectorType = 'SMTP', concat ($szSMTPConnectorType, $., ' - ', $szRemoteDeliveryRawLinkName)))" Title="Connettore gruppo di routing: "/>
									<Rule Name="fStuckToSourceBH" Query="count($szSourceBH) &gt;0 and $fLocalSMTPInstanceNotIncluded" AlwaysEvaluate="True"/>
									<Rule Name="szSMTPConnectorType" Query="string(@Title)" Title="Connettore SMTP: "/>
								</Setting>
								<Setting Key1="objectCategory">
									<Rule Name="szConnectorType" Query="if(starts-with($.,'CN=ms-Exch-Routing-Group-Connector'), 'RG', if(starts-with($., 'CN=ms-Exch-Routing-SMTP-Connector'), 'SMTP'))"/>
								</Setting>
								<Setting Key1="msExchSourceBridgeheadServersDN">
									<Rule Name="szSourceBH" Query="$."/>
									<Rule Name="fLocalSMTPInstanceNotIncluded" Query="count($.[upper-case(.)=upper-case('CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%')]) &lt;1"/>
								</Setting>
								<!-- For SMTP connectors, it is necessary to know now whether the queue is destined to specific smart hosts or domains. -->
								<Setting Key1="msExchSmtpSmartHost">
									<Rule Name="szSMTPDestServer" Query="lower-case($.)"/>
								</Setting>
							</Object>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%">
								<Setting Key1="adminDisplayName">
									<Rule Name="szRemoteDeliverySMTPInstanceName" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<!-- We now look at the Messages with an unreachable destination queue -->
						<Object Type="WMI" Key1="%varExName%" Key2="root\cimv2\applications\exchange" Key3="ExchangeLink" Key4="ProtocolName='SMTP' and TypeCurrentlyUnreachable='True'" TrackProgress="TrackProgress">
							<Setting Key1="LinkName">
								<Rule Name="szCurrentlyUnreachableLinkName" Query="$."/>
							</Setting>
							<Setting Key1="ExtendedStateInfo">
								<Rule Name="szCurrentlyUnreachableStateInfo" Query="$."/>
							</Setting>
							<Setting Key1="NumberOfMessages">
								<Rule Name="fCurrentlyUnreachableNonZero" Query="$. &gt; 0" Error="Error" Sev="3" ReportIssue="Issue" Title="La coda 'Messaggi con destinazione irraggiungibile' contiene messaggi" Text="La coda 'Messaggi con destinazione irraggiungibile' ({3}) nel server {2} contiene uno o più messaggi. Origine: '{4}'. Numero di messaggi nella coda: {9}. Ciò potrebbe indicare che non esiste una route alternativa disponibile per un connettore o una destinazione remota." S2="%varExName%" P3="$szCurrentlyUnreachableLinkName" P4="$szCurrentlyUnreachableSMTPInstanceName" P9="$iCurrentlyUnreachableMessage"/>
								<Rule Name="iCurrentlyUnreachableMessage" Query="$."/>
							</Setting>
							<Setting Key1="StateFrozen">
								<Rule Name="fCurrentlyUnreachableFrozen" Query="upper-case($.)='TRUE'" Error="Error" Sev="1" ReportIssue="Issue" Title="La coda 'Messaggi con destinazione irraggiungibile' è bloccata" Text="La coda 'Messaggi con destinazione irraggiungibile' ({3}) nel server {2} è bloccata. Origine: '{4}'. Numero di messaggi nella coda: {9}. Per consentire il flusso della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szCurrentlyUnreachableLinkName" P4="$szCurrentlyUnreachableSMTPInstanceName" P9="$iCurrentlyUnreachableMessage"/>
							</Setting>
							<Setting Key1="StateRetry">
								<Rule Name="fCurrentlyUnreachableRetry" Query="upper-case($.)='TRUE'" Error="Error" Sev="2" ReportIssue="Issue" Title="La coda 'Messaggi con destinazione irraggiungibile' è in riesecuzione" Text="La coda 'Messaggi con destinazione irraggiungibile' ({3}) nel server {2} è in stato Riprova. Origine: '{4}'. Numero di messaggi nella coda: {9}. Ulteriori informazioni sullo stato: {1}" P1="$szCurrentlyUnreachableStateInfo" S2="%varExName%" P3="$szCurrentlyUnreachableLinkName" P4="$szCurrentlyUnreachableSMTPInstanceName" P9="$iCurrentlyUnreachableMessage"/>
							</Setting>
							<Setting Key1="VirtualServerName" Substitution="SMTPINSTANCE"/>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%">
								<Setting Key1="adminDisplayName">
									<Rule Name="szCurrentlyUnreachableSMTPInstanceName" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<Rule Name="szExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
						<Rule Name="fFatalWMIError" Query="../Exception/@Message or ../Instance/Object/Exception/@Message" Error="Error" Sev="1" Title="Errore durante l'accesso a WMI. Interruzione dell'analisi della coda SMTP in corso" Text="Impossibile eseguire la query delle impostazioni della coda sul server {2}. È possibile che le credenziali dell'utente non siano corrette o che si sia verificato un problema con il servizio Strumentazione gestione Windows (WMI) su tale computer. Messaggio di errore: {1}" P1="$szExceptionText" S2="%varExName%" AlwaysEvaluate="True"/>

						<Rule Name="szCheckQueueStatus" Query="'CheckQueueStatus'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if(not ($fNoBackedUpQueue),string(@Title),$szExNoErrorStateText)" Title="Sono stati rilevati uno o più errori." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessuna coda principale è in fase di backup."/>
						<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi coda iniziale">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>
						<Rule Name="szAllRemoteDeliveryProbLinkServerOrDomain" Query="lower-case(join(',', $szRemoteDeliveryProbLinkServerOrDomain))">
							<Variable Name="varAllRDProbLinkServerOrDomain" Scope="Children"/>
						</Rule>
						<Rule Name="szAllRemoteDeliveryProbLinkSourceBH" Query="join(';', $szRemoteDeliveryProbLinkSourceBH)">
							<Variable Name="varAllRDProbLinkSourceBH" Scope="Children"/>
						</Rule>
						<Rule Name="szAllRemoteDeliveryProbLinkRGC" Query="join(',', $szRemoteDeliveryProbLinkRGC)">
							<Variable Name="varAllRDProbLinkRGC" Scope="Children"/>
						</Rule>
						<Rule Name="szAllRemoteDeliveryProbLinkSMTPDestServer" Query="lower-case(replace (join(',', $szRemoteDeliveryProbLinkSMTPDestServer),';',','))">
							<Variable Name="varAllRDProbLinkSMTPDestServer" Scope="Children"/>
						</Rule>
						<Rule Name="szAllRemoteDeliveryProbLinkSMTPDestDomain" Query="lower-case(join(',', $szRemoteDeliveryProbLinkSMTPDestDomain))">
							<Variable Name="varAllRDProbLinkSMTPDestDomain" Scope="Children"/>
						</Rule>

						<Rule Name="fMADLBackedUp" Query="($fMADLMany or $fMADLRetry) and not ($fMADLFrozen)" AlwaysEvaluate="True"/>
						<Rule Name="fRoutingBackedUp" Query="($fRoutingMany or $fRoutingRetry) and not ($fRoutingFrozen)" AlwaysEvaluate="True"/>
						<Rule Name="fLocalDeliveryBackedUp" Query="($fLocalDeliveryMany or $fLocalDeliveryRetry) and not ($fLocalDeliveryFrozen)" AlwaysEvaluate="True"/>
						<Rule Name="fPendingSubmissionBackedUp" Query="($fPendingSubmissionBackedUp or $fPendingSubmissionRetry) and not ($fPendingSubmissionFrozen)" AlwaysEvaluate="True"/>
						<Rule Name="fRemoteDeliveryBackedUp" Query="($fRemoteDeliveryMany or $fRemoteDeliveryRetry) and not ($fRemoteDeliveryFrozen)" AlwaysEvaluate="True">
							<Variable Name="varRemoteDeliveryBackedUp" Scope="Children"/>
						</Rule>
						<Rule Name="fCurrentlyUnreachableBackedUp" Query="($fCurrentlyUnreachableNonZero or $fCurrentlyUnreachableRetry) and not ($fCurrentlyUnreachableFrozen)" AlwaysEvaluate="True"/>

						<Rule Name="fFrozenQueue" Query="$fMADLFrozen or $fRoutingFrozen or $fLocalDeliveryFrozen or $fPendingSubmissionFrozen or $fRemoteDeliveryFrozen" Error="Error" ReportIssue="RootCause" Sev="1" Title="Rilevate code bloccate" Text="Almeno una coda SMTP nel server {2} è bloccata e potrebbe provocare problemi di flusso di posta. Sbloccare le code e verificare il flusso dei messaggi. Se il problema persiste, eseguire nuovamente lo strumento." S2="%varExName%" GUID="28916158-3b7c-4ff8-b924-429658f6c354" AlwaysEvaluate="True"/>
						<Rule Name="fNoBackedUpQueue" Query="not($fMADLBackedUp or $fMADLFrozen or $fRoutingBackedUp or $fRoutingFrozen or $fLocalDeliveryBackedUp or $fLocalDeliveryFrozen or $fPendingSubmissionBackedUp or $fPendingSubmissionFrozen or $fRemoteDeliveryBackedUp or $fRemoteDeliveryFrozen or $fFatalWMIError or $fWMITimeout)" Error="None" ReportIssue="Summary" Title="Nessuna coda è in fase di backup" Text="Nessuna coda SMTP principale nel server {2} è in fase di backup." S2="%varExName%" AlwaysEvaluate="True"/>
						<Rule Name="fTwoOutofThree" Query="($fMADLBackedUp and $fLocalDeliveryBackedUp) or ($fMADLBackedUp and $fRoutingBackedUp) or ($fLocalDeliveryBackedUp and $fRoutingBackedUp)"/>
						<Rule Name="fOnlyMADL" Query="$fMADLBackedUp and not($fTwoOutofThree) and not($fFatalWMIError) and not($fWMITimeout)" AlwaysEvaluate="True"/>
						<Rule Name="fOnlyLD" Query="$fLocalDeliveryBackedUp and not($fTwoOutofThree) and not($fFatalWMIError) and not($fWMITimeout)" AlwaysEvaluate="True"/>
						<Rule Name="fOnlyPR" Query="$fRoutingBackedUp and not($fTwoOutofThree) and not($fFatalWMIError) and not($fWMITimeout)" AlwaysEvaluate="True"/>
						<Rule Name="fOnlyUnreachable" Query="$fCurrentlyUnreachableBackedUp and not ($fRemoteDeliveryBackedUp or $fRoutingBackedUp or $fMADLBackedUp or $fTwoOutofThree or $fFatalWMIError or $fWMITimeout)" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckQueueStatusStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule NextStep="RDInitialCheck" Name="fGotoRDInitialCheck" Query="$fRemoteDeliveryBackedUp" Priority="2" Text="- Avviare l'indagine sulle code 'Recapito remoto'" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="MADLCatCheck" Name="fGotoMADLCatCheck" Query="$fOnlyMADL" Priority="10" Text="- Avviare l'indagine sulla coda 'Messaggi in attesa dell'individuazione della directory'" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="LDInitialCheck" Name="fGotoLDInitialCheck" Query="$fOnlyLD" Priority="20" Text="- Avviare l'indagine sulla coda 'Recapito locale'" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="PRInitialCheck" Name="fGotoPRInitialCheck" Query="$fRoutingBackedUp" Priority="20" Text="- Avviare l'analisi della coda 'Messaggi in attesa di essere reinstradati'" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckLinkState" Name="fGotoCheckLinkState" Query="$fOnlyUnreachable" Priority="20" Text="- Controllare le informazioni sullo stato del collegamento per rilevare possibili problemi di routing" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckLinkStateChurn" Name="fGotoCheckLinkStateChurn" Query="$fOnlyUnreachable" Priority="20" Text="- Controllare le modifiche della versione dello stato del collegamento" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="GQServerLoadCheck" Name="fGotoGQServerLoadCheck" Query="$fTwoOutofThree or $fOnlyPR or $fPendingSubmissionBackedUp" Priority="30" Text="- Avviare la risoluzione generale dei problemi della coda SMTP" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckDomainRouting" Name="fGotoCheckDomainRouting" Query="$fNoBackedUpQueue" Priority="40" Text="- Verificare le informazioni di routing del dominio archiviate nei criteri destinatario, nei connettori e nella metabase" Display="Hide" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckE12QueueStatus" Title="Verifica stato code SMTP" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varRootDomainDN%" Substitution="varRootDomainDN" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dello stato delle code SMTP in corso" Text="Attendere. Controllo dello stato delle code SMTP sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">

				<!-- Let's check the status of each queue -->
				<!--The possible enumeration values are "Undefined, DnsConnectorDelivery, MapiDelivery, NonSmtpGatewayDelivery, SmartHostConnectorDelivery, SmtpRelayToRemoteAdSite, SmtpRelayToTiRg, SmtpRelayWithinAdSite, SmtpRelayWithinAdSiteToEdge, Unreachable"." -->

				<Object Type="Group" TrackProgress="TrackProgress" MaxTime="ALL,1" MaxFailures="ALL,1" MaxTimeouts="ALL,1" SecurityContext="EXLOGON">
					<!--get-Queue does not support -DomainController property-->
					<Object Type="MonadCommand" Name="Identity" Key1="get-queue -Server '%varExName%' -Filter {DeliveryType -eq &quot;Unreachable&quot;}">
						<Setting Key1="Identity">
							<Rule Name="szUnreachableQueueName" Query="$." AlwaysEvaluate="True"/>
						</Setting>
						<Setting Key1="MessageCount">
							<Rule Name="fUnreachableMany" Query="$. &gt;0" Error="Error" Sev="2" ReportIssue="Summary" Title="Coda non raggiungibile" Text="La coda non raggiungibile ({3}) nel server {2} ha più di una voce. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szUnreachableQueueName" P9="$iUnreachableMessage"/>
							<Rule Name="iUnreachableMessage" Query="$."/>
						</Setting>
					</Object>

					<Object Type="MonadCommand" Name="Identity" Key1="get-queue -Server '%varExName%' -Filter {NextHopDomain -eq &quot;Poison&quot;}">
						<Setting Key1="Identity">
							<Rule Name="szPoisonQueueName" Query="$." AlwaysEvaluate="True"/>
						</Setting>
						<Setting Key1="MessageCount">
							<Rule Name="fPoisonMany" Query="$. &gt;0" Error="Warning" Sev="2" ReportIssue="Summary" Title="Coda non elaborabile" Text="La coda non elaborabile ({3}) sul server {2} contiene più voci. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szPoisonQueueName" P9="$iPoisonMessage"/>
							<Rule Name="iPoisonMessage" Query="$."/>
						</Setting>
					</Object>

					<!-- Local delivery queues will not be in retry when delivery to an MDB is failing. -->
					<!-- The current implementation checks for messages in retry for any local delivery queue -->
					<!-- A change of one LD Queue for each MDB rather than one per server will allow more granular diagnostics -->
					<!-- This code should change to provide per MDB root-cause analysis should that change be implemented -->
					<Object Type="MonadCommand" Name="Identity" Key1="get-queue -Server '%varExName%' -Filter {DeliveryType -eq &quot;MapiDelivery&quot;}">
						<Setting Key1="Identity" Substitution="QID">
							<Rule Name="szLocalDeliveryLinkName" Query="$."/>
						</Setting>
						<Setting Key1="MessageCount">
							<Rule Name="fLocalDeliveryMany" Query="$. &gt;50" Error="Error" Sev="2" ReportIssue="Summary" Title="Messaggi in attesa di recapito locale" Text="La coda 'Recapito locale' ({3}) nel server {2} contiene più di 50 messaggi. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szLocalDeliveryLinkName" P9="$iLocalDeliveryMessage"/>
							<Rule Name="iLocalDeliveryMessage" Query="$."/>
						</Setting>
						<Setting Key1="Status" Format="Enum">
							<Rule Name="fLocalDeliveryStateInfo" Query="$fLocalDeliveryFrozen or $fLocalDeliveryRetry"/>
							<Rule Name="fLocalDeliveryFrozen" Query="$.='4'" Error="Error" Sev="1" ReportIssue="Issue" Title="Messaggi in attesa di recapito locale" Text="La coda 'Recapito locale' ({3}) nel server {2} è bloccata. Numero di messaggi nella coda: {9}. Per consentire il recapito della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szLocalDeliveryLinkName" P9="$iLocalDeliveryMessage"/>
							<Rule Name="fLocalDeliveryRetry" Query="$.='3'" Error="Error" Sev="2" ReportIssue="Summary" Title="Messaggi in attesa di recapito locale" Text="La coda 'Recapito locale' ({3}) nel server {2} è in stato Riprova. Numero di messaggi nella coda: {9}. Ulteriori informazioni sullo stato: {1}" P1="$szLocalDeliveryLastError" S2="%varExName%" P3="$szLocalDeliveryLinkName" P9="$iLocalDeliveryMessage"/>
						</Setting>
						<Setting Key1="NextHopDomain" Substitution="MBFQDN"/>
						<Setting Key1="LastError">
							<Rule Name="szLocalDeliveryLastError" Query="$."/>
						</Setting>

						<!-- Find any messages in the local delivery queue that are in retry and delivery has been attemprted more than once -->
						<Object Type="MonadCommand" Name="Identity" Key1="get-Message -Server '%varExName%' -Filter {Queue -eq &quot;%QID%&quot; -and Status -eq 'Retry' -and RetryCount -gt 0}">
							<Rule Name="fLocalDeliveryMDBRetry" Query="count(../Instance) &gt;0" Error="Error" Sev="2" ReportIssue="Summary" Title="I messaggi nella coda 'Recapito locale' sono in riesecuzione" Text="La coda 'Recapito locale' ({3}) nel server {4} ha uno o più messaggi in stato Riprova." P3="$szLocalDeliveryLinkName" S4="%varExName%"/>
						</Object>

						<!-- Find the Mailbox Server the Hub Transport attempted message delivery -->
						<Object Type="MonadCommand" Name="Identity" Key1="get-ExchangeServer -DomainController %varDCName% | where {$_.Fqdn -eq &quot;%MBFQDN%&quot;}">
							<Setting Key1="Name">
								<Rule Name="szLocalDeliveryMailboxName" Query="$."/>
							</Setting>
							<Setting Key1="AdminDisplayVersion"/>
						</Object>
					</Object>

					<Object Type="MonadCommand" Name="Identity" Key1="get-queue -Server '%varExName%' -Filter {NextHopDomain -eq &quot;Submission&quot;}">
						<Setting Key1="Identity">
							<Rule Name="szPendingSubmissionLinkName" Query="$."/>
						</Setting>
						<Setting Key1="MessageCount">
							<Rule Name="fPendingSubmissionMany" Query="$. &gt;50" Error="Error" Sev="2" ReportIssue="Summary" Title="È in esecuzione il backup della coda 'Messaggi in attesa di invio'" Text="La coda 'Messaggi in attesa di invio' ({3}) nel server {2} contiene più di 50 messaggi. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szPendingSubmissionLinkName" P9="$iPendingSubmissionMessage"/>
							<Rule Name="iPendingSubmissionMessage" Query="$."/>
						</Setting>
						<Setting Key1="Status" Format="Enum">
							<Rule Name="fPendingSubmissionStateInfo" Query="$fPendingSubmissionFrozen or $fPendingSubmissionRetry"/>
							<Rule Name="fPendingSubmissionFrozen" Query="$.='4'" Error="Error" Sev="1" ReportIssue="Issue" Title="La coda 'Messaggi in attesa di invio' è bloccata" Text="La coda 'Messaggi in attesa di invio' ({3}) nel server {2} è bloccata. Numero di messaggi nella coda: {9}. Per consentire il flusso della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szPendingSubmissionLinkName" P9="$iPendingSubmissionMessage" GUID="c3e4957e-fc47-4fcd-96bc-cccaffca638e"/>
							<Rule Name="fPendingSubmissionRetry" Query="$.='3'" Error="Error" Sev="2" ReportIssue="Summary" Title="La coda 'Messaggi in attesa di invio' è in riesecuzione" Text="La coda 'Messaggi in attesa di invio' ({3}) nel server {2} è in stato Riprova. Numero di messaggi nella coda: {9}. Ulteriori informazioni sullo stato: {1}" P1="$szPendingSubmissionLastError" S2="%varExName%" P3="$szPendingSubmissionLinkName" P9="$iPendingSubmissionMessage" GUID="eccf7aca-0691-49bd-b9fc-5077d73ee627"/>
						</Setting>
						<Setting Key1="LastError">
							<Rule Name="szPendingSubmissionLastError" Query="$."/>
						</Setting>
					</Object>

					<!-- For remote delivery queues, we need extra rules to resolve link names and destination servers -->
					<Object Type="MonadCommand" Name="Identity" Key1="get-queue -Server '%varExName%' -Filter {DeliveryType -ne &quot;MapiDelivery&quot; -and DeliveryType -ne &quot;Undefined&quot; -and DeliveryType -ne &quot;Unreachable&quot;}">
						<Setting Key1="Identity">
							<Rule Name="szRemoteDeliveryLinkName" Query="$."/>
						</Setting>
						<Setting Key1="Status" Format="Enum">
							<Rule Name="fRemoteDeliveryStateInfo" Query="$fRemoteDeliveryFrozen or $fRemoteDeliveryRetry"/>
							<Rule Name="fRemoteDeliveryFrozen" Query="$.='4'" Error="Error" Sev="1" ReportIssue="Issue" Title="La coda 'Recapito remoto' ({3}) è bloccata" Text="La coda 'Recapito remoto' ({3}) nel server {2} è bloccata. Numero di messaggi nella coda: {9}. Per consentire il flusso della posta, è necessario sbloccare la coda." S2="%varExName%" P3="$szRemoteDeliveryLinkName" P9="$iRemoteDeliveryMessage" GUID="a98a5d91-0016-44d1-a2d1-ada798e5d393"/>
							<Rule Name="fRemoteDeliveryRetry" Query="$.='3'" Error="Error" Sev="2" ReportIssue="Summary" Title="La coda 'Recapito remoto' ({3}) è in stato Riprova" Text="Lo stato della coda 'Recapito remoto' ({3}) sul server {2} è Riprova. Numero di messaggi nella coda: {9}. Informazioni ultimo errore: {1}" P1="$szRemoteDeliveryLastError" S2="%varExName%" P3="$szRemoteDeliveryLinkName" P9="$iRemoteDeliveryMessage" GUID="f4fb5be2-4659-44f6-b956-70b8099e7a2e"/>
						</Setting>
						<Setting Key1="MessageCount">
							<Rule Name="fRemoteDeliveryMany" Query="$. &gt;100" Error="Error" Sev="1" ReportIssue="Summary" Title="È in esecuzione il backup della coda 'Recapito remoto' ({3})" Text="La coda 'Recapito remoto' ({3}) nel server {2} contiene più di 100 messaggi. Numero di messaggi nella coda: {9}." S2="%varExName%" P3="$szRemoteDeliveryLinkName" P9="$iRemoteDeliveryMessage"/>
							<Rule Name="iRemoteDeliveryMessage" Query="$."/>
						</Setting>
						<Setting Key1="DeliveryType" Substitution="DELIVERYTYPE">
							<Rule Name="szConnectorType" Query="$."/>
						</Setting>
						<Setting Key1="NextHopDomain" Substitution="NextHopDomain">
							<Rule Name="szSMTPDestServer" Query="if ($fRemoteDeliveryStateInfo and $szConnectorType = 'SmartHostConnectorDelivery', $.)" AlwaysEvaluate="True"/>
							<Rule Name="szRemoteDeliveryRetryLinkRGC" Query="if (($fRemoteDeliveryStateInfo or $fRemoteDeliveryMany) and $szConnectorType = 'SmtpRelayToTiRg', $szRemoteDeliveryResolvedLinkName)" AlwaysEvaluate="True"/>
							<Rule Name="szRemoteDeliveryRetryAdSiteName" Query="if (($fRemoteDeliveryStateInfo or $fRemoteDeliveryMany) and $szConnectorType = 'SmtpRelayToRemoteAdSite', $.)" AlwaysEvaluate="True"/>
							<Rule Name="szRemoteDeliveryRetryLinkSMTPDestServer" Query="if (($fRemoteDeliveryStateInfo or $fRemoteDeliveryMany) and string-length($szSMTPDestServer) &gt;0, $.)" AlwaysEvaluate="True"/>
							<Rule Name="szRemoteDeliveryRetryLinkSMTPDestDomain" Query="if (($fRemoteDeliveryStateInfo or $fRemoteDeliveryMany) and $szConnectorType = 'DnsConnectorDelivery' and string-length($szSMTPDestServer) &lt;1, $.)" AlwaysEvaluate="True"/>
						</Setting>
						<Setting Key1="NextHopConnector" Substitution="LINKGUID">
							<Rule Name="szRemoteDeliveryResolvedLinkName" Query="$."/>
							<Rule Name="szRemoteDeliveryModifiedLinkName" Query="if ($szConnectorType = 'SmtpRelayToTiRg', concat (string(@Title), $.))" Title="Connettore gruppo di routing: "/>
						</Setting>
						<Setting Key1="LastError">
							<Rule Name="szRemoteDeliveryLastError" Query="$." AlwaysEvaluate="True"/>
						</Setting>

						<!-- Enumerate the servers that source an in-site connector -->
						<Object Type="If" Name="SmtpRelayWithinAdSite" Key1="'%DELIVERYTYPE%' = 'SmtpRelayWithinAdSite'">
							<Object Type="MonadCommand" Name="SourceTransportServers" Key1="get-SendConnector &quot;%NextHopDomain%&quot; -DomainController %varDCName%">
								<Setting Key1="SourceTransportServers" Substitution="ALLHUBCN" SubstitutionFormat="$----,"/>
								<Object Type="Cache" Name="SendConnectorCache" Key1="Show" Key2="%NextHopDomain%" Key3="%ALLHUBCN%" Key4=",">
									<Setting Key1="CN" Substitution="HUBCN"/>
									<Object Type="MonadCommand" Name="Identity" Key1="get-ExchangeServer %HUBCN% -DomainController %varDCName%">
										<Setting Key1="Fqdn" Substitution="HUBFQDN">
											<Rule Name="szRemoteDeliveryRetryWithinAdSiteServer" Query="$."/>
										</Setting>
										<Setting Key1="AdminDisplayVersion"/>
										<Object Type="Directory" Key1="GC://%varDCName%/" Key2="%varRootDomainDN%" Key3="(&amp;(objectCategory=computer)(ServicePrincipalName=SMTPSVC/%HUBFQDN%))" Key4="Subtree">
											<Rule Name="fSpnNotFoundInSite" Query="count(../Instance)=0" Error="Error" ReportIssue="RootCause" Sev="1" Title="Account computer per '{3}' non trovato in Active Directory" Text="Nessun account computer in Active Directory ha '{5}' impostato su '{3}'. Ciò causerà errori di autenticazione Kerberos quando il server {1} tenterà di creare una connessione SMTP al server remoto {2} per la coda '{4}'." S1="%varExName%" S2="%HUBFQDN%" P3="concat('SMTPSVC/', '%HUBFQDN%')" P4="$szRemoteDeliveryLinkName" S5="ServicePrincipalName" AlwaysEvaluate="True"/>
											<Rule Name="fMultipleSpnFoundInSite" Query="count(../Instance)&gt;1" Error="Error" ReportIssue="RootCause" Sev="1" Title="Trovati più account computer per '{3}' in Active Directory" Text="Più account computer in Active Directory hanno '{5}' impostato su '{3}'. Ciò causerà errori di autenticazione Kerberos quando il server {1} tenterà di creare una connessione SMTP al server remoto {2} per la coda '{4}'." S1="%varExName%" S2="%HUBFQDN%" P3="concat('SMTPSVC/', '%HUBFQDN%')" P4="$szRemoteDeliveryLinkName" S5="ServicePrincipalName" AlwaysEvaluate="True"/>
										</Object>
									</Object>
								</Object>
								<Rule Name="szAllRemoteDeliveryRetryWithinAdSiteServers" Query="lower-case(join(',', $szRemoteDeliveryRetryWithinAdSiteServer))"/>
							</Object>
							<Object Type="MonadCommand" Name="SourceTransportServers" Key1="get-RoutingGroupConnector -DomainController %varDCName% -Identity %LINKGUID%">
								<Setting Key1="SourceTransportServers" Substitution="ALLHUBCN" SubstitutionFormat="$----,"/>
								<Object Type="Cache" Name="RoutingGroupConnectorCache" Key1="Show" Key2="%LINKGUID%" Key3="%ALLHUBCN%" Key4=",">
									<Setting Key1="CN" Substitution="HUBCN"/>
									<Object Type="MonadCommand" Name="Identity" Key1="get-ExchangeServer %HUBCN% -DomainController %varDCName%">
										<Setting Key1="Fqdn">
											<Rule Name="szRemoteDeliveryRetryWithinAdSiteServerRGC" Query="$."/>
										</Setting>
										<Setting Key1="AdminDisplayVersion"/>
									</Object>
								</Object>
								<Rule Name="szAllRemoteDeliveryRetryWithinAdSiteServersRGC" Query="lower-case(join(',', $szRemoteDeliveryRetryWithinAdSiteServerRGC))"/>
							</Object>
						</Object>

						<!-- Enumerate the servers in a remote AD Site -->
						<Object Type="If" Name="SmtpRelayToRemoteAdSite" Key1="'%DELIVERYTYPE%' = 'SmtpRelayToRemoteAdSite'">
							<Object Type="MonadCommand" Name="Identity" Key1="get-AdSite -DomainController %varDCName% | where {$_.Name -eq &quot;%NextHopDomain%&quot;}">
								<Setting Key1="Identity.ObjectGuid" Substitution="SITEGUID"/>
								<Object Type="MonadCommand" Name="Identity" Key1="get-ExchangeServer -DomainController %varDCName% | where {$_.IsHubTransportServer -and $_.Site.ObjectGuid -eq '%SITEGUID%'}">
									<Setting Key1="Fqdn" Substitution="HUBFQDN">
										<Rule Name="szRemoteDeliveryRetryRemoteAdServer" Query="$."/>
									</Setting>
									<Setting Key1="AdminDisplayVersion"/>
									<Object Type="Directory" Key1="GC://%varDCName%/" Key2="%varRootDomainDN%" Key3="(&amp;(objectCategory=computer)(ServicePrincipalName=SMTPSVC/%HUBFQDN%))" Key4="Subtree">
										<Rule Name="fSpnNotFoundRemoteAd" Query="count(../Instance)=0" Error="Error" ReportIssue="RootCause" Sev="1" Title="Account computer per '{3}' non trovato in Active Directory" Text="Nessun account computer in Active Directory ha '{5}' impostato su '{3}'. Ciò causerà errori di autenticazione Kerberos quando il server {1} tenterà di creare una connessione SMTP al server remoto {2} per la coda '{4}'." S1="%varExName%" S2="%HUBFQDN%" P3="concat('SMTPSVC/', '%HUBFQDN%')" P4="$szRemoteDeliveryLinkName" S5="ServicePrincipalName" AlwaysEvaluate="True"/>
										<Rule Name="fMultipleSpnFoundRemoteAd" Query="count(../Instance)&gt;1" Error="Error" ReportIssue="RootCause" Sev="1" Title="Trovati più account computer per '{3}' in Active Directory" Text="Più account computer in Active Directory hanno '{5}' impostato su '{3}'. Ciò causerà errori di autenticazione Kerberos quando il server {1} tenterà di creare una connessione SMTP al server remoto {2} per la coda '{4}'." S1="%varExName%" S2="%HUBFQDN%" P3="concat('SMTPSVC/', '%HUBFQDN%')" P4="$szRemoteDeliveryLinkName" S5="ServicePrincipalName" AlwaysEvaluate="True"/>
									</Object>
								</Object>
								<Rule Name="szAllRemoteDeliveryRetryRemoteAdServers" Query="lower-case(join(',', $szRemoteDeliveryRetryRemoteAdServer))"/>
							</Object>
						</Object>

						<!-- Enumerate the Edge servers associated with NextHopDomain connector -->
						<Object Type="If" Name="SmtpRelayWithinAdSiteToEdge" Key1="'%DELIVERYTYPE%' = 'SmtpRelayWithinAdSiteToEdge'">
							<Object Type="MonadCommand" Name="SourceTransportServers" Key1="get-SendConnector &quot;%NextHopDomain%&quot; -DomainController %varDCName%">
								<Setting Key1="SourceTransportServers" Substitution="HUBCN"/>
								<Object Type="MonadCommand" Name="Identity" Key1="get-ExchangeServer %HUBCN% -DomainController %varDCName%">
									<Setting Key1="Fqdn" Substitution="HUBFQDN">
										<Rule Name="szRemoteDeliveryRetryWithinAdSiteToEdge" Query="$."/>
									</Setting>
									<Setting Key1="AdminDisplayVersion"/>
									<Rule Name="szAllRemoteDeliveryRetryWithinAdSiteToEdge" Query="lower-case(join(',', $szRemoteDeliveryRetryWithinAdSiteToEdge))"/>
								</Object>
							</Object>
						</Object>

						<!-- Enumerate the servers in a remote RG -->
						<!-- Will implement when the RGC task is available -->
						<!-- I may not have to do this anymore, leaving as a placeholder -->

						<Rule Name="szRemoteDeliveryRetryLinkServerOrDomain" Query="concat(join(',',$szRemoteDeliveryRetryLinkSMTPDestServer),',',join(',',$szRemoteDeliveryRetryLinkSMTPDestDomain),',', join(',',$szAllRemoteDeliveryRetryWithinAdSiteServers),',', join(',',$szAllRemoteDeliveryRetryWithinAdSiteServersRGC),',', join(',',$szAllRemoteDeliveryRetryRemoteAdServers),',',join(',',$szAllRemoteDeliveryRetryWithinAdSiteToEdge))" AlwaysEvaluate="True"/>
					</Object>
					<Rule Name="szExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
					<Rule Name="fFatalMonadError" Query="../Exception/@Message or ../Instance/Object/Exception/@Message" Error="Error" Sev="1" Title="Errore durante l'esecuzione del comando di Exchange Management Shell. Interruzione dell'analisi della coda SMTP in corso" Text="Impossibile eseguire la query alle impostazioni della coda nel server {2}. Le credenziali dell'utente potrebbero non essere corrette o potrebbe essersi verificato un problema con il servizio Monad nel computer. Messaggio di errore: {1}" P1="$szExceptionText" S2="%varExName%" AlwaysEvaluate="True"/>

					<Rule Name="szCheckQueueStatus" Query="'CheckE12QueueStatus'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if(not ($fNoBackedUpQueue),string(@Title),$szExNoErrorStateText)" Title="Sono stati rilevati uno o più errori." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessuna coda principale è in fase di backup."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi coda iniziale">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>
					<Rule Name="szAllLocalDeliveryMailboxNames" Query="lower-case(join(',', $szLocalDeliveryMailboxName))">
						<Variable Name="varAllLDMailboxNames" Scope="Children"/>
					</Rule>
					<Rule Name="szAllRemoteDeliveryRetryLinkServerOrDomain" Query="lower-case(join(',', $szRemoteDeliveryRetryLinkServerOrDomain))">
						<Variable Name="varAllRDProbLinkServerOrDomain" Scope="Children"/>
					</Rule>
					<Rule Name="szAllRemoteDeliveryRetryLinkRGC" Query="join(',', $szRemoteDeliveryRetryLinkRGC)">
						<Variable Name="varAllRDProbLinkRGC" Scope="Children"/>
					</Rule>
					<Rule Name="szAllRemoteDeliveryRetryLinkSMTPDestServer" Query="lower-case(replace (join(',', $szRemoteDeliveryRetryLinkSMTPDestServer),';',','))">
						<Variable Name="varAllRDProbLinkSMTPDestServer" Scope="Children"/>
					</Rule>
					<Rule Name="szAllRemoteDeliveryRetryLinkSMTPDestDomain" Query="lower-case(join(',', $szRemoteDeliveryRetryLinkSMTPDestDomain))">
						<Variable Name="varAllRDProbLinkSMTPDestDomain" Scope="Children"/>
					</Rule>

					<Rule Name="fLocalDeliveryBackedUp" Query="(($fLocalDeliveryMany or $fLocalDeliveryRetry) and not ($fLocalDeliveryFrozen)) or $fLocalDeliveryMDBRetry" AlwaysEvaluate="True"/>
					<Rule Name="fPendingSubmissionBackedUp" Query="($fPendingSubmissionMany or $fPendingSubmissionRetry) and not ($fPendingSubmissionFrozen)" AlwaysEvaluate="True"/>
					<Rule Name="fRemoteDeliveryBackedUp" Query="($fRemoteDeliveryMany or $fRemoteDeliveryRetry) and not ($fRemoteDeliveryFrozen)" AlwaysEvaluate="True"/>

					<Rule Name="fFrozenQueue" Query="$fLocalDeliveryFrozen or $fPendingSubmissionFrozen or $fRemoteDeliveryFrozen" Error="Error" ReportIssue="RootCause" Sev="1" Title="Rilevate code bloccate" Text="Almeno una coda SMTP nel server {2} è bloccata e potrebbe provocare problemi di flusso di posta. Sbloccare le code e verificare il flusso dei messaggi. Se il problema persiste, eseguire nuovamente lo strumento." S2="%varExName%" AlwaysEvaluate="True"/>
					<Rule Name="fNoBackedUpQueue" Query="not($fPoisonMany or $fUnreachableMany or $fLocalDeliveryBackedUp or $fLocalDeliveryFrozen or $fPendingSubmissionBackedUp or $fPendingSubmissionFrozen or $fRemoteDeliveryBackedUp or $fRemoteDeliveryFrozen)" Error="None" ReportIssue="Summary" Title="Nessuna coda è in fase di backup" Text="Nessuna coda SMTP principale nel server {2} è in fase di backup." S2="%varExName%" AlwaysEvaluate="True"/>
					<Rule Name="fMultipleIssuesFound" Query="($fPendingSubmissionBackedUp and $fLocalDeliveryBackedUp) or ($fPendingSubmissionBackedUp and $fRemoteDeliveryBackedUp) or ($fLocalDeliveryBackedUp and $fRemoteDeliveryBackedUp)" AlwaysEvaluate="True"/>
					<Rule Name="fOnlyLD" Query="$fLocalDeliveryBackedUp and not($fMultipleIssuesFound)" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckE12QueueStatusStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="RDInitialCheck" Name="fGotoRDInitialCheck" Query="$fRemoteDeliveryStateInfo" Priority="2" Text="- Avviare l'indagine sulle code 'Recapito remoto'" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="LDInitialCheck" Name="fGotoLDInitialCheck" Query="$fLocalDeliveryStateInfo or $fLocalDeliveryMDBRetry" Priority="3" Text="- Avviare l'analisi della coda '{1}'" S1="Local delivery" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="E12SubmissionQCheck" Name="fGotoE12SubmissionQCheck" Query="$fPendingSubmissionBackedUp" Priority="4" Text="- Avviare l'analisi della coda '{1}'" S1="Submission" Display="Hide" AlwaysEvaluate="True"/>

					<!-- Not yet implemented
					<Rule NextStep="GQServerLoadCheck" Name="fGotoGQServerLoadCheck" Query="$fMultipleIssuesFound or $fOnlyPR or $fPendingSubmissionBackedUp" Priority="30" Text="- Start general SMTP queue troubleshooting" Display="Hide" AlwaysEvaluate="True" />
					-->
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDInitialCheck" Title="Verifica iniziale recapito remoto" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varAllRDProbLinkServerOrDomain%" Substitution="varAllRDProbLinkServerOrDomain" Display="Hide"/>
			<Setting Key1="%varAllRDProbLinkSourceBH%" Substitution="varAllRDProbLinkSourceBH" Display="Hide"/>
			<Setting Key1="%varAllRDProbLinkRGC%" Substitution="varAllRDProbLinkRGC" Display="Hide"/>
			<Setting Key1="%varAllRDProbLinkSMTPDestServer%" Substitution="varAllRDProbLinkSMTPDestServer" Display="Hide"/>
			<Setting Key1="%varAllRDProbLinkSMTPDestDomain%" Substitution="varAllRDProbLinkSMTPDestDomain" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varIsExchange2000or2003%" Substitution="varIsExchange2000or2003" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dello stato delle code Recapito remoto in corso" Text="Attendere. Esecuzione dell'analisi iniziale delle code di 'Recapito remoto' sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Remote SMTP Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<!-- Let's check what the destination servers are for those backed-up queues -->
					<!-- First, need to know the remote bridgehead for routing group connectors -->
					<Object Type="Cache" Name="ProbRGCList" Key1="Add" Key2="Link" Key3="%varAllRDProbLinkRGC%" Key4="," Display="Hide">
						<Setting Key1="RoutingGroupConnectorGuid" Substitution="LINKGUID"/>
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%LINKGUID%&gt;" Class="Nome" GroupingClass="True">
							<Setting Key1="cn" Substitution="RGCNAME">
								<Rule Name="szRemoteDeliveryResolvedLinkName" Query="$."/>
							</Setting>
							<Setting Key1="msExchTargetBridgeheadServersDN" Substitution="RGCBHLIST" SubstitutionFormat="$----;"/>
							<Object Type="Cache" Name="RGCBHList" Key1="Add" Key2="RGCBH" Key3="%RGCBHLIST%" Key4=";" Display="Hide">
								<Setting Key1="SMTPVS" Substitution="RGCSMTPINSTANCE"/>
								<Setting Key1="ServerName" Substitution="RGCSERVERNAME" SubstitutionFormat="^CN=.*?,CN=.*?,CN=.*?,CN=(.*?[^\\]),.*$----$1"/>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%RGCSMTPINSTANCE%">
									<Setting Key1="adminDisplayName">
										<Rule Name="szSMTPInstanceName" Query="$."/>
									</Setting>
									<Setting Key1="msExchSmtpFullyQualifiedDomainName">
										<Rule Name="szRGCRemoteBH" Query="lower-case($.)" Error="None" Title="Testa di ponte remota del connettore del gruppo di routing: {5}" Text="L'istanza SMTP &quot;{3}&quot; sul server {1} (nome di dominio completo: {5}) è una testa di ponte remota su cui il server {2} non riesce a eseguire il routing dei messaggi. Connettore gruppo di routing: {4}." S1="%RGCSERVERNAME%" S2="%varExName%" P3="$szSMTPInstanceName" P4="$szRemoteDeliveryResolvedLinkName" P5="lower-case($.)"/>
									</Setting>
								</Object>
							</Object>
						</Object>
					</Object>
					<!-- Second, enumerate the destination servers for SMTP connectors -->
					<Object Type="Cache" Name="ProbSMTPServerList" Key1="Add" Key2="SMTPBH" Key3="%varAllRDProbLinkSMTPDestServer%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
						<Setting Key1="SMTPConnectorRemoteBH">
							<Rule Name="szSMTPDestServerFQDN" Query="if (not (contains($., '[')), $.)" Error="None" Title="Testa di ponte remota del connettore SMTP: {1}" Text="Il server {1} è un server remoto al quale il server {2} potrebbe avere problemi a instradare messaggi tramite un connettore SMTP." P1="$." S2="%varExName%"/>
							<Rule Name="szSMTPDestServerIP" Query="if (contains($., '['), substring-before (substring-after ($.,'['), ']'))" Error="None" Title="Testa di ponte remota del connettore SMTP: {1}" Text="{1} è l'indirizzo IP di un server remoto al quale il server {2} potrebbe avere problemi a instradare messaggi tramite un connettore SMTP." P1="$." S2="%varExName%"/>
						</Setting>
					</Object>
					<!-- Next, enumerate the target domain for SMTP connectors -->
					<Object Type="Cache" Name="ProbSMTPDomainList" Key1="Add" Key2="SMTPDomain" Key3="%varAllRDProbLinkSMTPDestDomain%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
						<Setting Key1="SMTPConnectorRemoteDomain">
							<Rule Name="szSMTPDestDomain" Query="$." Error="None" Title="Dominio remoto del connettore SMTP: {1}" Text="Il dominio {1} è un dominio remoto al quale il server {2} potrebbe avere problemi a instradare messaggi tramite un connettore SMTP." P1="$." S2="%varExName%"/>
						</Setting>
					</Object>
					<!-- Finally, enumerate the destination servers within the same routing group or in remote domains -->
					<Object Type="Cache" Name="ProbServerOrDomainList" Key1="Add" Key2="Dest" Key3="%varAllRDProbLinkServerOrDomain%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
						<Setting Key1="RemoteDestination" Substitution="SERVERNETBIOSNAME" SubstitutionFormat="^(.*?)\..*$----$1">
							<Rule Name="szDestServerFQDN" Query="if ($. = $szServerFQDN, $.)" Error="None" Title="Server remoto connessione diretta: {1}" Text="Il server {1} è un server remoto al quale il server {2} potrebbe avere problemi a instradare messaggi." P1="$." S2="%varExName%" AlwaysEvaluate="True"/>
							<Rule Name="szDestDomain" Query="if (count($szServerFQDN) &lt;1 or $. != $szServerFQDN, $.)" Error="None" Title="Dominio remoto connessione diretta: {1}" Text="Il dominio {1} è un dominio remoto al quale il server {2} potrebbe avere problemi a instradare messaggi." P1="$." S2="%varExName%" AlwaysEvaluate="True"/>
						</Setting>
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=%SERVERNETBIOSNAME%))">
							<Setting Key1="networkAddress">
								<Rule Name="szServerFQDN" Query="lower-case (substring-after($.[contains(.,'ncacn_ip_tcp')],':'))"/>
							</Setting>
						</Object>
					</Object>
					<Object Type="If" Name="SMTP" Key1="'%varIsExchange2000or2003%'='1'">
						<Object Type="Cache" Name="ProbSourceBH" Key1="Add" Key2="Dest" Key3="%varAllRDProbLinkSourceBH%" Key4=";" Display="Hide">
							<Setting Key1="SourceBHSMTPVS" Substitution="SOURCEBHDN"/>
							<Setting Key1="SourceBHServer" Substitution="SOURCEBHSERVER" SubstitutionFormat="^CN=.*?,CN=.*?,CN=.*?,CN=(.*?[^\\]),.*$----$1"/>
							<Object Type="Group" Name="%SOURCEBHSERVER%" Class="Nome" GroupingClass="True" Display="Hide">
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%SOURCEBHDN%">
									<Setting Key1="adminDisplayName">
										<Rule Name="szSourceBHInstanceName" Query="$."/>
									</Setting>
									<Setting Key1="msExchSmtpFullyQualifiedDomainName">
										<Rule Name="szSourceBHFQDN" Query="lower-case($.)" Error="None" Title="Server remoto a connessione diretta: {1}" Text="L'istanza SMTP &quot;{3}&quot; sul server {1} (nome di dominio completo: {5}) è un'istanza SMTP remota su cui il server {2} non riesce a distribuire i messaggi. Tali messaggi sono destinati all'istanza SMTP &quot;{3}&quot; sul server {1} che funge da testa di ponte locale di un connettore." S1="%SOURCEBHSERVER%" S2="%varExName%" P3="$szSourceBHInstanceName" P5="lower-case($.)"/>
									</Setting>
								</Object>
							</Object>
						</Object>
					</Object>

					<Rule Name="szRDInitialCheck" Query="'RDInitialCheck'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fRemoteServerNotFound,string(@Title),$szExNoErrorStateText)" Title="Impossibile identificare i server di destinazione." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="I server di destinazione sono stati identificati."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi iniziale code Recapito remoto">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="szAllRemoteServerFQDN" Query="concat(join(',',$szRGCRemoteBH),',',join(',',$szSMTPDestServerFQDN),',', join(',',$szDestServerFQDN),',',join(',',$szSourceBHFQDN))" AlwaysEvaluate="True">
						<Variable Name="varAllRemoteServerFQDN" Scope="Children"/>
					</Rule>
					<Rule Name="szAllRemoteServerSMTPInstance" Query="join(',',$szSMTPInstanceName)" AlwaysEvaluate="True">
						<Variable Name="varAllRemoteServerSMTPInstance" Scope="Children"/>
					</Rule>
					<Rule Name="szAllRemoteServerIP" Query="join(',', $szSMTPDestServerIP)" AlwaysEvaluate="True">
						<Variable Name="varAllRemoteServerIP" Scope="Children"/>
					</Rule>
					<Rule Name="szAllRemoteServerDomain" Query="concat(join(',',$szSMTPDestDomain),',',join(',',$szDestDomain))" AlwaysEvaluate="True">
						<Variable Name="varAllRemoteServerDomain" Scope="Children"/>
					</Rule>
					<Rule Name="szInitialize" Query="string()">
						<Variable Name="varAllHostRecordsFoundFQDN" Scope="Global"/>
						<Variable Name="varAllHostRecordsFoundMX" Scope="Global"/>
						<Variable Name="varAllDomainResolvedHostNoMX" Scope="Global"/>
					</Rule>

					<Rule Name="fRemoteServerNotFound" Query="not (string-length($szAllRemoteServerFQDN) &gt;3 or string-length($szAllRemoteServerIP) &gt;0 or string-length($szAllRemoteServerDomain) &gt;1)" Error="Error" Sev="1" Title="Impossibile identificare i server di destinazione" Text="Il backup dei messaggi è in esecuzione in una o più code di recapito remoto sul server {2}, ma lo strumento non è stato in grado di identificare i server di destinazione. Interruzione dell'analisi in corso." S2="%varExName%" GUID="8aa1fff6-9bce-45d3-9eac-67a4589a83bf"/>
					<Rule Name="fExchange12" Query="@S1='1'" S1="%varIsExchange12%" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayRDInitialCheckStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckDNSAvailability" Name="fGotoCheckDNSAvailability" Query="not($fRemoteServerNotFound)" Priority="2" Text="- Verifica la disponibilità del DNS" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckDNSRecords" Name="fGotoCheckDNSRecords" Query="not($fRemoteServerNotFound)" Priority="2" Text="- Verifica che i server DNS abbiano restituito record validi per il server locale" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RDCheckDNS" Name="fGotoRCheckDNS" Query="string-length($szAllRemoteServerFQDN) &gt;2 or string-length($szAllRemoteServerDomain) &gt;1" Priority="2" Text="- Verifica che il server sia in grado di connettersi al servizio DNS e recuperare i record necessari dei server remoti" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RDCheckConnectivity" Name="fGotoRDCheckConnectivity" Query="not($fRemoteServerNotFound)" Priority="2" Text="- Verifica la connettività alla destinazione sulla porta SMTP" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RDCheckSMTPInstanceConfig" Name="fGotoRDCheckSMTPInstanceConfig" Query="not($fRemoteServerNotFound)" Priority="2" Text="- Verifica la configurazione delle istanze SMTP remote" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RDCheckSMTPService" Name="fGotoRDCheckSMTPService" Query="not($fRemoteServerNotFound)" Priority="2" Text="- Verifica il servizio SMTP dei server remoti" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RDCheckEventLog" Name="fGotoRDCheckEventLog" Query="not($fRemoteServerNotFound or $fExchange12)" Priority="3" Text="- Controlla i registri eventi per trovare problemi noti nella coda Recapito remoto" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RDCheckE12MessageTrackingLog" Name="fGotoRDCheckE12MessageTrackingLog" Query="not($fRemoteServerNotFound) and $fExchange12" Priority="3" Text="- Controlla i registri di verifica messaggi per trovare problemi noti nella coda Recapito remoto" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RDSMTPCommand" Name="fGotoRDSMTPCommand" Query="not($fRemoteServerNotFound)" Priority="3" Text="- Verifica che il server di destinazione sia in grado di rispondere ai comandi SMTP" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckLinkState" Name="fGotoCheckLinkState" Query="not($fRemoteServerNotFound or $fExchange12)" Priority="5" Text="- Controlla le informazioni sullo stato del collegamento per rilevare possibili problemi di routing" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckMetabase" Name="fGotoCheckMetabase" Query="not($fRemoteServerNotFound or $fExchange12)" Priority="5" Text="- Controlla le impostazioni della metabase per rilevare problemi noti" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="RDCheckThirdParty" Name="fGotoRDCheckThirdParty" Query="not ($fRemoteServerNotFound)" Priority="5" Text="- Verifica la configurazione di applicazioni di terze parti" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckDomainRouting" Name="fGotoCheckDomainRouting" Query="not ($fRemoteServerNotFound)" Priority="5" Text="- Verifica le informazioni di routing del dominio archiviate nei criteri destinatario, nei connettori e nella metabase" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckLinkStateChurn" Name="fGotoCheckLinkStateChurn" Query="not($fRemoteServerNotFound or $fExchange12)" Priority="7" Text="- Controllare le modifiche della versione dello stato del collegamento" Display="Hide" AlwaysEvaluate="True"/>
					<!-- Comment out those steps not yet implemented for the moment...re-enable them when ready
					<Rule NextStep="RDAntiSpam" Name="fGotoRDAntiSpam" Query="$fConnDroppedRemote or $fProtocolError" Priority="3" Text="- Check the anti-spam configurations of the destination server (this step is conducted only against internal servers)" Display="Hide" AlwaysEvaluate="True" />
					<Rule NextStep="RDNIC" Name="fGotoRDNIC" Query="$fConnDroppedRemote or $fProtocolError" Priority="3" Text="- Check the anti-spam configurations of the destination server (this step is conducted only against internal servers)" Display="Hide" AlwaysEvaluate="True" />
					-->
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDCheckSMTPService" Title="Verifica il servizio SMTP remoto" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varAllRemoteServerFQDN%" Substitution="varAllRemoteServerFQDN" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dello stato del servizio SMTP dei server remoti in corso" Text="Attendere. Analisi del servizio SMTP dei server remoti a cui {2} sta tentando di connettersi in corso..." S2="%varExName%">
				<Object Type="Group" Name="Remote SMTP Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="Cache" Name="RemoteServerFQDN" Key1="Add" Key2="Link" Key3="%varAllRemoteServerFQDN%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
						<Setting Key1="RemoteBHShortName" Substitution="RBHSHORTNAME" SubstitutionFormat="^(.*?)\..*$----$1"/>
						<Setting Key1="RemoteBH" Substitution="RBHNAME">
							<Rule Name="szServiceName" Query="if(count($szServiceNameRemoteVS) &gt;0, $szServiceNameRemoteVS, $szServiceNameRemoteServer)" AlwaysEvaluate="True"/>
							<Rule Name="fSMTPServiceStarted" Query="(count($fSMTPStartedRemoteVS) &gt;0 or count($fSMTPStartedRemoteServer) &gt;0) and (count($fSMTPNotStartedRemoteVS) &lt;1 and count($fSMTPNotStartedRemoteServer) &lt;1)" Error="None" Title="Servizio '{0}' in esecuzione" Text="Il servizio '{0}' nel server {2} è avviato." P0="$szServiceName" P2="$." AlwaysEvaluate="True"/>
							<Rule Name="fSMTPServiceNotStarted" Query="count($fSMTPNotStartedRemoteVS) &gt;0 or count($fSMTPNotStartedRemoteServer) &gt;0" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non in esecuzione" Text="Il servizio '{0}' nel server {2} non è in esecuzione. Per l'instradamento dei messaggi, è importante che questo servizio sia in esecuzione." P0="$szServiceName" P2="$." GUID="64ba818b-8789-41bb-ac20-f3eb9c7d1594" AlwaysEvaluate="True"/>
							<Rule Name="fSMTPServiceDisabled" Query="count($fSMTPDisabledRemoteVS) &gt;0 or count($fSMTPDisabledRemoteServer) &gt;0" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' disabilitato" Text="Il servizio '{0}' nel server {2} è disabilitato. Per l'instradamento dei messaggi, è importante che questo servizio sia in esecuzione." P0="$szServiceName" P2="$." GUID="7e8ef54b-1be2-4955-8123-f0ddd39e0d84" AlwaysEvaluate="True"/>
							<Rule Name="fSMTPServiceManual" Query="count($fSMTPManualRemoteVS) &gt;0 or count($fSMTPManualRemoteServer) &gt;0" Error="Warning" Sev="2" Title="Avvio manuale del servizio '{0}'" Text="Il servizio '{0}' nel server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' in quanto il corretto funzionamento di Exchange dipende da questo servizio." P0="$szServiceName" P2="$." GUID="423d680b-5861-4bcb-a512-3189c7a6a33d" AlwaysEvaluate="True"/>
							<Rule Name="fSMTPServiceUnknown" Query="(count($szSMTPVSDNRemoteVS) &gt;0 or count($szSMTPVSDNRemoteServer) &gt;0) and (sum($iWMIInstanceRemoteVS) &lt;1 and sum($iWMIInstanceRemoteServer) &lt;1)" Error="Error" ReportIssue="Issue" Sev="2" Title="Stato del servizio '{0}' sconosciuto" Text="Impossibile recuperare le informazioni sullo stato del servizio '{0}' sul server {2}." P0="$szServiceName" P2="$." AlwaysEvaluate="True"/>
							<Rule Name="fRootCauseFound" Query="$fSMTPServiceNotStarted or $fSMTPServiceDisabled or count($fSMTPVSStoppedRemoteVS) &gt;0 or count($fSMTPVSStoppedRemoteServer) &gt;0 or count($fSMTPVSPausedRemoteVS) &gt;0 or count($fSMTPVSPausedRemoteServer) &gt;0" Error="None" ReportIssue="Recommendation" Title="Avvia il servizio '{0}' e il server virtuale nel server remoto" Text="Avvia il servizio '{0}' e i server virtuali nel server {2}. Per l'instradamento dei messaggi, è importante che questi servizi siano in esecuzione." P0="$szServiceName" P2="$." AlwaysEvaluate="True"/>
							<Rule Name="fRemoteBHMoreInv" Query="$fSMTPServiceStarted and ($fSMTPVSStartedRemoteVS or $fSMTPVSStartedRemoteServer) and not(count($fSMTPVSStoppedRemoteVS) &gt;0 or count($fSMTPVSStoppedRemoteServer) &gt;0 or count($fSMTPVSPausedRemoteVS) &gt;0 or count($fSMTPVSPausedRemoteServer) &gt;0)" Error="None" Title="Altre cause principali" Text="Il servizio '{0}' e le istanze SMTP sul server remoto {2} sono avviate ma non si verifica il flusso dei messaggi dal server {1}. Verificare se ci sono errori di rete o servizi bloccati." P0="$szServiceName" S1="%varExName%" P2="$." AlwaysEvaluate="True"/>
						</Setting>
						<!-- First, we need to start quering with SMTP VS values -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectCategory=protocolCfgSMTPServer)(msExchSmtpFullyQualifiedDomainName=%RBHNAME%))">
							<Setting Key1="adminDisplayName" Substitution="SMTPVSNAME"/>
							<Setting Key1="cn" Substitution="SMTPVSCN"/>
							<Setting Key1="distinguishedName" Substitution="SERVERNAME" SubstitutionFormat="^CN=.*?,CN=.*?,CN=.*?,CN=(.*?[^\\]),.*$----$1">
								<Rule Name="szSMTPVSDNRemoteVS" Query="$."/>
							</Setting>
							<Setting Key1="msExchSmtpRelayForAuth">
								<Rule Name="fRelayForAuthFalseRemoteVS" Query="$.='False'" Error="NonDefault" Title="Computer autenticati non autorizzati all'inoltro" Text="La proprietà '{4}' dell'istanza SMTP '{3}' sul server {2} è impostata su 'False'. Verificare che questa impostazione non impedisca ai server di Exchange interni di inviare messaggi a domini esterni." S2="%RBHNAME%" S3="%SMTPVSNAME%" P4="../@Key1" GUID="90819727-0447-42ed-a486-3a8b55c0ad5f"/>
							</Setting>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=%SERVERNAME%))">
								<Setting Key1="cn" Substitution="SRVHOST"/>
								<Setting Key1="networkAddress" Substitution="SRVNAME" SubstitutionFormat="^(ncacn_ip_tcp:(?'tcpip'.*))?.*$----${tcpip}"/>
								<Setting Key1="serialNumber" Substitution="EXVERSION"/>
								<Object Type="If" Key1="true()">
									<Setting Key1="if (contains('%EXVERSION%', 'Version 8.0'), 'MSExchangeTransport', 'SMTPSVC')" Substitution="SMTPSERVICE">
										<Rule Name="szServiceNameRemoteVS" Query="$."/>
									</Setting>
									<!-- Stubbed out for now, It may be better to get the SMTP Instance cache here rather than passing it in the varaiable varAllRemoteServerSMTPInstance
									<Setting Key1="lower-case('%SRVNAME%')" Substitution="SRVFQDN" />
									<Setting Key1="lower-case('%SRVHOST%')" Substitution="SRVHOST" />
									<Setting Key1="lower-case('%REMOTEFQDN%')" Substitution="SMTPVSFQDN" />
									<Setting Key1="if (contains('%EXVERSION%', 'Version 6.5'), '1', '0')" Substitution="SRVVERSION" />
									<Object Type="Cache" Name="SMTPInstanceCache" Key1="Add" Key2="SMTPInstanceList" Key3="%SRVVERSION%,%SRVHOST%,%SRVFQDN%,%SMTPVSFQDN%,%SMTPVSNAME%" Display="Hide" />
									-->
									<!-- Check whether the SMTP service is up and running -->
									<Object Type="WMI" Key1="%SRVHOST%" Key3="Win32_Service" Key4="Name='%SMTPSERVICE%'">
										<Rule Name="fFatalWMIErrorRemoteVS" Query="../Exception/@Message" Error="Error" Sev="2" Title="Errore durante l'accesso a WMI" Text="Impossibile connettersi all'archivio WMI sul server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="../Exception/@Message" S2="%SRVNAME%" GUID="18814786-c925-4ea8-bcd5-2d57174f326f"/>
										<Rule Name="iWMIInstanceRemoteVS" Query="count($.)"/>
										<Setting Key1="Started">
											<Rule Name="fSMTPStartedRemoteVS" Query="$.='True'"/>
											<Rule Name="fSMTPNotStartedRemoteVS" Query="$.='False'"/>
										</Setting>
										<Setting Key1="StartMode">
											<Rule Name="fSMTPDisabledRemoteVS" Query="$.='Disabled'"/>
											<Rule Name="fSMTPManualRemoteVS" Query="$.='Manual'"/>
										</Setting>
									</Object>
									<!-- Next, check whether the SMTP virtual server is up and running -->
									<Object Type="If" Key1="not(contains('%EXVERSION%', 'Version 8.0'))">
										<Object Type="Metabase" Key1="%SERVERNAME%" Key2="LM/SmtpSvc/%SMTPVSCN%" Timeout="%300">
											<Setting Key1="1016" Key2="ServerState">
												<Rule Name="fSMTPVSStartedRemoteVS" Query="$.=2" Error="None" Title="Istanza SMTP avviata" Text="L'istanza SMTP '{3}' sul server {2} è avviata." S2="%SRVNAME%" S3="%SMTPVSNAME%"/>
												<Rule Name="fSMTPVSStoppedRemoteVS" Query="$.=4" Error="Error" Sev="1" ReportIssue="RootCause" Title="Istanza SMTP arrestata" Text="L'istanza SMTP '{3}' sul server {2} è arrestata. Il server virtuale non può instradare messaggi." S2="%SRVNAME%" S3="%SMTPVSNAME%" GUID="369d863f-7702-4ffc-80fd-a9f86eb26ce0"/>
												<Rule Name="fSMTPVSPausedRemoteVS" Query="$.=6" Error="Error" Sev="2" ReportIssue="RootCause" Title="Istanza SMTP sospesa" Text="L'istanza SMTP '{3}' sul server {2} è sospesa." S2="%SRVNAME%" S3="%SMTPVSNAME%" GUID="ca7cb622-13da-40f7-b8d8-ce020a0380c7"/>
											</Setting>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>

						<!-- Opposite direction as the FQDN we have may have come from server, not SMTP VS -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=%RBHSHORTNAME%))">
							<Setting Key1="cn" Substitution="SRVHOST"/>
							<Setting Key1="distinguishedName" Substitution="DN"/>
							<Setting Key1="networkAddress" Substitution="SRVNAME" SubstitutionFormat="^(ncacn_ip_tcp:(?'tcpip'.*))?.*$----${tcpip}"/>
							<Setting Key1="serialNumber" Substitution="EXVERSION"/>
							<Object Type="If" Name="SameOrgServer" Key1="lower-case('%RBHNAME%') = lower-case('%SRVNAME%')">
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=SMTP,CN=Protocols,%DN%" Key3="objectCategory=protocolCfgSMTPServer">
									<Setting Key1="adminDisplayName" Substitution="SMTPVSNAME"/>
									<Setting Key1="cn" Substitution="SMTPVSCN"/>
									<Setting Key1="distinguishedName">
										<Rule Name="szSMTPVSDNRemoteServer" Query="$."/>
									</Setting>
									<Setting Key1="msExchSmtpFullyQualifiedDomainName" Substitution="SMTPVSFQDN"/>
									<Setting Key1="msExchSmtpRelayForAuth">
										<Rule Name="fRelayForAuthFalseRemoteServer" Query="$.='False' and lower-case('%RBHNAME%')!=lower-case('%SMTPVSFQDN%')" Error="NonDefault" Title="Computer autenticati non autorizzati all'inoltro" Text="La proprietà '{4}' dell'istanza SMTP '{3}' sul server {2} è impostata su 'False'. Verificare che questa impostazione non impedisca ai server di Exchange interni di inviare messaggi a domini esterni." S2="%RBHNAME%" S3="%SMTPVSNAME%" P4="../@Key1" GUID="90819727-0447-42ed-a486-3a8b55c0ad5f"/>
									</Setting>
									<!-- Check whether the SMTP service is up and running -->
									<Object Type="If" Key1="not(lower-case('%RBHNAME%')=lower-case('%SMTPVSFQDN%'))">
										<Setting Key1="if (contains('%EXVERSION%', 'Version 8.0'), 'MSExchangeTransport', 'SMTPSVC')" Substitution="SMTPSERVICE">
											<Rule Name="szServiceNameRemoteServer" Query="$."/>
										</Setting>
										<Object Type="WMI" Key1="%SRVHOST%" Key3="Win32_Service" Key4="Name='%SMTPSERVICE%'">
											<Rule Name="fFatalWMIErrorRemoteServer" Query="../Exception/@Message" Error="Error" Sev="2" Title="Errore durante l'accesso a WMI" Text="Impossibile connettersi all'archivio di Strumentazione gestione Windows (WMI) sul server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="../Exception/@Message" S2="%SRVNAME%" GUID="18814786-c925-4ea8-bcd5-2d57174f326f"/>
											<Rule Name="iWMIInstanceRemoteServer" Query="count($.)"/>
											<Setting Key1="Started">
												<Rule Name="fSMTPStartedRemoteServer" Query="$.='True'"/>
												<Rule Name="fSMTPNotStartedRemoteServer" Query="$.='False'"/>
											</Setting>
											<Setting Key1="StartMode">
												<Rule Name="fSMTPDisabledRemoteServer" Query="$.='Disabled'"/>
												<Rule Name="fSMTPManualRemoteServer" Query="$.='Manual'"/>
											</Setting>
										</Object>
									</Object>
									<!-- Next, check whether the SMTP virtual server is up and running -->
									<Object Type="If" Key1="not(contains('%EXVERSION%', 'Version 8.0')) and not(lower-case('%RBHNAME%')=lower-case('%SMTPVSFQDN%'))">
										<Object Type="Metabase" Key1="%SRVHOST%" Key2="LM/SmtpSvc/%SMTPVSCN%" Timeout="%300">
											<Setting Key1="1016" Key2="ServerState">
												<Rule Name="fSMTPVSStartedRemoteServer" Query="$.=2" Error="None" Title="Istanza SMTP avviata" Text="L'istanza SMTP '{3}' sul server {2} è avviata." S2="%SRVNAME%" S3="%SMTPVSNAME%"/>
												<Rule Name="fSMTPVSStoppedRemoteServer" Query="$.=4" Error="Error" Sev="1" ReportIssue="RootCause" Title="Istanza SMTP arrestata" Text="L'istanza SMTP '{3}' sul server {2} è arrestata. Il server virtuale non può instradare messaggi." S2="%SRVNAME%" S3="%SMTPVSNAME%" GUID="369d863f-7702-4ffc-80fd-a9f86eb26ce0"/>
												<Rule Name="fSMTPVSPausedRemoteServer" Query="$.=6" Error="Error" Sev="2" ReportIssue="RootCause" Title="Istanza SMTP sospesa" Text="L'istanza SMTP '{3}' sul server {2} è sospesa." S2="%SRVNAME%" S3="%SMTPVSNAME%" GUID="ca7cb622-13da-40f7-b8d8-ce020a0380c7"/>
											</Setting>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>

						<Rule Name="szRDCheckSMTPService" Query="'RDCheckSMTPService'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fPotentialCauseFound, string(@Title), $szExNoErrorStateText)" Title="È stato identificato un potenziale problema di accettazione della posta nel server." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Sono necessarie ulteriori indagini."/>
						<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati della diagnosi del servizio SMTP remoto">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fPotentialCauseFound" Query="$fSMTPServiceNotStarted or $fSMTPServiceDisabled or $fSMTPServiceManual or $fSMTPServiceUnknown or $fSMTPVSStoppedRemoteVS or $fSMTPVSStoppedRemoteServer or $fSMTPVSPausedRemoteVS or $fSMTPVSPausedRemoteServer" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fRDCheckSMTPServiceStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDCheckDNS" Title="Verifica i record DNS dei server remoti" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllRemoteServerFQDN%" Substitution="varAllRemoteServerFQDN" Display="Hide"/>
			<Setting Key1="%varAllRemoteServerDomain%" Substitution="varAllRemoteServerDomain" Display="Hide"/>
			<Setting Key1="%varAllDNSAddress%" Substitution="varAllDNSAddress" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dei record DNS in corso" Text="Attendere. È in corso il controllo della possibilità per i server DNS utilizzati dal server {2} di restituire record validi per i server di destinazione." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Remote SMTP Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<!-- Let's check whether each DNS contains the records of each destination server -->
					<Object Type="If" Name="DNSAvailableServer" Key1="'%varAllDNSAddress%'!=';'">
						<Object Type="Cache" Name="RemoteServerList" Key1="Add" Key2="RemoteServer" Key3="%varAllRemoteServerFQDN%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
							<Rule Name="fNoRemoteServerFQDN" Query="count(../Instance)=0"/>
							<Setting Key1="RemoteServer" Substitution="REMOTESRVNAME"/>
							<Object Type="DNS" Name="ServerARecord" Key1="%varAllDNSAddress%" Key2="%REMOTESRVNAME%" Async="100">
								<Setting Key1="A">
									<Rule Name="szServerResolvedHost" Query="if (string-length($.[contains(.,'DNS Query Result')]) &gt; 19, substring-after($.[4],'DNS Query Result = '))"/>
								</Setting>
								<Rule Name="fServerNoHostRecords" Query="count ($szServerResolvedHost) &lt;1" Error="Error" Sev="2" ReportIssue="RootCause" Title="Nessun record 'Host' trovato per il server {1}" Text="Il server {1} è un server remoto al quale il server {2} sta tentando di inviare messaggi ma non è possibile ottenere alcun record 'Host' del server {1} dai server DNS utilizzati dal server {2}. Ciò potrebbe provocare il backup dei messaggi nella coda." S1="%REMOTESRVNAME%" S2="%varExName%" GUID="4fcf5a4f-0180-4af5-a60e-e1d9da1d50bf"/>
								<Rule Name="fServerHostRecordsFound" Query="count ($szServerResolvedHost) &gt;0" Error="None" Title="Record 'Host' trovati per il server {1}" Text="Il server {1} è un server remoto al quale il server {2} sta tentando di inviare messaggi. Indirizzo IP risolto del server {1}: {4}" S1="%REMOTESRVNAME%" S2="%varExName%" P4="join(',', $szServerResolvedHost)"/>
								<Rule Name="szHostRecordsFoundFQDN" Query="if ($fServerHostRecordsFound, @S2)" S2="%REMOTESRVNAME%"/>
							</Object>
						</Object>
					</Object>
					<!-- Let's do the same for each destination domain now -->
					<Object Type="If" Name="DNSAvailableDomain" Key1="'%varAllDNSAddress%'!=';'">
						<Object Type="Cache" Name="RemoteDomainList" Key1="Add" Key2="RemoteDomain" Key3="%varAllRemoteServerDomain%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
							<Rule Name="fNoRemoteServerDomain" Query="count(../Instance)=0"/>
							<Setting Key1="RemoteDomain" Substitution="REMOTEDOMAINNAME"/>
							<!-- First, check for MX records of domains by adding fakeServer in front of the domain name -->
							<Object Type="DNS" Name="DomainMXRecord" Key1="%varAllDNSAddress%" Key2="fakeServer.%REMOTEDOMAINNAME%" Async="100">
								<Setting Key1="MX" Substitution="ALLRETURNEDRECORDS" SubstitutionFormat="^.* = (.*?)$----$1,">
									<Rule Name="szDomainResolvedMX" Query="if (string-length($.[contains(.,'DNS Query Result')]) &gt; 19, substring-after($.[4],'DNS Query Result = '))"/>
								</Setting>
								<!-- For MX records, we need to resolve the FQDN to IP addresses -->
								<Object Type="Cache" Name="ALLRECORDS" Key1="Add" Key2="ALLRECORDS" Key3="%ALLRETURNEDRECORDS%" Display="Hide">
									<Setting Key1="DNSAddr" Substitution="USEDDNS" SubstitutionFormat="^.*?,(.*?),.*$----$1"/>
									<Setting Key1="DomainMXList" Substitution="DOMAINMXLIST" SubstitutionFormat="^.*?,.*?,.*?,(.*?),$----$1"/>
									<Object Type="Cache" Name="DomainMXList" Key1="Add" Key2="RemoteDomainMX" Key3="%DOMAINMXLIST%" Key4=";" Display="Hide">
										<Setting Key1="DomainMX" Substitution="DOMAINMX"/>
										<Object Type="DNS" Name="DomainMXRecordToHost" Key1="%USEDDNS%" Key2="%DOMAINMX%">
											<Setting Key1="A">
												<Rule Name="szDomainMXResolvedHost" Query="if (string-length($.[contains(.,'DNS Query Result')]) &gt; 19, substring-after($.[4],'DNS Query Result = '))"/>
											</Setting>
											<Rule Name="fDomainMXResolvedHostNotFound" Query="count ($szDomainMXResolvedHost) &lt;1 and string-length(@S4) &gt;0" Error="Error" Sev="2" ReportIssue="RootCause" Title="Nessun record 'Host' trovato per i record 'MX' del dominio {1}" Text="I record 'MX' del dominio {1} sono {4}, ma non è possibile ottenere i record 'Host' dei server indicati dai record 'MX' da alcun server DNS utilizzato da {2}." S1="%REMOTEDOMAINNAME%" S2="%varExName%" S4="%DOMAINMX%" GUID="5b80a914-573f-4e4d-9b44-e4d33f210513"/>
											<Rule Name="fDomainMXResolvedHostFound" Query="count ($szDomainMXResolvedHost) &gt;0" Error="None" Title="Record 'Host' trovati per i record 'MX' del dominio {1}" Text="Il server {4} è specificato come record 'MX' del dominio {1}. Indirizzo IP risolto di {4}: {3}" S1="%REMOTEDOMAINNAME%" P3="$szDomainMXResolvedHost" S4="%DOMAINMX%"/>
										</Object>
									</Object>
								</Object>
								<Rule Name="fDomainNoMXRecords" Query="count ($szDomainResolvedMX) &lt;1" Error="Warning" Sev="2" Title="Nessun record 'MX' trovato per il dominio {1}" Text="Il dominio {1} è un dominio remoto al quale il server {2} sta tentando di inviare messaggi ma non è possibile ottenere alcun record 'Host' del dominio {1} dai server DNS utilizzati dal server {2}." S1="%REMOTEDOMAINNAME%" S2="%varExName%" GUID="34175915-8cec-4629-8569-30c66f319368"/>
								<Rule Name="fDomainMXRecordsFound" Query="count ($szDomainResolvedMX) &gt;0" Error="None" Title="Record 'MX' trovati per il dominio {1}" Text="Il dominio {1} è un dominio remoto al quale il server {2} sta tentando di inviare messaggi. Record 'MX' del dominio {1}: {4}" S1="%REMOTEDOMAINNAME%" S2="%varExName%" P4="join(',', $szDomainResolvedMX)"/>
								<Rule Name="szHostRecordsFoundMX" Query="if ($fDomainMXResolvedHostFound, replace(join(';', $szDomainResolvedMX),';',','))"/>
							</Object>
							<!-- Second, check to see whether A records can be ontained for the domains -->
							<Object Type="DNS" Name="DomainARecord" Key1="%varAllDNSAddress%" Key2="%REMOTEDOMAINNAME%" Async="100">
								<Setting Key1="A">
									<Rule Name="szDomainResolvedHost" Query="if (string-length($.[contains(.,'DNS Query Result')]) &gt; 19, substring-after($.[4],'DNS Query Result = '))"/>
								</Setting>
								<Rule Name="fDomainNoHostRecords" Query="count ($szDomainResolvedHost) &lt;1" Error="None" Title="Nessun record 'Host' trovato per il dominio {1}" Text="Il dominio {1} è un dominio remoto al quale il server {2} sta tentando di inviare messaggi. Impossibile ottenere i record 'Host' del dominio {1} dai server DNS utilizzati dal server {2}." S1="%REMOTEDOMAINNAME%" S2="%varExName%"/>
								<Rule Name="fDomainHostRecordsFound" Query="count ($szDomainResolvedHost) &gt;0" Error="None" Title="Record 'Host' trovati per il dominio {1}" Text="Il dominio {1} è un dominio remoto al quale il server {2} sta tentando di inviare messaggi. Record 'Host' del dominio {1}: {4}" S1="%REMOTEDOMAINNAME%" S2="%varExName%" P4="join(',', $szDomainResolvedHost)"/>
								<Rule Name="fDomainHostRecordsFoundButNoMX" Query="$fDomainNoMXRecords and $fDomainHostRecordsFound" Error="Warning" Sev="2" Title="Sono stati trovati record 'Host' ma nessun record 'MX' per il dominio {1}" Text="Il dominio {1} è un dominio remoto al quale il server {2} sta tentando di inviare messaggi. Anche se non è stato trovato alcun record 'MX' del dominio {1}, sono stati trovati record 'Host' ({4}). Assicurarsi che i record 'Host' facciano riferimento a server di posta validi, poiché il server {2} potrebbe tentare di inviare messaggi ai server di tali record 'Host'." S1="%REMOTEDOMAINNAME%" S2="%varExName%" P4="join(',', $szDomainResolvedHost)" GUID="c94668ad-99ff-4655-88ba-e7165185c62f"/>
								<Rule Name="fDomainNoHostAndNoMX" Query="$fDomainNoMXRecords and $fDomainNoHostRecords" Error="Error" Sev="2" ReportIssue="RootCause" Title="Impossibile trovare record 'Host' o 'MX' per il dominio {1}" Text="Il dominio {1} è un dominio remoto al quale il server {2} sta tentando di inviare messaggi ma non è possibile ottenere alcun record 'Host' o 'MX' del dominio {1} dai server DNS utilizzati dal server {2}. Ciò potrebbe provocare il backup dei messaggi nella coda." S1="%REMOTEDOMAINNAME%" S2="%varExName%" GUID="c0b991e8-e404-44d8-a121-a56d389f63f7"/>
								<Rule Name="szDomainResolvedHostNoMX" Query="if ($fDomainHostRecordsFoundButNoMX, join(',', $szDomainResolvedHost))"/>
							</Object>
						</Object>
					</Object>
					<Object Type="Group">
						<Setting Key1="Test execution">
							<Rule Name="fNoServerToTest" Query="$fNoRemoteServerFQDN and $fNoRemoteServerDomain" Error="Error" Sev="2" Title="Nessun server o dominio remoto disponibile per i test del record DNS" Text="Lo strumento non è in grado di identificare i server o i domini remoti. Impossibile eseguire l'analisi del record DNS." GUID="ebc7e260-b45a-4bc0-ac72-86abc767eeb2"/>
							<Rule Name="fNoDNSToTestWith" Query="@S1=';'" Error="Error" Sev="2" Title="Nessun server DNS disponibile per i test" Text="Nessun server DNS identificato per il server {2}. Impossibile eseguire l'analisi del record DNS." S1="%varAllDNSAddress%" S2="%varExName%"/>
						</Setting>
					</Object>

					<Rule Name="szRDCheckDNS" Query="'RDCheckDNS'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fRDDNSIssueFound or $fNoDNSToTestWith, string(@Title), $szExNoErrorStateText)" Title="Sono stati identificati potenziali problemi del DNS." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema del DNS identificato."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi record DNS delle code Recapito remoto">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>
					<Rule Name="szAllHostRecordsFoundFQDN" Query="join(',', $szHostRecordsFoundFQDN)" AlwaysEvaluate="True">
						<Variable Name="varAllHostRecordsFoundFQDN" Scope="Global"/>
					</Rule>
					<Rule Name="szAllHostRecordsFoundMX" Query="join(',', $szHostRecordsFoundMX)" AlwaysEvaluate="True">
						<Variable Name="varAllHostRecordsFoundMX" Scope="Global"/>
					</Rule>
					<Rule Name="szAllDomainResolvedHostNoMX" Query="join(',', $szDomainResolvedHostNoMX)" AlwaysEvaluate="True">
						<Variable Name="varAllDomainResolvedHostNoMX" Scope="Global"/>
					</Rule>

					<Rule Name="fRDDNSIssueFound" Query="count($fServerNoHostRecords) &gt;0 or count ($fDomainNoMXRecords) &gt;0 or count ($fDomainMXResolvedHostNotFound) &gt;0 or count ($fDomainHostRecordsFoundButNoMX) &gt;0 or count ($fDomainNoHostAndNoMX) &gt;0" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayRDCheckDNSStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDCheckConnectivity" Title="Controllo connettività a SMTP remoto" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllHostRecordsFoundFQDN%" Substitution="varAllHostRecordsFoundFQDN" Display="Hide"/>
			<Setting Key1="%varAllHostRecordsFoundMX%" Substitution="varAllHostRecordsFoundMX" Display="Hide"/>
			<Setting Key1="%varAllDomainResolvedHostNoMX%" Substitution="varAllDomainResolvedHostNoMX" Display="Hide"/>
			<Setting Key1="%varAllRemoteServerIP%" Substitution="varAllRemoteServerIP" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo della connettività ai server remoti" Text="Attendere. Controllo della connettività ai server a cui {2} sta tentando di inviare messaggi in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Remote SMTP Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="Cache" Name="RemoteServerList" Key1="Add" Key2="RemoteServer" Key3="%varAllHostRecordsFoundFQDN%,%varAllHostRecordsFoundMX%,%varAllDomainResolvedHostNoMX%,%varAllRemoteServerIP%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
						<Rule Name="fNoServerToTest" Query="count(../Instance)=0" Error="Error" Sev="3" Title="Nessun server disponibile per i test di connettività" Text="Lo strumento non è stato in grado di identificare il nome di dominio completo o l'indirizzo IP di tutti i server remoti. Impossibile eseguire i test di connettività." GUID="935e3bd2-54a2-4305-95c8-120077476e8e"/>
						<!-- Let's ping the remote IP by changing the buffersize and nofragmentation flag -->
						<Setting Key1="RemoteServerShortName" Substitution="SERVERSHORTNAME" SubstitutionFormat="^(.*?)\..*[a-zA-Z].*$----$1"/>
						<Setting Key1="RemoteServerLongName" Substitution="SERVERLONGNAME"/>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_PingStatus" Key4="Address='%SERVERSHORTNAME%' and BufferSize=548 and NoFragmentation='True'">
							<Setting Key1="ResponseTime"/>
							<Setting Key1="PrimaryAddressResolutionStatus">
								<Rule Name="fPingNoFrag548AddressResolutionError" Template="tRemotePingOtherError" Query="$. != 0" S3="True" S9="548"/>
							</Setting>
							<Setting Key1="TimeToLive"/>
							<Setting Key1="ResponseTimeToLive"/>
							<Setting Key1="NoFragmentation"/>
							<Setting Key1="BufferSize"/>
							<Setting Key1="ReplySize"/>
							<Setting Key1="RouteRecord"/>
							<Setting Key1="RouteRecordResolved"/>
							<Setting Key1="StatusCode">
								<Rule Name="fPingNoFrag548Success" Template="tRemotePingSuccess" S3="True" S9="548"/>
								<Rule Name="fPingNoFrag548RequestTimedOut" Template="tRemotePingRequestTimedOut" S3="True" S9="548"/>
								<Rule Name="fPingNoFrag548PacketTooBig" Template="tRemotePingPacketTooBig" S3="True" S9="548"/>
								<Rule Name="fPingNoFrag548OtherError" Template="tRemotePingOtherError" Query="not ($fPingNoFrag548AddressResolutionError or $fPingNoFrag548Success or $fPingNoFrag548RequestTimedOut or $fPingNoFrag548PacketTooBig)" S3="True" S9="548" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_PingStatus" Key4="Address='%SERVERSHORTNAME%' and BufferSize=1472 and NoFragmentation='True'">
							<Setting Key1="ResponseTime"/>
							<Setting Key1="PrimaryAddressResolutionStatus">
								<Rule Name="fPingNoFrag1472AddressResolutionError" Template="tRemotePingOtherError" Query="$. != 0" S3="True" S9="1472"/>
							</Setting>
							<Setting Key1="TimeToLive"/>
							<Setting Key1="ResponseTimeToLive"/>
							<Setting Key1="NoFragmentation"/>
							<Setting Key1="BufferSize"/>
							<Setting Key1="ReplySize"/>
							<Setting Key1="RouteRecord"/>
							<Setting Key1="RouteRecordResolved"/>
							<Setting Key1="StatusCode">
								<Rule Name="fPingNoFrag1472Success" Template="tRemotePingSuccess" S3="True" S9="1472"/>
								<Rule Name="fPingNoFrag1472RequestTimedOut" Template="tRemotePingRequestTimedOut" S3="True" S9="1472"/>
								<Rule Name="fPingNoFrag1472PacketTooBig" Template="tRemotePingPacketTooBig" Error="Warning" Sev="1" S3="True" S9="1472"/>
								<Rule Name="fPingNoFrag1472OtherError" Template="tRemotePingOtherError" Query="not ($fPingNoFrag1472AddressResolutionError or $fPingNoFrag1472Success or $fPingNoFrag1472RequestTimedOut or $fPingNoFrag1472PacketTooBig)" S3="True" S9="1472" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_PingStatus" Key4="Address='%SERVERSHORTNAME%' and BufferSize=1472">
							<Setting Key1="ResponseTime"/>
							<Setting Key1="PrimaryAddressResolutionStatus">
								<Rule Name="fPingFrag1472AddressResolutionError" Template="tRemotePingOtherError" Query="$. != 0" S3="False" S9="1472"/>
							</Setting>
							<Setting Key1="TimeToLive"/>
							<Setting Key1="ResponseTimeToLive"/>
							<Setting Key1="NoFragmentation"/>
							<Setting Key1="BufferSize"/>
							<Setting Key1="ReplySize">
								<Rule Name="fPingFrag1472ReplySizeNotSame" Query="$.!=1472" Error="Warning" Sev="2" Title="Le dimensioni della risposta ping sono differenti" Text="Le dimensioni del buffer restituito non corrispondono alle dimensioni del buffer inviato ({1}). Dimensioni del buffer restituito: {9}." S1="1472" P9="$." GUID="36aec765-9e61-458b-b522-6123e3ef7780"/>
							</Setting>
							<Setting Key1="RouteRecord"/>
							<Setting Key1="RouteRecordResolved"/>
							<Setting Key1="StatusCode">
								<Rule Name="fPingFrag1472Success" Template="tRemotePingSuccess" S3="False" S9="1472"/>
								<Rule Name="fPingFrag1472RequestTimedOut" Template="tRemotePingRequestTimedOut" S3="False" S9="1472"/>
								<Rule Name="fPingFrag1472OtherError" Template="tRemotePingOtherError" Query="not ($fPingFrag1472AddressResolutionError or $fPingFrag1472Success or $fPingFrag1472RequestTimedOut)" S3="False" S9="1472" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_PingStatus" Key4="Address='%SERVERSHORTNAME%' and BufferSize=4096 and NoFragmentation='True'">
							<Setting Key1="ResponseTime"/>
							<Setting Key1="PrimaryAddressResolutionStatus">
								<Rule Name="fPingNoFrag4096AddressResolutionError" Template="tRemotePingOtherError" Query="$. != 0" S3="True" S9="4096"/>
							</Setting>
							<Setting Key1="TimeToLive"/>
							<Setting Key1="ResponseTimeToLive"/>
							<Setting Key1="NoFragmentation"/>
							<Setting Key1="BufferSize"/>
							<Setting Key1="ReplySize"/>
							<Setting Key1="RouteRecord"/>
							<Setting Key1="RouteRecordResolved"/>
							<Setting Key1="StatusCode">
								<Rule Name="fPingNoFrag4096Success" Template="tRemotePingSuccess" S3="True" S9="4096"/>
								<Rule Name="fPingNoFrag4096RequestTimedOut" Template="tRemotePingRequestTimedOut" S3="True" S9="4096"/>
								<Rule Name="fPingNoFrag4096PacketTooBig" Query="$.=11009" Error="Warning" Sev="3" Title="È necessario frammentare il pacchetto" Text="Il ping (Disattivazione della frammentazione = '{3}' e dimensione del buffer = {9}) dal server {2} al server remoto {1} non è riuscito. È necessario frammentare il pacchetto." S1="%SERVERLONGNAME%" S2="%varExName%" S3="True" S9="4096" GUID="6c28d83b-45a7-4f66-bc9e-5a2427e8ae83"/>
								<Rule Name="fPingNoFrag4096OtherError" Template="tRemotePingOtherError" Query="not ($fPingNoFrag4096AddressResolutionError or $fPingNoFrag4096Success or $fPingNoFrag4096RequestTimedOut or $fPingNoFrag4096PacketTooBig)" S3="True" S9="4096" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_PingStatus" Key4="Address='%SERVERSHORTNAME%' and BufferSize=4096">
							<Setting Key1="ResponseTime"/>
							<Setting Key1="PrimaryAddressResolutionStatus">
								<Rule Name="fPingFrag4096AddressResolutionError" Template="tRemotePingOtherError" Query="$. != 0" S3="False" S9="4096"/>
							</Setting>
							<Setting Key1="TimeToLive"/>
							<Setting Key1="ResponseTimeToLive"/>
							<Setting Key1="NoFragmentation"/>
							<Setting Key1="BufferSize"/>
							<Setting Key1="ReplySize">
								<Rule Name="fPingFrag4096ReplySizeNotSame" Query="$.!=4096" Error="Warning" Sev="2" Title="Le dimensioni della risposta ping sono differenti" Text="Le dimensioni del buffer restituito non corrispondono alle dimensioni del buffer inviato ({1}). Dimensioni del buffer restituito: {9}." S1="4096" P9="$." GUID="36aec765-9e61-458b-b522-6123e3ef7780"/>
							</Setting>
							<Setting Key1="RouteRecord"/>
							<Setting Key1="RouteRecordResolved"/>
							<Setting Key1="StatusCode">
								<Rule Name="fPingFrag4096Success" Template="tRemotePingSuccess" S3="False" S9="4096"/>
								<Rule Name="fPingFrag4096RequestTimedOut" Template="tRemotePingRequestTimedOut" S3="False" S9="4096"/>
								<Rule Name="fPingFrag4096OtherError" Template="tRemotePingOtherError" Query="not($fPingNoFrag4096AddressResolutionError or $fPingFrag4096Success or $fPingFrag4096RequestTimedOut)" S3="False" S9="4096" AlwaysEvaluate="True"/>
							</Setting>
							<!-- Rules to check if the ping results suggest that black hole routers may be present -->
							<Rule Name="fBlackHoleSmallSize" Query="$fPingNoFrag548Success and (($fPingNoFrag1472RequestTimedOut and $fPingFrag1472Success and $fPingFrag1472ReplySizeNotSame) or ($fPingNoFrag4096RequestTimedOut and $fPingFrag4096Success and $fPingFrag4096ReplySizeNotSame))" AlwaysEvaluate="True"/>
							<Rule Name="fBlackHoleLargeSize" Query="$fPingNoFrag1472Success and $fPingNoFrag4096RequestTimedOut and $fPingFrag4096Success and $fPingFrag4096ReplySizeNotSame" AlwaysEvaluate="True"/>
							<Rule Name="fBlackholeRouter" Query="$fBlackHoleSmallSize or $fBlackHoleLargeSize" Error="Error" Sev="2" ReportIssue="RootCause" Title="Possibili router black hole" Text="Dai risultati del ping viene evidenziato che potrebbe essere presente un router black hole tra il server {2} e il server remoto {1}. Vedere l'articolo 314825 della Microsoft Knowledge Base per correggere il problema o evitarlo." S1="%SERVERLONGNAME%" S2="%varExName%" GUID="7178b77c-dbba-4951-a38c-85905c17bcdc"/>
							<Rule Name="fNoBlackHoleRouter" Query="($fPingNoFrag548Success and $fPingNoFrag1472PacketTooBig and $fPingNoFrag4096PacketTooBig) or ($fPingNoFrag1472Success and $fPingNoFrag4096PacketTooBig) or ($fPingNoFrag548Success and $fPingNoFrag1472Success and $fPingFrag4096Success)" Error="None" Title="Nessun router black hole rilevato" Text="Non esiste nessuna indicazione sulla presenza di un router black hole tra il server {2} e il server remoto {1}." S1="%SERVERLONGNAME%" S2="%varExName%" AlwaysEvaluate="True"/>
							<Rule Name="fPingRemoteServerError" Query="not($fPingNoFrag548Success and $fPingNoFrag1472Success and $fPingFrag1472Success and $fPingFrag4096Success)" AlwaysEvaluate="True"/>
						</Object>
						<!-- Next, check whether the SMTP port responds -->
						<Object Type="Port" Name="SMTP Port Test" Key1="%SERVERLONGNAME%">
							<Setting Key1="25">
								<Rule Name="fSMTPPortRemoteServerSuccess" Query="$.[2]='25 Available'" Error="None" Title="La porta {9} ha risposto" Text="La porta {9} ha risposto nel server {2}." S2="%SERVERLONGNAME%" S9="25"/>
								<Rule Name="fSMTPPortRemoteServerError" Query="not($fSMTPPortRemoteServerSuccess)" Error="Error" Sev="1" ReportIssue="Issue" Title="La porta {9} non ha risposto" Text="La porta {9} non ha risposto nel server {2}. A meno che la porta SMTP non sia stata modificata nel server {2}, si verificheranno problemi di flusso di posta." S2="%SERVERLONGNAME%" S9="25" GUID="80503d53-ada9-4bc1-b6c3-1266b10de3af"/>
							</Setting>
						</Object>
					</Object>
					<Rule Name="szRDCheckConnectivity" Query="'RDCheckConnectivity'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fRDConnectivityIssueFound,string(@Title),$szExNoErrorStateText)" Title="Sono stati identificati potenziali problemi di connettività che possono influenzare il flusso di posta." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema di connettività ai server remoti."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati test di connettività alle code Recapito remoto">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="fRDConnectivityIssueFound" Query="$fPingRemoteServerError or $fSMTPPortRemoteServerError or $fBlackholeRouter" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayRDConnectivityStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDCheckSMTPInstanceConfig" Title="Verifica la configurazione dell'SMTP remoto" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varRootDomainDN%" Substitution="varRootDomainDN" Display="Hide"/>
			<Setting Key1="%varAllHostRecordsFoundFQDN%" Substitution="varAllHostRecordsFoundFQDN" Display="Hide"/>
			<Setting Key1="%varAllHostRecordsFoundMX%" Substitution="varAllHostRecordsFoundMX" Display="Hide"/>
			<Setting Key1="%varAllDomainResolvedHostNoMX%" Substitution="varAllDomainResolvedHostNoMX" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica la configurazione dell'istanza SMTP" Text="Attendere. È in corso il controllo della presenza di potenziali problemi di configurazione delle istanze SMTP di destinazione a cui {2} tenta di inviare messaggi." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Remote SMTP Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<!-- Need to filter out the servers that do not belong to the same organization as well as excluding the duplicates -->
					<Object Type="Cache" Name="RemoteServerFQDNList" Key1="Add" Key2="RemoteServer" Key3="%varAllHostRecordsFoundFQDN%,%varAllHostRecordsFoundMX%,%varAllDomainResolvedHostNoMX%" Key4="," Display="Hide">
						<Rule Name="fNoServerToTest" Query="count(../Instance)=0" Error="Error" Sev="3" Title="Nessun server disponibile per i controlli dei nomi delle istanze SMTP" Text="Lo strumento non è stato in grado di identificare il nome di dominio completo di tutti i server remoti. Impossibile eseguire i controlli dei nomi delle istanze SMTP." GUID="e5e1fcf1-688c-41a7-90a7-318fab7e1e1c"/>
						<Setting Key1="RemoteServerShortName" Substitution="REMOTEHOST" SubstitutionFormat="^(.*?)\..*[a-zA-Z].*$----$1"/>
						<Setting Key1="RemoteServerLongName" Substitution="REMOTEFQDN"/>
						<!-- First, we need to find a server then get the FQDN of SMTP VS -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=%REMOTEHOST%))">
							<Setting Key1="cn" Substitution="SRVHOST"/>
							<Setting Key1="distinguishedName" Substitution="DN"/>
							<Setting Key1="networkAddress" Substitution="SRVNAME" SubstitutionFormat="^(ncacn_ip_tcp:(?'tcpip'.*))?.*$----${tcpip}"/>
							<Setting Key1="serialNumber" Substitution="EXVERSION"/>
							<Object Type="If" Name="SameOrgServer" Key1="lower-case('%REMOTEFQDN%') = lower-case('%SRVNAME%')">
								<Setting Key1="lower-case('%REMOTEFQDN%')" Substitution="SRVFQDN"/>
								<Setting Key1="lower-case('%SRVHOST%')" Substitution="SRVHOST"/>
								<Setting Key1="if (contains('%EXVERSION%', 'Version 6.5'), '1', '0')" Substitution="SRVVERSION"/>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=SMTP,CN=Protocols,%DN%" Key3="objectCategory=protocolCfgSMTPServer">
									<Setting Key1="adminDisplayName" Substitution="SMTPVSNAME"/>
									<Setting Key1="msExchSmtpFullyQualifiedDomainName" Substitution="SMTPVSFQDN" SubstitutionFormat="LowerCase"/>
									<Object Type="Cache" Name="SMTPInstanceCache" Key1="Add" Key2="SMTPInstanceList" Key3="%SRVVERSION%,%SRVHOST%,%SRVFQDN%,%SMTPVSFQDN%,%SMTPVSNAME%" Display="Hide"/>
								</Object>
							</Object>
						</Object>
						<!-- We need to do another search from the oposite direction as the FQDN we have may have come from SMTP VS and the FQDN may be different between server and SMTP VS -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectCategory=protocolCfgSMTPServer)(msExchSmtpFullyQualifiedDomainName=%REMOTEFQDN%))">
							<Setting Key1="adminDisplayName" Substitution="SMTPVSNAME"/>
							<Setting Key1="distinguishedName" Substitution="SERVERNAME" SubstitutionFormat="^CN=.*?,CN=.*?,CN=.*?,CN=(.*?[^\\]),.*$----$1"/>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=%SERVERNAME%))">
								<Setting Key1="cn" Substitution="SRVHOST"/>
								<Setting Key1="networkAddress" Substitution="SRVNAME" SubstitutionFormat="^(ncacn_ip_tcp:(?'tcpip'.*))?.*$----${tcpip}"/>
								<Setting Key1="serialNumber" Substitution="EXVERSION"/>
								<Object Type="If" Key1="true()">
									<Setting Key1="lower-case('%SRVNAME%')" Substitution="SRVFQDN"/>
									<Setting Key1="lower-case('%SRVHOST%')" Substitution="SRVHOST"/>
									<Setting Key1="lower-case('%REMOTEFQDN%')" Substitution="SMTPVSFQDN"/>
									<Setting Key1="if (contains('%EXVERSION%', 'Version 6.5'), '1', '0')" Substitution="SRVVERSION"/>
									<Object Type="Cache" Name="SMTPInstanceCache" Key1="Add" Key2="SMTPInstanceList" Key3="%SRVVERSION%,%SRVHOST%,%SRVFQDN%,%SMTPVSFQDN%,%SMTPVSNAME%" Display="Hide"/>
								</Object>
							</Object>
						</Object>
					</Object>
					<!-- Now we check the SPN related stuff like ExBPA does and also check whether the FQDN matches between server and SMTP VS -->
					<Object Type="Cache" Name="SMTPInstanceCache" Key1="Dump" Key2="SMTPInstanceList" Display="Hide">
						<Setting Key1="ServerVersion" Substitution="SRVVERSION" Format="^(.*?),.*$----$1"/>
						<Setting Key1="ServerHost" Substitution="SRVHOST" Format="^.*?,(.*?),.*$----$1"/>
						<Setting Key1="ServerFQDN" Substitution="SRVFQDN" Format="^.*?,.*?,(.*?),.*$----$1"/>
						<Setting Key1="SMTPInstanceFQDN" Substitution="SMTPVSFQDN" Format="^.*?,.*?,.*?,(.*?),.*$----$1"/>
						<Setting Key1="SMTPInstanceName" Substitution="SMTPVSNAME" Format="^.*?,.*?,.*?,.*?,(.*?)$----$1"/>
						<Object Type="Group" Name="%SMTPVSFQDN%" Class="Nome" GroupingClass="True" Display="Hide">
							<Object Type="LookupAccount" Key1="Name" Key2="%varDCName%" Key3="%SRVHOST%$">
								<Setting Key1="Sid" Substitution="COMPUTERSID"/>
								<Object Type="Directory" Key1="GC://%varDCName%" Key2="%varRootDomainDN%" Key3="objectSid=%COMPUTERSID%">
									<Setting Key1="servicePrincipalName">
										<Rule Name="szSPN" Query="concat(join(';', $.),';')"/>
										<Rule Name="fSPNSMTPVsiFQDNMissing" Query="'%SRVVERSION%' = '1' and not($fClusterServiceRunning) and count($szSPN)&gt;0 and (not(contains(lower-case($szSPN), concat('smtpsvc/', '%SMTPVSFQDN%', ';'))) and not(contains(lower-case($szBackConnectionHostNames), concat('%SMTPVSFQDN%', ';'))) and (count($iDisableLoopbackCheck)=0 or $iDisableLoopbackCheck=0))" Error="Error" Sev="3" ReportIssue="Issue" Title="Nome di dominio completo del server virtuale SMTP nel nome principale del servizio SMTPSVC mancante" Text="L'account del computer per il server di Exchange {2} non contiene il nome di dominio completo del server virtuale SMTP di Exchange '{3}'. Ciò può causare errori di autenticazione Kerberos durante l'invio di messaggi tra server. Valore previsto 'SMTPSVC/{1}' non trovato in {5}." S1="%SMTPVSFQDN%" S2="%SRVFQDN%" P3="$szSMTPInstanceName" S5="ServicePrincipalName" GUID="6db21156-a9fc-44d3-8bf8-6a2e035fa7ce" AlwaysEvaluate="True"/>
									</Setting>
								</Object>
							</Object>
							<Object Type="Group">
								<Setting Key1="ServerStatus">
									<Rule Name="szSMTPInstanceName" Query="'%SMTPVSNAME%'"/>
									<Rule Name="fClusterServiceRunning" Query="$fClusterServiceRunningKey" AlwaysEvaluate="True"/>
									<Rule Name="fFQDNNoMatch" Query="'%SRVFQDN%' != '%SMTPVSFQDN%'" Error="Warning" Sev="2" Title="Il nome di dominio completo dell'istanza SMTP non corrisponde al nome del server" Text="Il nome di dominio completo del server virtuale SMTP '{3}' nel server {2} non corrisponde al nome di dominio completo del server. Potrebbero verificarsi problemi nel routing della posta. Server virtuale SMTP: {1}. Server: {4}." S1="%SMTPVSFQDN%" S2="%SRVHOST%" P3="$szSMTPInstanceName" S4="%SRVFQDN%" GUID="391087ca-4544-4c26-a9b3-51bc46328bf4"/>
								</Setting>
							</Object>
							<Object Type="Registry" Key1="%SRVHOST%" Key3="SYSTEM\CurrentControlSet\Control\LSA">
								<Setting Key1="CrashOnAuditFail" Retrieve="FailHard"/>
								<Setting Key1="DisableLoopbackCheck">
									<Rule Name="iDisableLoopbackCheck" Query="$."/>
								</Setting>
								<Object Type="Registry" Key1="%SRVHOST%" Key3="SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0">
									<Setting Key1="BackConnectionHostNames">
										<Rule Name="szBackConnectionHostNames" Query="concat(join(';', $.),';')"/>
									</Setting>
								</Object>
								<Object Type="WMI" Key1="%SRVHOST%" Key3="Win32_Service" Key4="Name='ClusSvc'">
									<Setting Key1="Started">
										<Rule Name="fClusterServiceRunningKey" Query="$.='True'"/>
									</Setting>
								</Object>
							</Object>
						</Object>
					</Object>

					<Rule Name="szRDCheckSMTPInstanceConfig" Query="'RDCheckSMTPInstanceConfig'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fRDSMTPInstanceIssueFound,string(@Title),$szExNoErrorStateText)" Title="Sono stati rilevati potenziali problemi di configurazione dell'istanza SMTP." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato rilevato alcun problema di configurazione dell'istanza SMTP."/>
					<Rule Name="szRDCheckSMTPInstanceConfigResult" Query="string(@Title)" Title="Risultati dell'analisi della configurazione dell'istanza SMTP di recapito remoto">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="fRDSMTPInstanceIssueFound" Query="$fFQDNNoMatch or $fSPNSMTPVsiFQDNMissing" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayRDCheckSMTPInstanceConfigStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDCheckEventLog" Title="Controllare il registro eventi" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Title="Controllo dei registri eventi" Text="Attendere. È in corso la verifica della presenza di eventi noti nei registri eventi sul server {2} correlati ai problemi della coda di recapito remota." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Remote SMTP Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="If" Name="%varExName%" Key1="true()" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Get the the datetime of exactly 24 hours ago in the yyyyMMddHHmmss.000000+000 format as this format is faster for a WMI query -->
						<Setting Key1="date-add('%varCurrentDateTime%', get-timespan(-(24 * 3600)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
						<!-- Let's look if the app event log contains any events 4001 or 4006 as they are common for SMTP protocol errors and dropped connections -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=4001 AND SourceName='MSExchangeTransport' AND Category=3 AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="Category"/>
							<Setting Key1="CategoryString"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt4001WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso di gestione della connessione di trasporto nelle ultime 24 ore." Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="4001" GUID="030669e4-be72-475d-8892-b81a45b6cf9a"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=4006 AND SourceName='MSExchangeTransport' AND Category=3 AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="Category"/>
							<Setting Key1="CategoryString"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt4006WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso di gestione della connessione di trasporto nelle ultime 24 ore." Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="4006" GUID="3c196169-ca10-4099-877d-10147ee5bad4"/>
							</Setting>
						</Object>

						<Rule Name="szRDCheckEventLog" Query="'RDCheckEventLog'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fRDEventlogFound,string(@Title),$szExNoErrorStateText)" Title="Sono state rilevate voci del registro eventi potenzialmente correlate." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stata trovata alcuna voce del registro eventi rilevante."/>
						<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi registro eventi code Recapito remoto">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fRDEventlogFound" Query="$fEvt4001WithinLast24hours or $fEvt4006WithinLast24hours" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayRDEventLogStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDCheckE12MessageTrackingLog" Title="Controllare il registro di verifica messaggi" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo dei registri di verifica messaggi" Text="Attendere. È in corso la verifica della presenza di eventi noti nei registri di verifica messaggi sul server {2} correlati ai problemi della coda di recapito remota." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" SecurityContext="EXLOGON">
					<!-- Let's look if the Message Tracking log contains any 'FAIL' events as they are common for SMTP protocol errors and dropped connections -->
					<Object Type="MonadCommand" Key1="get-MessageTrackingLog -Server %varExName% -Start '%varCurrentDateTime%' -EventId 'FAIL'" TrackProgress="TrackProgress">
						<Setting Key1="EventId"/>
						<Setting Key1="ClientHostname" Substitution="ClientHostname"/>
						<Setting Key1="ServerIp"/>
						<Setting Key1="ServerHostname" Substitution="ServerHostname"/>
						<Setting Key1="Source" Substitution="Source"/>
						<Setting Key1="MessageId" Substitution="MessageId"/>
						<Setting Key1="RecipientStatus" Substitution="RecipientStatus"/>
						<Setting Key1="Timestamp">
							<Rule Name="dFailEvtAdjustGMTinSec" Template="tEvtAdjustGMTinSec"/>
							<Rule Name="dFailEvtRawTimeDiffinSec" Query="get-seconds(date-difference(@S8, $.), 'yyyyMMddHHmmss')" S8="%varCurrentDateTime%"/>
							<Rule Name="fFailEvtWithinLast24hours" Query="($dFailEvtRawTimeDiffinSec + $dFailEvtAdjustGMTinSec) &lt; 86400" Error="Warning" Sev="2" Title="È stato registrato un evento 'FAIL' della gestione della connessione di trasporto nelle ultime 24 ore." Text="È stato rilevato un evento '{9}' con ID messaggio interno '{1}' nel registro applicazioni del server {2} dal componente di origine '{5}' che ha provocato il problema '{6}'." S1="%MessageId%" S2="%varExName%" S5="%Source%" S6="%RecipientStatus%" S9="FAIL"/>
						</Setting>
					</Object>
					<Rule Name="szRDCheckE12MessageTrackingLog" Query="'RDCheckE12MessageTrackingLog'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fRDMessageTrackinglogFound,string(@Title),$szExNoErrorStateText)" Title="Sono state rilevate voci del registro di verifica messaggi potenzialmente correlate." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stata trovata alcuna voce del registro di verifica messaggi rilevante."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi registro di verifica messaggi code Recapito remoto">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="fRDMessageTrackinglogFound" Query="$fFailEvtWithinLast24hours" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayRDMessageTrackingLogStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDSMTPCommand" Title="Lancia comandi SMTP" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varAllHostRecordsFoundFQDN%" Substitution="varAllHostRecordsFoundFQDN" Display="Hide"/>
			<Setting Key1="%varAllHostRecordsFoundMX%" Substitution="varAllHostRecordsFoundMX" Display="Hide"/>
			<Setting Key1="%varAllDomainResolvedHostNoMX%" Substitution="varAllDomainResolvedHostNoMX" Display="Hide"/>
			<Setting Key1="%varAllRemoteServerIP%" Substitution="varAllRemoteServerIP" Display="Hide"/>
			<Setting Key1="%varRCPTAddress%" Substitution="varRCPTAddress" Display="Hide"/>
			<Setting Key1="%varMAILFROMAddress%" Substitution="varMAILFROMAddress" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Title="Test dei comandi SMTP in corso" Text="Attendere. Test dei comandi SMTP con i server a cui {2} sta tentando di inviare messaggi in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Remote SMTP Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<!-- Now let's start throwing SMTP commands to remote servers. We use a local address for RCPT TO so it will probably produce a 5.7.1 error when connecting to remote domains -->
					<Object Type="Cache" Name="RemoteServerList" Key1="Add" Key2="RemoteServer" Key3="%varAllHostRecordsFoundFQDN%,%varAllHostRecordsFoundMX%,%varAllDomainResolvedHostNoMX%,%varAllRemoteServerIP%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
						<Rule Name="fNoServerToTest" Query="count(../Instance)=0" Error="Error" Sev="3" Title="Nessun server disponibile per i test dei comandi SMTP" Text="Nessun server remoto ha passato i test di connettività sulla porta {9}. Impossibile eseguire i test dei comandi SMTP." S9="25"/>
						<Setting Key1="RemoteServer" Substitution="REMOTESERVER"/>
						<Object Type="Protocol" Name="SMTP Command Test" Key1="%REMOTESERVER%" Key2="TCP" Key3="25" Key4="60000" Timeout="%300">
							<Setting Key1="Connect">
								<Rule Name="fSMTPSocketAliveRemoteServerOkay" Query="not ($.[2]='Respond = Remote socket is not available' or $.[2]='Respond = ')"/>
								<Rule Name="fSMTPSocketAliveRemoteServerError" Query="not ($fSMTPSocketAliveRemoteServerOkay)" Error="Error" Sev="2" ReportIssue="Issue" Title="Errore nell'accettazione della posta" Text="Il server remoto {2} non ha superato il test di accettazione della posta nel tentativo di aprire il socket remoto: {1}." P1="$.[2]" S2="%REMOTESERVER%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
								<Rule Name="fSMTPSocketAliveRemoteServerPIXFireWall" Query="starts-with($.[2],'Respond = 220') and (contains($.[2], '***') or contains(upper-case($.[2]),'SMTP/CMAP'))" Template="tSMTPProxyRunning" S0="Cisco PIX firewall" S2="%REMOTESERVER%"/>
								<Rule Name="fSMTPSocketAliveRemoteServerWatchGuard" Template="tSMTPProxyRunning" S0="WatchGuard Firebox firewall" S2="%REMOTESERVER%" S4="SMTP SERVICE READY"/>
								<Rule Name="fSMTPSocketAliveRemoteServerCheckPoint" Template="tSMTPProxyRunning" S0="Checkpoint Firewall" S2="%REMOTESERVER%" S4="CHECKPOINT"/>
								<Rule Name="fSMTPSocketAliveRemoteServerRaptor" Query="contains(upper-case($.[2]), 'GENERIC SMTP HANDLER')" Template="tSMTPProxyRunning" S0="Raptor Firewall" S2="%REMOTESERVER%"/>
								<Rule Name="fSMTPSocketAliveRemoteServerCyberGuard" Template="tSMTPProxyRunning" S0="CyberGuard firewall" S2="%REMOTESERVER%" S4="FW1 SMTP PROXY SERVICE READY"/>
								<Rule Name="fSMTPSocketAliveRemoteServerPraetor" Template="tSMTPProxyRunning" S0="CMS Praetor" S2="%REMOTESERVER%" S4="CMSPRAETOR"/>
								<Rule Name="fSMTPSocketAliveRemoteServerMerak" Template="tSMTPProxyRunning" S0="Merak Mail Server" S2="%REMOTESERVER%" S4="ESMTP MERAK"/>
							</Setting>
							<Setting Key1="EHLO">
								<!-- Check if 8BITMIME is supported -->
								<Rule Name="f8BITMIMENotRegistered" Query="$fSMTPSocketAliveRemoteServerOkay and not(contains (upper-case($.[2]), '250-8BITMIME'))" Error="Warning" Sev="2" Title="8BITMIME non registrato" Text="Il server remoto {2} non supporta il comando 8BITMIME. Ciò impedirà il routing dei messaggi di posta che richiedono l'estensione 8BITMIME. Verificare che la coda contenga tali messaggi." S2="%REMOTESERVER%" GUID="b897b085-1100-4145-8218-ecfa7980c3ce"/>
							</Setting>
							<Setting Key1="MAIL FROM: %varMAILFROMAddress%" Key5="MAIL FROM">
								<Rule Name="fAcceptTestMailFromRemoteServerOkay" Query="starts-with($.[2], 'Respond = 250')"/>
								<Rule Name="fAcceptTestMailFromRemoteServerError" Query="$fSMTPSocketAliveRemoteServerOkay and not ($fAcceptTestMailFromRemoteServerOkay)" Error="Error" Sev="2" ReportIssue="Issue" Title="Errore nell'accettazione della posta" Text="Il server remoto {2} non ha superato il test di accettazione della posta. Comando MAIL FROM: {1}." P1="$szMailFromRemoteServerResponse" S2="%REMOTESERVER%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
								<Rule Name="szMailFromRemoteServerResponse" Query="replace($.[2], ',$', '')"/>
							</Setting>
							<Setting Key1="RCPT TO: %varRCPTAddress%" Key5="RCPT TO">
								<Rule Name="fAcceptTestRcptToRemoteServerOkay" Query="starts-with($.[2], 'Respond = 250')"/>
								<Rule Name="fAcceptTestRcptToRemoteServerError" Query="$fSMTPSocketAliveRemoteServerOkay and $fAcceptTestMailFromRemoteServerOkay and not ($fAcceptTestRcptToRemoteServerRefused) and not ($fAcceptTestRcptToRemoteServerOkay)" Error="Error" Sev="2" ReportIssue="Issue" Title="Errore nell'accettazione della posta" Text="Il server remoto {2} non ha superato il test di accettazione della posta. Comando RCPT TO: {1}." P1="$szRcptToRemoteServerResponse" S2="%REMOTESERVER%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
								<Rule Name="fAcceptTestRcptToRemoteServerRefused" Query="$fSMTPSocketAliveRemoteServerOkay and $fAcceptTestMailFromRemoteServerOkay and contains($.[2],'550 5.7.1')" Error="Warning" Sev="2" Title="Errore nell'accettazione della posta" Text="Il server remoto {2} ha rifiutato il messaggio di posta di test per il destinatario &quot;{3}&quot;. Se il server remoto appartiene a un dominio remoto, ciò non indica necessariamente un problema. Comando RCPT TO: {1}." P1="$szRcptToRemoteServerResponse" S2="%REMOTESERVER%" S3="%varRCPTAddress%" GUID="a4259991-7fec-4a17-887a-9edc38df6d45"/>
								<Rule Name="szRcptToRemoteServerResponse" Query="replace($.[2], ',$', '')"/>
							</Setting>
							<!-- Note the tool is throwing a BDAT command instead of DATA to check if the remote server supports BDAT -->
							<Setting Key1="BDAT 180 LAST">
								<Rule Name="fBDATNotRegistered" Query="$fSMTPSocketAliveRemoteServerOkay and $fAcceptTestMailFromRemoteServerOkay and $fAcceptTestRcptToRemoteServerOkay and starts-with($.[2], 'Respond = 5')" Error="Error" Sev="2" ReportIssue="Issue" Title="BDAT non registrato" Text="Il server remoto {2} non sembra supportare il comando BDAT. Ciò impedirà il routing dei messaggi di posta che richiedono il comando BDAT. Verificare che la coda contenga tali messaggi. Comando BDAT: {1}." P1="$szBDAToRemoteServerResponse" S2="%REMOTESERVER%" GUID="438f1688-6821-4a80-ae4a-2bb3bd977c61"/>
								<Rule Name="szBDAToRemoteServerResponse" Query="replace($.[2], ',$', '')"/>
							</Setting>
							<Setting Key1="This message has been sent by the Microsoft Exchange Troubleshooting Assistant. The purpose of this message is to test the SMTP transport. It is safe to delete this message.">
								<Rule Name="fAcceptTestBDATRemoteServerOkay" Query="starts-with ($.[2], 'Respond = 250')"/>
								<Rule Name="fAcceptTestBDATRemoteServerError" Query="$fSMTPSocketAliveRemoteServerOkay and $fAcceptTestMailFromRemoteServerOkay and $fAcceptTestRcptToRemoteServerOkay and not ($fBDATNotRegistered or $fAcceptTestBDATRemoteServerOkay)" Error="Error" Sev="2" ReportIssue="Issue" Title="Errore nell'accettazione della posta" Text="Il server remoto {2} non ha superato il test di accettazione della posta. Comando BDAT: {1}. Verificare la presenza di firewall e applicazioni che potrebbero bloccare il comando BDAT." P1="$szBDATRemoteServerResponse" S2="%REMOTESERVER%" GUID="9e1cc734-5d81-4fa5-9bdc-0b1138cc4232"/>
								<Rule Name="szBDATRemoteServerResponse" Query="replace($.[2], ',$', '')"/>
							</Setting>
							<Setting Key1="Disconnect"/>
							<Rule Name="fMailAcceptRemoteServerSuccess" Query="$fSMTPSocketAliveRemoteServerOkay and $fAcceptTestMailFromRemoteServerOkay and $fAcceptTestRcptToRemoteServerOkay and $fAcceptTestBDATRemoteServerOkay" Error="None" Title="Accettazione della posta riuscita" Text="Il server remoto {2} ha completato il test di accettazione della posta." S2="%REMOTESERVER%"/>
						</Object>
					</Object>

					<Rule Name="szRDSMTPCommand" Query="'RDSMTPCommand'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if(not($fMailAcceptRemoteServerSuccess) and not($fNoServerToTest),string(@Title),$szExNoErrorStateText)" Title="Sono stati rilevati potenziali problemi relativi ai comandi SMTP." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato rilevato alcun problema relativo ai comandi SMTP."/>
					<Rule Name="szRDSMTPCommandTestResult" Query="string(@Title)" Title="Risultati analisi comandi SMTP code Recapito remoto">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayRDSMTPCommandStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RDCheckThirdParty" Title="Verifica applicazioni di terze parti" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Title="Verifica applicazioni di terze parti in corso" Text="Attendere. Verifica della configurazione delle applicazioni di terze parti sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">

				<Object Type="Group" Name="Third Party Software" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- First, let's check whether Symantec AntiVirus Corporate Edition 9.x Internet E-Mail Auto-Protect is enabled -->
						<Object Type="Registry" Key1="%varExName%" Key3="Software\Intel\LANDesk\VirusProtect6\CurrentVersion\Snap-In\InternetMail">
							<Setting Key1="__KEYPATH">
								<Rule Name="fSymantecEmailAutoProtectInstalled" Query="$." Error="Warning" Sev="2" Title="Plug-in {0} {1} installato" Text="{0} è installato nel server {2} con il plug-in {1}. Al momento dell'installazione in un server Exchange, seguire le procedure consigliate." S0="Symantec AntiVirus Corporate Edition" S1="Internet E-Mail Auto-Protect" S2="%varExName%" GUID="7695481f-3550-430a-96b4-586f63ff1e06"/>
							</Setting>
						</Object>
						<Object Type="Registry" Key1="%varExName%" Key3="Software\Intel\LANDesk\VirusProtect6\CurrentVersion\Storages\InternetMail\RealTimeScan">
							<Setting Key1="OnOff">
								<Rule Name="fSymantecEmailAutoProtectRunning" Query="$fSymantecEmailAutoProtectInstalled and $fSymantecAntiVirusRunning and $.= 1" Error="Error" Sev="2" ReportIssue="Issue" Title="Plug-in {0} {1} abilitato" Text="Il plug-in {1} per {0} è in esecuzione sul server {2}. Potrebbe essere eseguito il backup dei messaggi ai domini remoti e ai server oppure gli utenti potrebbero ricevere rapporti di mancato recapito." S0="Symantec AntiVirus Corporate Edition" S1="Internet E-Mail Auto-Protect" S2="%varExName%" GUID="fc510732-29c4-4696-b13a-f4570c6e9885" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='Symantec AntiVirus'">
							<Setting Key1="Started">
								<Rule Name="fSymantecAntiVirusRunning" Query="$.='True'"/>
							</Setting>
						</Object>

						<!-- Second, let's check whether McAfee VirusScan port blocking is enabled for port 25. We need to enumerate the 'numbered' registry values as any one of them may have this rule. -->
						<Object Type="If" Name="McAfee VirusScan" Key1="true()">
							<Setting Key1="if ('%varIsExchange12%'='1', 'MSExchangeTransport.exe', 'Inetinfo.exe')" Substitution="SMTPPROCESS"/>
							<Object Type="Registry" Key1="%varExName%" Key3="Software\Network Associates\TVD\VirusScan Enterprise\CurrentVersion">
								<Setting Key1="__KEYPATH">
									<Rule Name="fMcAfeeVirusScanInstalled" Query="$." Error="None" Title="{0} installato" Text="{0} è installato nel server {2}." S0="McAfee VirusScan" S2="%varExName%"/>
								</Setting>
							</Object>
							<Object Type="Enumerator" Name="McAfee keys" Key1="0" Key2="7" Key3="1">
								<Setting Key1="Num" Substitution="NUM">
									<Rule Name="fMcAfeePort25Blocked" Query="$fMcAfeeVirusScanRunning and $fMcAfeePort25BlockRuleEnabled" Error="Warning" Sev="1" Title="La porta {9} è bloccata" Text="{0} è in esecuzione sul server {2} con una regola per il blocco della porta {9}. Il processo '{5}' non è escluso da questa regola. Potrebbe essere eseguito il backup dei messaggi ai domini remoti e ai server oppure gli utenti potrebbero ricevere rapporti di mancato recapito. Nome regola: '{1}'." S0="McAfee VirusScan" P1="$szMcAfeePortBlockRuleName" S2="%varExName%" S5="%SMTPPROCESS%" S9="25"/>
								</Setting>
								<Object Type="Registry" Key1="%varExName%" Key3="Software\Network Associates\TVD\Shared Components\On Access Scanner\BehaviourBlocking">
									<Setting Key1="__KEYPATH">
										<Rule Name="fMcAfeePort25BlockRuleEnabled" Query="$fMcAfeePortBlockEnabled and $fMcAfeePortBlock25Included and $fMcAfeeProcessNotExcluded"/>
									</Setting>
									<Setting Key1="PortBlockName_%NUM%" Key2="Name">
										<Rule Name="szMcAfeePortBlockRuleName" Query="$."/>
									</Setting>
									<Setting Key1="PortBlockEnabled_%NUM%" Key2="Enabled">
										<Rule Name="fMcAfeePortBlockEnabled" Query="$.='1'"/>
									</Setting>
									<Setting Key1="PortBlockRange_%NUM%" Key2="Range">
										<Rule Name="fMcAfeePortBlock25Included" Query="$.='25' or (contains($., '-') and (substring-before($., '-') &lt;=25 and substring-after($., '-') &gt;=25))"/>
									</Setting>
									<Setting Key1="PortBlockWhiteList_%NUM%" Key2="Excluded">
										<Rule Name="fMcAfeeProcessNotExcluded" Query="not(contains(upper-case($.), upper-case(@S5)))" S5="%SMTPPROCESS%"/>
									</Setting>
								</Object>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='McShield'">
								<Setting Key1="Started">
									<Rule Name="fMcAfeeVirusScanRunning" Query="$.='True'"/>
								</Setting>
							</Object>
						</Object>

						<Rule Name="szRDCheckThirdParty" Query="'RDCheckThirdParty'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fThirdPartyIssueFound, string(@Title), $szExNoErrorStateText)" Title="Sono stati rilevati potenziali problemi di configurazione in applicazioni di terze parti." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato rilevato alcun problema di configurazione in applicazioni di terze parti."/>
						<Rule Name="szRDCheckThirdPartyTestResult" Query="string(@Title)" Title="Risultati analisi applicazioni di terze parti">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fThirdPartyIssueFound" Query="$fSymantecEmailAutoProtectInstalled or $fSymantecEmailAutoProtectRunning or $fMcAfeePort25Blocked" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayRDCheckThirdPartyStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MADLCatCheck" Title="Controllo classificatore" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varNonEnglishOS%" Substitution="varNonEnglishOS" Display="Hide"/>
			<Setting Key1="%varMADLMany%" Substitution="varMADLMany" Display="Hide"/>
			<Setting Key1="%varMADLRetry%" Substitution="varMADLRetry" Display="Hide"/>
			<Setting Key1="%varIsExchange2003%" Substitution="varIsExchange2003" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo dello stato del classificatore in corso" Text="Attendere. Controllo dello stato del classificatore sul server {2} in corso. Questo processo potrebbe richiedere alcuni minuti, durante i quali viene eseguito un tentativo di recupero di diversi campioni di prestazioni nel periodo." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<!-- Let's take a look at CAT performance in general-->
				<Object Type="Group" Name="Categorizer Status" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="Pdh" Name="CatBasicData" Key1="%varExName%" Key2="20" Key3="6" Level="1" SecurityContext="EXLOGON">
							<Rule Name="fGeneralErrorAccessPerf" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Messaggio di errore: {1}." S0="SMTP Server" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fBDBErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Ciò potrebbe essere causato da autorizzazioni insufficienti. Messaggio di errore: {1}." S0="SMTP Server" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fContactErrorAccessPerf" Query="contains(../Exception/@Message, '0x800007d0')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Il server potrebbe non essere disponibile oppure il servizio Registro di sistema remoto potrebbe non essere in esecuzione sul server. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fNonEngErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bb8') and @S1='1'" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Impossibile accedere ai contatori di Performance Monitor. Questo strumento deve essere eseguito su un sistema operativo in lingua Inglese (U.S.A.)." S1="%varNonEnglishOS%"/>

							<Setting Key1="SMTP Server" Key2="Cat: Messages submitted/sec" Key3="_Total">
								<Rule Name="iAvgCatSubSec" Query="list-average($.)"/>
							</Setting>
							<Setting Key1="SMTP Server" Key2="Cat: Categorizations completed/sec" Key3="_Total">
								<Rule Name="iAvgCatCompSec" Query="list-average($.)"/>
								<Rule Name="fCatOverloaded" Query="($iAvgCatSubSec - $iAvgCatCompSec) &gt; 2 and $iAvgCatCompSec &gt; 0" Error="Warning" Sev="2" ReportIssue="Summary" Title="Possibile sovraccarico del classificatore" Text="I messaggi vengono inviati al classificatore del server {2} troppo rapidamente per poter essere elaborati. Verificare se si tratta di un carico previsto. Valore medio misurato del contatore '{0}': {9}" P0="localize-path('SMTP Server(_Total)\Cat: Messages submitted/sec')" S2="%varExName%" P9="round(list-average($iAvgCatSubSec)*10000) div 10000" GUID="29af0f89-0f75-4d21-aca0-a63a0aec8dd1"/>
							</Setting>
							<Setting Key1="SMTP Server" Key2="Categorizer Queue Length" Key3="_Total">
								<Rule Name="iAvgCatQueue" Query="list-average($.)" Error="None" Title="Lunghezza coda classificatore" Text="Il valore medio del contatore '{0}' è {9}." P0="localize-path('SMTP Server(_Total)\Categorizer Queue Length')" P9="list-average($.)"/>
							</Setting>
							<Setting Key1="SMTP Server" Key2="Cat: Categorizations in progress" Key3="_Total">
								<Rule Name="fAvgCatInProgAround1000" Query="list-average($.) &gt;800" Error="Error" Sev="2" ReportIssue="Issue" Title="Elevato numero di categorizzazioni in corso" Text="La media del contatore '{0}' sul server {2} è superiore a {8}. Ciò può indicare che sul server {2} esistono problemi di prestazioni oppure che i messaggi vengono inviati più rapidamente di quanto il classificatore possa elaborare. Valore medio misurato del contatore: {9}" P0="localize-path('SMTP Server(_Total)\Cat: Categorizations in progress')" S2="%varExName%" S8="800" P9="list-average($.)" GUID="e49d7429-db7a-4792-9fa6-d718620a7665"/>
								<Rule Name="fMinCatInProgNeverZero" Query="list-min($.) &gt;0" Error="Warning" Sev="1" Title="Possibile problema Inetinfo" Text="Il contatore '{0}' non indica mai zero sul server {2}. Se questo server non è occupato, è possibile che si sia verificato un problema con il processo inetinfo." P0="localize-path('SMTP Server(_Total)\Cat: Categorizations in progress')" S2="%varExName%" GUID="a65a4dbe-aba3-4a94-82aa-1ca7af357d6c"/>
								<Rule Name="fCatInProgRetryableError" Query="list-average($.)=0 and $iAvgCatQueue &gt;0" Error="Error" Sev="2" ReportIssue="Issue" Title="Categorizzazioni precedenti potenzialmente non riuscite con errori non irreversibili" Text="I precedenti tentativi di categorizzazione sul server {2} non sono riusciti a causa di errori non irreversibili. Attualmente, il numero di '{0}' è zero benché la coda contenga ancora messaggi." P0="localize-path('SMTP Server(_Total)\Cat: Categorizations in progress')" S2="%varExName%" GUID="b512b79f-2a0c-40ab-83f6-e2f01924d7e5"/>
							</Setting>
							<Setting Key1="SMTP Server" Key2="Cat: Messages Categorized" Key3="_Total">
								<Rule Name="fMessCatIncrease" Query="not (list-average($.)=list-max($.))"/>
							</Setting>
							<Setting Key1="SMTP Server" Key2="Cat: Categorizations Completed" Key3="_Total">
								<Rule Name="fCatCompleteIncrease" Query="not (list-average($.)=list-max($.))"/>
								<Rule Name="fCatProgressMade" Query="@S1='1' and $fMessCatIncrease and $fCatCompleteIncrease" Error="Error" Sev="2" ReportIssue="Summary" Title="Potenziale problema di prestazioni" Text="Alcuni messaggi hanno completato le categorizzazioni sul server {2} ma la lunghezza delle code è elevata. Ciò potrebbe indicare che si sta verificando un problema di prestazioni." S1="%varMADLMany%" S2="%varExName%" GUID="bd10f12f-b828-4f70-943f-8c1dd1d7ef6d"/>
								<Rule Name="fCatBlocked" Query="(@S1='1' or $iAvgCatSubSec &gt; 0) and not ($fMessCatIncrease or $fCatCompleteIncrease)" S1="%varMADLMany%"/>
							</Setting>
							<Rule Name="fMADLSlowPerfProb" Query="$fCatOverloaded or $fAvgCatInProgAround1000 or $fCatProgressMade"/>
							<Rule Name="fMADLRetryProb" Query="@S1='1' or $fMinCatInProgNeverZero or $fCatInProgRetryableError or $fCatBlocked" S1="%varMADLRetry%"/>
						</Object>
					</Object>

					<Rule Name="szMADLCatCheck" Query="'MADLCatCheck'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if(not($fCatOverloaded), if($fMADLSlowPerfProb and $fMADLRetryProb, string(@Title),if($fMADLRetryProb, $szExErrorStateRetry, $szExErrorStatePerf)), $szExErrorStateOverload)" Title="Potenziale combinazione di scarse prestazioni e problemi nella coda dei tentativi." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExErrorStateRetry" Query="string(@Title)" Title="Potenziale problema nella coda dei tentativi."/>
					<Rule Name="szExErrorStatePerf" Query="string(@Title)" Title="Possibili prestazioni scarse."/>
					<Rule Name="szExErrorStateOverload" Query="string(@Title)" Title="Potenziale sovraccarico del server."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi classificatore.">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>
					<Rule Name="szProbLinkName" Query="'PreCatQueue'">
						<Variable Name="varProbLinkName" Scope="Children"/>
					</Rule>
					<Rule Name="szProbLinkLongName" Query="string(@Title)" Title="Messaggi in attesa dell'individuazione della directory">
						<Variable Name="varProbLinkLongName" Scope="Children"/>
					</Rule>
					<Rule Name="szGroupingClass" Query="'Categorizer Status'">
						<Variable Name="varGroupingClass" Scope="Children"/>
					</Rule>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckQueueStatusStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="RecipientCheck" Name="fGotoRecipientCheck" Query="@S1='1'" Priority="2" Text="- Verifica l'esistenza di destinazioni comuni condivise tra i messaggi nella coda (questo passaggio viene eseguito solo se sul server è in esecuzione Exchange Server 2003)" S1="%varIsExchange2003%" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="MADLFileVersion" Name="fGotoMADLFileVersion" Query="$fMADLRetryProb" Priority="3" Text="- Verifica la presenza di possibili problemi nella versione dei file" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="MADLHighCPUCheck" Name="fGotoMADLHighCPUCheck" Query="$fMADLSlowPerfProb" Priority="4" Text="- Verifica il rilevamento di elevati utilizzi della CPU" Display="Hide" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RecipientCheck" Title="Verifica la destinazione dei messaggi" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varProbLinkName%" Substitution="varProbLinkName" Display="Hide"/>
			<Setting Key1="%varProbLinkLongName%" Substitution="varProbLinkLongName" Display="Hide"/>
			<Setting Key1="%varRootDomainDN%" Substitution="varRootDomainDN" Display="Hide"/>
			<Setting Key1="%varConfigDN%" Substitution="varConfigDN" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varGroupingClass%" Substitution="varGroupingClass" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica delle destinazioni dei messaggi nella coda in corso" Text="Attendere. Controllo delle destinazioni di alcuni messaggi nella coda in corso..." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<!-- This process uses WMI classes available with only E2K3 so can't be used against E2K. -->
				<!-- As LinkId and QueueId change quickly over time, we need to get those values and immediately use them in the subsequent WMI query-->
				<Object Type="Group" Name="%varGroupingClass%" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
						<Object Type="WMI" Key1="%varExName%" Key2="root\MicrosoftExchangeV2" Key3="Exchange_Queue" Key4="LinkName='%varProbLinkName%'" Key5="*">
							<Setting Key1="LinkId" Substitution="LINKID"/>
							<Setting Key1="QueueId" Substitution="QUEUEID"/>
							<Setting Key1="QueueName" Substitution="QUEUENAME"/>
							<Setting Key1="VirtualMachine" Substitution="VM"/>
							<Setting Key1="VirtualServerName" Substitution="VSINSTANCE"/>
							<Setting Key1="MessageCount"/>
							<Object Type="WMI" Key1="%varExName%" Key2="root\MicrosoftExchangeV2" Key3="Exchange_QueuedSMTPMessage" Key4="LinkId='%LINKID%' AND LinkName='%varProbLinkName%' AND ProtocolName='SMTP' AND QueueId='%QUEUEID%' AND QueueName='%QUEUENAME%' AND VirtualMachine='%VM%' AND VirtualServerName='%VSINSTANCE%'" Key5="*" Sort="Received DESC" Range="100">
								<Rule Name="iNumberofMessagesFound" Query="count(../Instance)"/>
								<Setting Key1="Recipients" Substitution="RECIPIENTS" Format="Envelope Recipients:\r\n----" SubstitutionFormat="^(.*?); $----$1"/>
								<Setting Key1="Received"/>
								<Setting Key1="MessageId" Substitution="MESSAGEID"/>
								<Setting Key1="StateRetry"/>
								<Object Type="Cache" Name="RecipientCache" Key1="Add" Key2="Recipients-%MESSAGEID%" Key3="%RECIPIENTS%" Key4=";" Display="Hide">
									<Setting Key1="Recipient" Substitution="RCPTADDRESS" Format="^.*:(.*?)$----$1"/>
									<!-- Now we look up the AD to see if these are users and get the homeMDB and homeServer values -->
									<Object Type="Directory" Key1="GC://%varDCName%" Key2="%varRootDomainDN%" Key3="(&amp;(objectCategory=user)(|(legacyExchangeDN=%RCPTADDRESS%)(proxyAddresses=smtp:%RCPTADDRESS%)))">
										<Setting Key1="distinguishedName" Substitution="RCPTDN"/>
										<Setting Key1="msExchHomeServerName" Substitution="RCPTHOMESERVER"/>
										<Setting Key1="homeMDB" Substitution="RCPTHOMEMDB"/>
										<Object Type="Cache" Name="RecipientDNCache" Key1="Add" Key2="RecipientDNList" Key3="%RCPTDN%" Display="Hide"/>
										<Object Type="Cache" Name="RecipientDNCache" Key1="Add" Key2="RecipientDNList-%MESSAGEID%" Key3="%RCPTDN%" Display="Hide">
											<Setting Key1="RecipientDN" Substitution="RECIPIENTCN" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
												<Rule Name="szRecipientCN" Query="'%RECIPIENTCN%'"/>
											</Setting>
										</Object>
										<Object Type="Cache" Name="HomeServerCache" Key1="Add" Key2="HomeServerList" Key3="%RCPTHOMESERVER%" Display="Hide"/>
										<Object Type="Cache" Name="HomeServerCache" Key1="Add" Key2="HomeServerList-%MESSAGEID%" Key3="%RCPTHOMESERVER%" Display="Hide">
											<Setting Key1="HomeServer" Substitution="HOMESERVER" SubstitutionFormat="^.*/cn=Configuration/cn=Servers/cn=(.*?[^\\])$----$1">
												<Rule Name="szHomeServer" Query="'%HOMESERVER%'"/>
											</Setting>
										</Object>
										<Object Type="Cache" Name="HomeMDBCache" Key1="Add" Key2="HomeMDBList" Key3="%RCPTHOMEMDB%" Display="Hide"/>
										<Object Type="Cache" Name="HomeMDBCache" Key1="Add" Key2="HomeMDBList-%MESSAGEID%" Key3="%RCPTHOMEMDB%" Display="Hide">
											<Setting Key1="HomeMDB" Substitution="HOMEMDB" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
												<Rule Name="szHomeMDB" Query="'%HOMEMDB%'"/>
											</Setting>
										</Object>
									</Object>
									<!-- Next, we check if these are DLs but not try to expand them to get recipients as these DLs may be nested -->
									<Object Type="Directory" Key1="GC://%varDCName%" Key2="%varRootDomainDN%" Key3="(&amp;(objectCategory=group)(|(legacyExchangeDN=%RCPTADDRESS%)(proxyAddresses=smtp:%RCPTADDRESS%)))">
										<Setting Key1="distinguishedName" Substitution="DLDN"/>
										<Object Type="Cache" Name="DLDNCache" Key1="Add" Key2="DLDNList" Key3="%DLDN%" Display="Hide"/>
										<Object Type="Cache" Name="DLDNCache" Key1="Add" Key2="DLDNList-%MESSAGEID%" Key3="%DLDN%" Display="Hide">
											<Setting Key1="RCPTDLList" Substitution="RCPTDL" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
												<Rule Name="szRCPTDL" Query="'%RCPTDL%'"/>
											</Setting>
										</Object>
									</Object>
									<!-- Let's check also public folders -->
									<Object Type="Directory" Key1="GC://%varDCName%" Key2="%varRootDomainDN%" Key3="(&amp;(objectCategory=publicFolder)(|(legacyExchangeDN=%RCPTADDRESS%)(proxyAddresses=smtp:%RCPTADDRESS%)))">
										<Setting Key1="distinguishedName" Substitution="PFDN"/>
										<Object Type="Cache" Name="PFDNCache" Key1="Add" Key2="PFDNList" Key3="%PFDN%" Display="Hide"/>
										<Object Type="Cache" Name="PFDNCache" Key1="Add" Key2="PFDNList-%MESSAGEID%" Key3="%PFDN%" Display="Hide">
											<Setting Key1="RCPTPFList" Substitution="RCPTPF" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
												<Rule Name="szRCPTPF" Query="'%RCPTPF%'"/>
											</Setting>
										</Object>
									</Object>
									<!-- Let's check also public folders stores -->
									<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%varExOrgDN%" Key3="(&amp;(objectCategory=msExchPublicMDB)(|(legacyExchangeDN=%RCPTADDRESS%)(proxyAddresses=smtp:%RCPTADDRESS%)))">
										<Setting Key1="distinguishedName" Substitution="PFSTOREDN"/>
										<Object Type="Cache" Name="PFStoreDNCache" Key1="Add" Key2="PFStoreDNList" Key3="%PFSTOREDN%" Display="Hide"/>
										<Object Type="Cache" Name="PFStoreDNCache" Key1="Add" Key2="PFStoreDNList-%MESSAGEID%" Key3="%PFSTOREDN%" Display="Hide">
											<Setting Key1="RCPTPFStoreList" Substitution="RCPTPFSTORE" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
												<Rule Name="szRCPTPFStore" Query="'%RCPTPFSTORE%'"/>
											</Setting>
										</Object>
									</Object>
								</Object>
							</Object>
							<!-- Finally, let's check if there are common recipients, servers, mailbox stores, DLs and PF from cache -->
							<Object Type="Cache" Name="RecipientDNCache" Key1="Dump" Key2="RecipientDNList" Display="Hide">
								<Setting Key1="RecipientDNList" Substitution="RCPTNAME" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
									<Rule Name="szCommonRecipientShortName" Query="'%RCPTNAME%'"/>
									<Rule Name="iRecipientAppears" Query="count($szRecipientCN[.='%RCPTNAME%'])"/>
									<Rule Name="fCommonRecipientError" Query="$iRecipientAppears &gt; ($iNumberofMessagesFound * 0.5)" Error="Error" Sev="3" ReportIssue="Issue" Title="L'utente '{1}' è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati all'utente '{1}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonRecipientShortName" S2="%varExName%" S4="%varProbLinkLongName%" S6="50" P8="$iNumberofMessagesFound" P9="$iRecipientAppears" GUID="3e333afd-7dc6-4f83-b696-66571a6ad5d1"/>
									<Rule Name="fCommonRecipientWarning" Query="not ($fCommonRecipientError) and $iRecipientAppears &gt; ($iNumberofMessagesFound * 0.25)" Error="Warning" Sev="2" Title="L'utente '{1}' è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati all'utente '{1}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonRecipientShortName" S2="%varExName%" S4="%varProbLinkLongName%" S6="25" P8="$iNumberofMessagesFound" P9="$iRecipientAppears" GUID="3e333afd-7dc6-4f83-b696-66571a6ad5d1"/>
								</Setting>
								<Rule Name="fCommonRecipientsDetected" Query="count($fCommonRecipientError) &gt;0 or count($fCommonRecipientWarning) &gt;0" AlwaysEvaluate="True"/>
							</Object>
							<Object Type="Cache" Name="HomeServerCache" Key1="Dump" Key2="HomeServerList" Display="Hide">
								<Setting Key1="HomeServerList" Substitution="SERVERSHORTNAME" SubstitutionFormat="^.*/cn=Configuration/cn=Servers/cn=(.*?[^\\])$----$1">
									<Rule Name="szCommonHomeServer" Query="$."/>
									<Rule Name="szCommonHomeServerShortName" Query="'%SERVERSHORTNAME%'"/>
									<Rule Name="iServerAppears" Query="count($szHomeServer[.='%SERVERSHORTNAME%'])"/>
									<Rule Name="fCommonServerError" Query="$iServerAppears &gt; ($iNumberofMessagesFound * 0.5)" Error="Error" Sev="3" ReportIssue="Issue" Title="Il server {1} è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati al server '{1}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonHomeServerShortName" S2="%varExName%" S4="%varProbLinkLongName%" S6="50" P8="$iNumberofMessagesFound" P9="$iServerAppears" GUID="d5a02814-ee16-4f0b-9f1c-f8d2a850c56f"/>
									<Rule Name="fCommonServerWarning" Query="not ($fCommonServerError) and $iServerAppears &gt; ($iNumberofMessagesFound * 0.25)" Error="Warning" Sev="2" Title="Il server {1} è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati al server '{1}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonHomeServerShortName" S2="%varExName%" S4="%varProbLinkLongName%" S6="25" P8="$iNumberofMessagesFound" P9="$iServerAppears" GUID="d5a02814-ee16-4f0b-9f1c-f8d2a850c56f"/>
								</Setting>
								<Rule Name="fCommonHomeServersDetected" Query="count($fCommonServerError) &gt;0 or count($fCommonServerWarning) &gt;0" AlwaysEvaluate="True"/>
							</Object>
							<Object Type="Cache" Name="HomeMDBCache" Key1="Dump" Key2="HomeMDBList" Display="Hide">
								<Setting Key1="HomeMDBList" Substitution="MDBSHORTNAME" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
									<Rule Name="szCommonHomeMDB" Query="$."/>
									<Rule Name="szCommonHomeMDBShortName" Query="'%MDBSHORTNAME%'"/>
									<Rule Name="iMDBAppears" Query="count($szHomeMDB[.='%MDBSHORTNAME%'])"/>
									<Rule Name="fCommonHomeMDBError" Query="$iMDBAppears &gt; ($iNumberofMessagesFound * 0.5)" Error="Error" Sev="3" ReportIssue="Issue" Title="L'archivio cassette postali '{1}' è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati all'archivio cassette postali '{3}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonHomeMDBShortName" S2="%varExName%" P3="$." S4="%varProbLinkLongName%" S6="50" P8="$iNumberofMessagesFound" P9="$iMDBAppears" GUID="cf94d85f-e93f-44b3-b942-52abd214a729"/>
									<Rule Name="fCommonHomeMDBWarning" Query="not ($fCommonHomeMDBError) and $iMDBAppears &gt; ($iNumberofMessagesFound * 0.25)" Error="Warning" Sev="2" Title="L'archivio cassette postali '{1}' è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati all'archivio cassette postali '{3}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonHomeMDBShortName" S2="%varExName%" P3="$." S4="%varProbLinkLongName%" S6="25" P8="$iNumberofMessagesFound" P9="$iMDBAppears" GUID="cf94d85f-e93f-44b3-b942-52abd214a729"/>
								</Setting>
								<Rule Name="fCommonHomeMDBsDetected" Query="count($fCommonHomeMDBError) &gt;0 or count($fCommonHomeMDBWarning) &gt;0" AlwaysEvaluate="True"/>
							</Object>
							<Object Type="Cache" Name="DLDNCache" Key1="Dump" Key2="DLDNList" Display="Hide">
								<Setting Key1="DLDNList" Substitution="DLSHORTNAME" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
									<Rule Name="szCommonDL" Query="$."/>
									<Rule Name="szCommonDLShortName" Query="'%DLSHORTNAME%'"/>
									<Rule Name="iDLAppears" Query="count($szRCPTDL[.='%DLSHORTNAME%'])"/>
									<Rule Name="fCommonDLError" Query="$iDLAppears &gt; ($iNumberofMessagesFound * 0.5)" Error="Error" Sev="3" ReportIssue="Issue" Title="Il gruppo di distribuzione '{3}' è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati al gruppo di distribuzione '{3}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." S2="%varExName%" P3="$szCommonDLShortName" S4="%varProbLinkLongName%" S6="50" P8="$iNumberofMessagesFound" P9="$iDLAppears" GUID="8ade3401-2f64-4520-a59c-bb0272886c1c"/>
									<Rule Name="fCommonDLWarning" Query="not ($fCommonDLError) and $iDLAppears &gt; ($iNumberofMessagesFound * 0.25)" Error="Warning" Sev="2" Title="Il gruppo di distribuzione '{3}' è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati al gruppo di distribuzione '{3}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." S2="%varExName%" P3="$szCommonDLShortName" S4="%varProbLinkLongName%" S6="25" P8="$iNumberofMessagesFound" P9="$iDLAppears" GUID="8ade3401-2f64-4520-a59c-bb0272886c1c"/>
								</Setting>
								<!-- For distribution group, we check whether global distribution groups are used in a multi-domain forest -->
								<Setting Key1="DLDistinguishedName" Substitution="RCPTGROUPDN"/>
								<Object Type="Directory" Key1="GC://%varDCName%" Key2="%RCPTGROUPDN%">
									<Setting Key1="groupType">
										<Rule Name="fGlobalGroupUsedMultiDomains" Query="bitwise-and($.,2)!=0 and count($szDomainDN) &gt;1" Error="Warning" Sev="1" Title="Gruppo di distribuzione globale utilizzato nella foresta multidominio" Text="La coda &quot;{4}&quot; sul server {2} contiene messaggi indirizzati al gruppo di distribuzione globale &quot;{3}&quot;, mentre la topologia è una foresta multidominio. I messaggi potrebbero non essere recapitati correttamente ai membri del gruppo. Consultare l'articolo 271930 della Microsoft Knowledge Base e considerare l'utilizzo di gruppi di distribuzione universali." S2="%varExName%" S3="%DLSHORTNAME%" S4="%varProbLinkLongName%" GUID="304abc5e-8470-46cd-98e8-6ed501e1c753"/>
									</Setting>
								</Object>
								<Rule Name="fCommonDLsDetected" Query="count($fCommonDLError) &gt;0 or count($fCommonDLWarning) &gt;0" AlwaysEvaluate="True"/>
							</Object>
							<Object Type="Cache" Name="PFDNCache" Key1="Dump" Key2="PFDNList" Display="Hide">
								<Setting Key1="PFDNList" Substitution="PFSHORTNAME" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
									<Rule Name="szCommonPF" Query="$."/>
									<Rule Name="szCommonPFShortName" Query="'%PFSHORTNAME%'"/>
									<Rule Name="iPFAppears" Query="count($szRCPTPF[.='%PFSHORTNAME%'])"/>
									<Rule Name="fCommonPFError" Query="$iPFAppears &gt; ($iNumberofMessagesFound * 0.5)" Error="Error" Sev="3" ReportIssue="Issue" Title="La cartella pubblica '{1}' è stata identificata come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati alla cartella pubblica '{3}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonPFShortName" S2="%varExName%" P3="$." S4="%varProbLinkLongName%" S6="50" P8="$iNumberofMessagesFound" P9="$iPFAppears" GUID="f8f4af4f-608c-431c-aa04-2f508972c111"/>
									<Rule Name="fCommonPFWarning" Query="not ($fCommonPFError) and $iPFAppears &gt; ($iNumberofMessagesFound * 0.25)" Error="Warning" Sev="2" Title="La cartella pubblica '{1}' è stata identificata come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati alla cartella pubblica '{3}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonPFShortName" S2="%varExName%" P3="$." S4="%varProbLinkLongName%" S6="25" P8="$iNumberofMessagesFound" P9="$iPFAppears" GUID="f8f4af4f-608c-431c-aa04-2f508972c111"/>
								</Setting>
								<Rule Name="fCommonPFsDetected" Query="count($fCommonPFError) &gt;0 or count($fCommonPFWarning) &gt;0" AlwaysEvaluate="True"/>
							</Object>
							<Object Type="Cache" Name="PFStoreDNCache" Key1="Dump" Key2="PFStoreDNList" Display="Hide">
								<Setting Key1="PFStoreDNList" Substitution="PFSTORESHORTNAME" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1">
									<Rule Name="szCommonPFStore" Query="$."/>
									<Rule Name="szCommonPFStoreShortName" Query="'%PFSTORESHORTNAME%'"/>
									<Rule Name="iPFStoreAppears" Query="count($szRCPTPFStore[.='%PFSTORESHORTNAME%'])"/>
									<Rule Name="fCommonPFStoreError" Query="$iPFStoreAppears &gt; ($iNumberofMessagesFound * 0.5)" Error="Error" Sev="3" ReportIssue="Issue" Title="L'archivio delle cartelle pubbliche '{1}' è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati all'archivio delle cartelle pubbliche '{3}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonPFStoreShortName" S2="%varExName%" P3="$." S4="%varProbLinkLongName%" S6="50" P8="$iNumberofMessagesFound" P9="$iPFStoreAppears" GUID="ef5fd507-6800-4ecb-8ceb-ef3ce09ce25f"/>
									<Rule Name="fCommonPFStoreWarning" Query="not ($fCommonPFStoreError) and $iPFStoreAppears &gt; ($iNumberofMessagesFound * 0.25)" Error="Warning" Sev="2" Title="L'archivio delle cartelle pubbliche '{1}' è stato identificato come una destinazione comune" Text="Più del {6}% dei messaggi nella coda '{4}' sul server {2} sono indirizzati all'archivio delle cartelle pubbliche '{3}'. Il numero di tali messaggi è {9} tra i {8} esempi analizzati." P1="$szCommonPFStoreShortName" S2="%varExName%" P3="$." S4="%varProbLinkLongName%" S6="25" P8="$iNumberofMessagesFound" P9="$iPFStoreAppears" GUID="ef5fd507-6800-4ecb-8ceb-ef3ce09ce25f"/>
								</Setting>
								<Rule Name="fCommonPFStoresDetected" Query="count($fCommonPFStoreError) &gt;0 or count($fCommonPFStoreWarning) &gt;0" AlwaysEvaluate="True"/>
							</Object>
							<!-- Let's check if this topology is a multi-domain forest. -->
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Partitions,%varConfigDN%" Key3="systemFlags=3" Key4="OneLevel">
								<Setting Key1="nCName">
									<Rule Name="szDomainDN" Query="$."/>
								</Setting>
							</Object>
						</Object>
					</Object>

					<Rule Name="szRecipientCheck" Query="'RecipientCheck'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fRecipientPossibleIssueFound, string(@Title), $szExNoErrorStateText)" Title="Molti dei messaggi accodati condividono le stesse destinazioni, quindi lo strumento evidenzierà le destinazioni che ricorrono frequentemente nella coda." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Sono presenti molte destinazioni nei messaggi accodati. Lo strumento non evidenzierà alcuna destinazione particolare."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi destinatario">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="szAllCommonHomeServer" Query="join(';', $szCommonHomeServer)">
						<Variable Name="varAllCommonHomeServer" Scope="Global"/>
					</Rule>
					<Rule Name="szAllCommonHomeMDB" Query="join(';', $szCommonHomeMDB)">
						<Variable Name="varAllCommonHomeMDB" Scope="Global"/>
					</Rule>
					<Rule Name="szAllCommonDL" Query="join(',', $szCommonDL)">
						<Variable Name="varAllCommonDL" Scope="Global"/>
					</Rule>

					<Rule Name="fRecipientPossibleIssueFound" Query="$fCommonRecipientsDetected or $fCommonHomeServersDetected or $fCommonHomeMDBsDetected or $fCommonDLsDetected or $fCommonPFsDetected or $fCommonPFStoresDetected" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayRecipientAnalysisStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MADLHighCPUCheck" Title="Verifica l'utilizzo della CPU da parte di Exchange" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varRemoteDeliveryBackedUp%" Substitution="varRemoteDeliveryBackedUp" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dell'utilizzo della CPU in corso" Text="Attendere. Controllo dell'utilizzo intensivo della CPU sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<!-- Let's check if CPU usage spikes for Store or Inetinfo -->
				<Object Type="Group" Name="CPU Usage" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- First, need number of CPU -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_ComputerSystem" SecurityContext="EXLOGON">
							<Setting Key1="NumberOfProcessors">
								<Rule Name="iActualProcs" Query="$." Error="None" Title="Numero di processori" Text="Il server ha {9} processori installati." P9="$."/>
								<Rule Name="fActualProcsOver8" Query="$. &gt; 8" Error="Warning" Sev="3" Title="Configurazione processore" Text="Sono stati rilevati più di 8 processori per il server Exchange {2}. Se questo server dispone di oltre 8 processori fisici è necessario perfezionare ulteriormente la configurazione. Se viene utilizzata la tecnologia hyper-threading, non è necessario intervenire. Sono state rilevate {9} CPU." S2="%varExName%" P9="$." GUID="a59de247-8f05-419d-a4ea-fc4973788863"/>
							</Setting>
						</Object>

						<!-- Now take perfmon of CPU related counters -->
						<Object Type="Pdh" Name="StoreInetinfoCPUUsage" Key1="%varExName%" Key2="15" Key3="1" Level="1" SecurityContext="EXLOGON">
							<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total">
								<Rule Name="iProcessorProcessorTimeTotalMax" Query="round(10* list-max($.))div 10" Error="None" Title="Massimo '{0}'" Text="Massimo '{0}' = {9}." P0="localize-path('Processor(_Total)\% Processor Time')" P9="round(10* list-max($.)) div 10"/>
								<Rule Name="iProcessorPercentProcessorTimeTotalAvg" Query="round(100*list-average($.)) div 100" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9}." P0="localize-path('Processor(_Total)\% Processor Time')" P9="round(10*list-average($.)) div 10"/>
							</Setting>
							<Setting Key1="System" Key2="Processor Queue Length" Key3="">
								<Rule Name="iSystemProcessorQueueLength" Query="if(starts-with($.,',,'),0,round(10*list-average($.) div $iActualProcs) div 10)" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9}." P0="localize-path('System\Processor Queue Length')" P9="if(starts-with($.,',,'),0,round(10*list-average($.) div $iActualProcs) div 10)"/>
								<Rule Name="fQueueLength2" Query="$iSystemProcessorQueueLength &gt;2" Error="Warning" Sev="2" Title="Problema di prestazioni nella coda del processore" Text="'{0}' deve essere inferiore a {8}. Il valore misurato è {9}. Ciò indica la presenza di un collo di bottiglia del processore nel server." P0="localize-path('System\Processor Queue Length')" S8="2" P9="$iSystemProcessorQueueLength" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
							</Setting>
							<Setting Key1="Process" Key2="% Processor Time" Key3="store">
								<Rule Name="iProcessStoreProcessorTime" Query="if(starts-with($.,',,'),0,round(10*list-average($.) div $iActualProcs) div 10)" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9}." P0="localize-path('Process(store)\% Processor Time')" P9="if(starts-with($.,',,'),0,round(10*list-average($.) div $iActualProcs) div 10)"/>
								<Rule Name="fStoreHighCPU" Query="$iProcessStoreProcessorTime &gt;90" Error="Error" Sev="1" ReportIssue="Issue" Title="Problemi di prestazioni della CPU nel processo dell'archivio" Text="{0}' è superiore a {8}%. Ciò può causare ritardi nel recapito della posta. Utilizzo del processore misurato effettivo: {9}%." P0="localize-path('Process(store)\% Processor Time')" S8="90" P9="$iProcessStoreProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
							</Setting>
							<Setting Key1="Process" Key2="% Processor Time" Key3="inetinfo">
								<Rule Name="iProcessInetinfoProcessorTime" Query="if(starts-with($.,',,'),0,round(10*list-average($.) div $iActualProcs) div 10)" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9}." P0="localize-path('Process(inetinfo)\% Processor Time')" P9="if(starts-with($.,',,'),0,round(10*list-average($.) div $iActualProcs) div 10)"/>
								<Rule Name="fInetinfoHighCPU" Query="$iProcessInetinfoProcessorTime &gt;50" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore nel processo Inetinfo" Text="'{0}' è superiore a {8}%. Ciò può causare ritardi nel recapito della posta. Utilizzo del processore misurato effettivo: {9}%." P0="localize-path('Process(inetinfo)\% Processor Time')" S8="50" P9="$iProcessInetinfoProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
								<Rule Name="fStoreInetinfoHighCPU" Query="($iProcessStoreProcessorTime + $iProcessInetinfoProcessorTime) &gt;90" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni della CPU nei processi archivio e Inetinfo" Text="La percentuale del tempo processore combinato trascorso in store.exe e inetinfo.exe è superiore a {8}%. Ciò può causare ritardi nel recapito della posta. Utilizzo del processore combinato effettivo: {9}%." S8="90" P9="$iProcessStoreProcessorTime + $iProcessInetinfoProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
							</Setting>
						</Object>
					</Object>

					<Rule Name="szMADLHighCPUCheck" Query="'MADLHighCPUCheck'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fMADLCPUIssueFound, string(@Title), $szExNoErrorStateText)" Title="È stato rilevato un problema di prestazioni della CPU che potrebbe essere collegato al flusso di posta." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema critico della CPU trovato."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi utilizzo CPU">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="fMADLCPUIssueFound" Query="$fStoreHighCPU or $fInetinfoHighCPU or $fStoreInetinfoHighCPU" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckQueueStatusStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckCPUKnownIssue" Name="fGotoCheckCPUKnownIssue" Query="$fMADLCPUIssueFound" Priority="2" Text="- Verifica se problemi noti stanno causando un utilizzo elevato della CPU" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="MADLDLCheck" Name="fGotoMADLDLCheck" Query="true()" Priority="3" Text="- Verifica se le espansioni del gruppo di distribuzione sono collegate al problema di flusso di posta" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckRegtrace" Name="fGotoCheckRegtrace" Query="true()" Priority="4" Text="- Verifica che regtrace sia abilitato" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckAV" Name="fGotoCheckAV" Query="true()" Priority="5" Text="- Controlla le impostazioni antivirus che potrebbero avere un impatto negativo sul flusso di posta" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckLinkState" Name="fGotoCheckLinkState" Query="@S1!='1'" Priority="6" Text="- Controlla le informazioni sullo stato del collegamento per rilevare possibili problemi di routing" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckMetabase" Name="fGotoCheckMetabase" Query="@S1!='1'" Priority="6" Text="- Controlla le impostazioni del sink di evento SMTP nella metabase" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckSMTPDisk" Name="fGotoCheckSMTPDisk" Query="true()" Priority="7" Text="- Controlla le prestazioni dei dischi utilizzati per l'istanza SMTP" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckDCGCAvailability" Name="fGotoCheckDCGCAvailability" Query="true()" Priority="8" Text="- Verifica la disponibilità di Active Directory" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckDNSAvailability" Name="fGotoCheckDNSAvailability" Query="@S1!='1'" Priority="9" Text="- Verifica la disponibilità del DNS" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckDomainRouting" Name="fGotoCheckDomainRouting" Query="@S1!='1'" Priority="10" Text="- Verifica le informazioni di routing del dominio archiviate nei criteri destinatario, nei connettori e nella metabase" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckLinkStateChurn" Name="fGotoCheckLinkStateChurn" Query="@S1!='1'" Priority="11" Text="- Controllare le modifiche della versione dello stato del collegamento" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckCPUKnownIssue" Title="Verifica problemi noti CPU" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varConfigDN%" Substitution="varConfigDN" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica delle cause possibili di un elevato utilizzo della CPU in corso" Text="Attendere. Controllo delle possibili cause dell'utilizzo intensivo della CPU sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="CPU Usage" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" SecurityContext="EXLOGON">
						<!-- First, check KB899019 -->
						<Object Type="Registry" Key1="%varExNAME%" Key3="Software\Microsoft\Windows NT\CurrentVersion">
							<Setting Key1="SystemRoot" Substitution="WINSYSPATH" SubstitutionFormat="\\----\\"/>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%WINSYSPATH%\\system32\\wldap32.dll'">
								<Setting Key1="Version">
									<Rule Name="fWLDAP32Lower" Query="starts-with($.,'5.0.2195') and substring($., 10, 4) &lt; 7044" Error="Warning" Sev="2" Title="{5} più recente disponibile" Text="La versione di {5} installata nel server {2} potrebbe causare l'utilizzo da parte del processo Inetinfo del 100% della CPU quando le query ad Active Directory restituiscono grandi set di dati. Versione installata di {5}: {6}." S2="%varExName%" S5="WLDAP32.DLL" P6="$." GUID="cb0e6487-c4d4-480b-9589-1ecf20a390f8"/>
								</Setting>
							</Object>
						</Object>
						<!-- Second, check KB811409 -->
						<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\Exchange\Setup">
							<Setting Key1="Services" Substitution="EXCHBINPATHD" SubstitutionFormat="\\----\\"/>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\msgtrack.dll'">
								<Setting Key1="Version">
									<Rule Name="fMsgtrackLower" Query="substring($., 5, 4) &lt; 6373" Error="Warning" Sev="2" Title="{5} più recente disponibile" Text="La versione di {5} installata nel server {2} potrebbe causare un elevato utilizzo della CPU per il processo Inetinfo quando la verifica messaggi è abilitata. È altamente consigliato l'ultimo aggiornamento cumulativo. Versione installata di {5}: {6}" S2="%varExName%" S5="MSGTRACK.DLL" P6="$." GUID="acbdfd3a-8496-40e7-aac6-f815e42916e6"/>
								</Setting>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MADLDLCheck" Title="Verifica espansioni gruppo di distribuzione" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varConfigDN%" Substitution="varConfigDN" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varRootDomainDN%" Substitution="varRootDomainDN" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varIsExchange2003SP2%" Substitution="varIsExchange2003SP2" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica delle espansioni del gruppo di distribuzione in corso" Text="Attendere. È in corso la verifica di eventuali problemi di espansione del gruppo di distribuzione sul server {2}. Questa operazione potrebbe richiedere alcuni minuti a seconda delle dimensioni dei registri eventi." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Distribution Group Expansion" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="If" Name="%varExName%" Key1="true()" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Get the the datetime of exactly 24 hours ago in the yyyyMMddHHmmss.000000+000 format as this format is faster for a WMI query -->
						<Setting Key1="date-add('%varCurrentDateTime%', get-timespan(-(24 * 3600)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
						<!-- Let's look if the app event log contains any events 6004, 6006 or 6008 as they are the signs of distribution group expansion problems -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=6004 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt6004WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso del classificatore (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="6004" GUID="e58485d9-20d6-4798-8f53-ebc55fcfd474"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=6006 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt6006WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso del classificatore (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="6006" GUID="bcecd9f8-0146-417c-bc45-9b2323e02aa6"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=6008 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt6008WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso del classificatore (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="6008" GUID="9fc380f3-3361-4a9a-b45a-9d38ce229e66"/>
							</Setting>
						</Object>
						<!-- Check if there are mailboxes with delivery restrictions set -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Partitions,%varConfigDN%" Key3="systemFlags=3" Key4="OneLevel" Async="100" MaxTime="ALL,5">
							<Setting Key1="nCName" Substitution="DOMAINDN"/>
							<Setting Key1="dnsRoot">
								<Rule Name="szDomainFQDN" Query="$."/>
							</Setting>
							<Object Type="Directory" Key1="GC://%varDCName%" Key2="%DOMAINDN%" Key3="(&amp;(objectCategory=user)(|(dLMemDefault=*)(dLMemRejectPerms=*)(dLMemSubmitPerms=*)))" Key4="Subtree" Count="*">
								<Rule Name="iRestrictedMbx" Query="number(../Instance/Setting/Value)"/>
								<Rule Name="fRestrictedMbxFound" Query="$iRestrictedMbx &gt;0" Error="Warning" Sev="2" Title="Cassette postali con restrizioni di recapito ai gruppi di distribuzione impostate" Text="Il dominio di Active Directory {3} contiene {9} cassette postali con restrizioni di recapito basate sull'appartenenza al gruppo di distribuzione." P3="$szDomainFQDN" P9="$iRestrictedMbx" GUID="77eb0e46-3e36-4a3b-a707-69f55823a574"/>
							</Object>
							<Rule Name="fTotalRestrictedMbxOver500" Query="sum($iRestrictedMbx) &gt;500" Error="Error" Sev="2" ReportIssue="Issue" Title="Numero elevato di cassette postali con restrizioni di recapito ai gruppi di distribuzione impostate" Text="Più di 500 cassette postali nell'intera foresta hanno restrizioni di recapito impostate in cui almeno un gruppo di distribuzione viene utilizzato per consentire o non consentire i mittenti. Assicurarsi che non siano presenti gruppi di distribuzione nidificati che includono queste cassette postali. Numero delle cassette postali: {9}." P9="sum($iRestrictedMbx)" GUID="93e1d806-d034-49c6-b37f-808bde794122"/>
						</Object>
						<!-- Check if the CheckConnectorRestrictions reg key is set -->
						<Object Type="Registry" Key1="%varExName%" Key3="System\CurrentControlSet\Services\RESvc\Parameters">
							<Setting Key1="CheckConnectorRestrictions">
								<Rule Name="fCheckConnectorRestrictions" Query="$.=1"/>
							</Setting>
						</Object>
						<!-- Check if there are routing group connectors with delivery restrictions set -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectClass=msExchRoutingGroupConnector)(|(dLMemRejectPerms=*)(dLMemSubmitPerms=*)))">
							<Setting Key1="cn">
								<Rule Name="iRestrictedRGC" Query="count($.)"/>
								<Rule Name="szRGCName" Query="$."/>
								<Rule Name="fRestrictedRGCFound" Query="string-length($.) &gt;0 and not ($fRestrictedRGCOnEx)" Error="Warning" Sev="3" Title="Connettore del gruppo di routing con restrizioni di recapito ai gruppi di distribuzione impostate" Text="Il connettore {3} del gruppo di routing {1} ha restrizioni di recapito basate sull'appartenenza ai gruppi di distribuzione." P1="$szRoutingGroupName" P3="$szRGCName" GUID="ed96b53e-ee62-4261-8348-ed5ed379b37b"/>
								<Rule Name="fRestrictedRGCOnEx" Query="$fCheckConnectorRestrictions and ($fRGCBHIncluded or (count($szRGCBH) = 0 and $fRGIncluded))" Error="Warning" Sev="1" Title="Server testa di ponte per verificare le restrizioni di recapito ai gruppi di distribuzione" Text="Il connettore {3} del gruppo di routing {1} ha restrizioni di recapito basate sull'appartenenza ai gruppi di routing e il server {2} è un server testa di ponte con verifica restrizioni connettore abilitata. Ciò potrebbe causare l'accodamento dei messaggi se le restrizioni non sono correttamente configurate." P1="$szRoutingGroupName" S2="%varExName%" P3="$szRGCName" GUID="8a2a7ed1-a8b3-440a-901f-2480e17d2019" AlwaysEvaluate="True"/>
							</Setting>
							<Setting Key1="distinguishedName" Substitution="ROUTINGGROUP" SubstitutionFormat="^CN=.*?,CN=.*?,CN=(.*?[^\\]),.*$----$1">
								<Rule Name="szRoutingGroupName" Query="substring-before(substring-after(upper-case($.),'CN=CONNECTIONS,CN='),',')"/>
							</Setting>
							<Setting Key1="msExchSourceBridgeheadServersDN" Substitution="RGCBH" SubstitutionFormat="^CN=.*?,CN=.*?,CN=.*?,CN=(.*?[^\\]),.*$----$1;">
								<Rule Name="fRGCBHIncluded" Query="contains (upper-case('%RGCBH%'), upper-case(@S2))" S2="%varExName%"/>
								<Rule Name="szRGCBH" Query="upper-case('%RGCBH%')"/>
							</Setting>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectClass=msExchRoutingGroup)(cn=%ROUTINGGROUP%))">
								<Setting Key1="msExchRoutingGroupMembersBL" Substitution="RGMEMBER" SubstitutionFormat="^CN=(.*?[^\\]),.*$----$1;">
									<Rule Name="fRGIncluded" Query="contains (upper-case('%RGMEMBER%'), upper-case(@S2))" S2="%varExName%"/>
								</Setting>
							</Object>
						</Object>
						<!-- Check if there are SMTP connectors with delivery restrictions set -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectClass=msExchRoutingSMTPConnector)(|(dLMemRejectPerms=*)(dLMemSubmitPerms=*)))">
							<Setting Key1="cn">
								<Rule Name="iRestrictedSMTPConnector" Query="count($.)"/>
								<Rule Name="szSMTPConnectorName" Query="$."/>
								<Rule Name="fRestrictedSMTPConnectorFound" Query="string-length($.) &gt;0 and not ($fSMTPConnectorBHIncluded)" Error="Warning" Sev="3" Title="Connettore SMTP con restrizioni di recapito ai gruppi di distribuzione impostate" Text="Il connettore SMTP {3} ha restrizioni di recapito basate sull'appartenenza ai gruppi di routing." P3="$szSMTPConnectorName" GUID="46959b8e-5443-4588-9c7a-47b49eb85d72"/>
							</Setting>
							<Setting Key1="msExchSourceBridgeheadServersDN" Substitution="SMTPCONNECTORBH" SubstitutionFormat="^CN=.*?,CN=.*?,CN=.*?,CN=(.*?[^\\]),.*$----$1;">
								<Rule Name="fSMTPConnectorBHIncluded" Query="$fCheckConnectorRestrictions and contains (upper-case('%SMTPCONNECTORBH%'), upper-case(@S2))" Error="Warning" Sev="1" Title="Server testa di ponte per verificare le restrizioni di recapito ai gruppi di distribuzione" Text="Il connettore SMTP {3} ha restrizioni di recapito basate sull'appartenenza ai gruppi di distribuzione e il server {2} è un server testa di ponte con verifica restrizioni connettore abilitata. Ciò potrebbe causare l'accodamento dei messaggi se le restrizioni non sono correttamente configurate." S2="%varExName%" P3="$szSMTPConnectorName" GUID="8ec33d06-9ca5-46b3-b89f-d7b7869fccc3"/>
							</Setting>
						</Object>
						<!-- Check if there are nested distribution groups used for delivery restrictions -->
						<Object Type="Directory" Key1="GC://%varDCName%" Key2="%varRootDomainDN%" Key3="(&amp;(objectClass=group)(|(dLMemRejectPermsBL=*)(dLMemSubmitPermsBL=*)))" Key4="Subtree">
							<Setting Key1="cn">
								<Rule Name="szDLCN" Query="$."/>
							</Setting>
							<Setting Key1="distinguishedName" Substitution="RESTDLDN"/>
							<Object Type="Directory" Key1="GC://%varDCName%" Key2="%varRootDomainDN%" Key3="(&amp;(objectClass=group)(memberOf=%RESTDLDN%))" Key4="Subtree" Count="*">
								<Rule Name="iNestingDL" Query="number(../Instance/Setting/Value)"/>
								<Rule Name="fNestedDLWithoutFlatChecking" Query="not($fRestrictionMethodFlat) and $iNestingDL &gt;0" Error="Error" Sev="2" ReportIssue="Issue" Title="Gruppo di distribuzione nidificato trovato nelle restrizioni di recapito" Text="Sono presenti cassette postali o connettori con restrizioni di recapito impostate basate sull'appartenenza al gruppo di distribuzione '{3}' e contengono altri gruppi di distribuzione come membri. Questa configurazione potrebbe causare problemi di prestazioni durante l'espansione dell'appartenenza per la verifica delle restrizioni." P3="$szDLCN" GUID="ea55e130-f0ac-49f4-b50d-506292d43196" AlwaysEvaluate="True"/>
								<Rule Name="fNestedDLWithFlatChecking" Query="$fRestrictionMethodFlat and $iNestingDL &gt;0" Error="Warning" Sev="2" Title="Gruppo di distribuzione nidificato trovato ma verifica restrizioni lineare abilitata" Text="Sono presenti cassette postali o connettori con restrizioni di recapito impostate basate sull'appartenenza al gruppo di distribuzione '{3}' e contengono altri gruppi di distribuzione come membri. Tuttavia, il trasporto di Exchange sul server {2} non espanderà l'appartenenza ai gruppi di distribuzione durante la verifica delle restrizioni. La verifica delle restrizioni potrebbe non funzionare correttamente." S2="%varExName%" P3="$szDLCN" GUID="2cd87e46-4264-4778-b13b-7b449e8833e8" AlwaysEvaluate="True"/>
							</Object>
						</Object>
						<!-- Check if this is a TiSP2 server with RestrictionMethod set -->
						<Object Type="Registry" Key1="%varExName%" Key3="SYSTEM\CurrentControlSet\Services\MSExchangeTransport\Parameters">
							<Setting Key1="RestrictionMethod">
								<Rule Name="fRestrictionMethodFlat" Query="$.=2 and @S1='1'" Error="None" Title="Verifica restrizioni lineare" Text="Il trasporto di Exchange sul server {2} non espanderà l'appartenenza ai gruppi di distribuzione durante la verifica delle restrizioni. Questa configurazione fornisce le migliori prestazioni per la verifica delle restrizioni." S1="%varIsExchange2003SP2%" S2="%varExName%"/>
							</Setting>
						</Object>

						<Rule Name="szMADLDLCheck" Query="'MADLDLCheck'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fMADLDLIssueFound, string(@Title), $szExNoErrorStateText)" Title="Sono stati rilevati problemi di espansione del gruppo di distribuzione che potrebbero essere relativi al flusso di posta." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema critico del gruppo di distribuzione trovato."/>
						<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi espansione gruppi di distribuzione">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fMADLDLIssueFound" Query="not ($fRestrictionMethodFlat) and ($fEvt6004WithinLast24hours and $fEvt6006WithinLast24hours and $fEvt6008WithinLast24hours) and ($fTotalRestrictedMbxOver500 or $fRestrictedRGCOnEx or $fSMTPConnectorBHIncluded or $fNestedDLWithoutFlatChecking)" Error="Error" Sev="2" ReportIssue="RootCause" Title="Potenziali problemi nelle espansioni dei gruppi di distribuzione" Text="Lo strumento ha determinato che i problemi dell'espansione dei gruppi di distribuzione potrebbero causare problemi alla coda 'Messaggi in attesa dell'individuazione della directory' nel server {2}." S2="%varExName%" GUID="e874dfc7-93e7-4814-b7e4-b38e080283e1" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckQueueStatusStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckRegtrace" Title="Verifica Regtrace" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica di Regtrace in corso" Text="Attendere. Controllo dell'esecuzione di Regtrace su {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Regtrace" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\MosTrace\CurrentVersion\DebugAsyncTrace" SecurityContext="EXLOGON">
							<Setting Key1="EnabledTraces">
								<Rule Name="fRegtraceLeftEnabled" Query="$.!=0" Error="Error" Sev="2" ReportIssue="Issue" Title="Regtrace abilitato" Text="Regtrace è attualmente abilitato sul server {2}. È necessario abilitarlo solo per la risoluzione dei problemi. Se l'analisi viene lasciata abilitata, si potrebbero verificare problemi di prestazioni." S2="%varExName%" GUID="90b3eb47-ad77-4ae4-87b0-8d8ac5b575fb"/>
							</Setting>
						</Object>

						<Rule Name="szCheckRegtrace" Query="'CheckRegtrace'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fRegtraceLeftEnabled, string(@Title), $szExNoErrorStateText)" Title="È stato identificato un potenziale problema con Regtrace." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema con Regtrace identificato."/>
						<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati verifica Regtrace">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckQueueStatusStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckAV" Title="Verifica versioni antivirus" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica delle versioni dei programmi antivirus in corso" Text="Attendere. È in corso il controllo della versione dei programmi antivirus in esecuzione sul server {2} per rilevare eventuali problemi noti." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Third Party Software" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- First let's check if Trend ScanMail 6.2 is running and it needs update -->
						<Object Type="Registry" Key1="%varExName%" Key3="System\CurrentControlSet\Services\MSExchangeIS\VirusScan" SecurityContext="EXLOGON">
							<Setting Key1="Library" Substitution="VSAPIDLL" SubstitutionFormat="\\----\\">
								<Rule Name="szVSAPILibrary" Query="upper-case($.)"/>
							</Setting>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%VSAPIDLL%'">
								<Setting Key1="Version">
									<Rule Name="fTrendScanMail62NeedsUpdate" Query="contains($szVSAPILibrary, 'SMXS3DLL.DLL') and substring($.,7,4) &lt;1174" Error="Warning" Sev="1" Title="Aggiornamento di Trend Micro ScanMail disponibile" Text="Trend Micro ScanMail è installato nel server {2} ed è disponibile un aggiornamento del software. Si consiglia di installare questo aggiornamento poiché può aumentare le prestazioni generali e l'affidabilità del server. Versione di {5} corrente: {6}." S2="%varExName%" S5="SMXS3DLL.DLL" P6="$." GUID="dbf6950a-896b-4a92-a2be-815994af04a1"/>
								</Setting>
							</Object>
						</Object>

						<Rule Name="szCheckAV" Query="'CheckAV'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fAVIssueFound, string(@Title), $szExNoErrorStateText)" Title="È stata rilevata una versione precedente del software antivirus." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stata rilevata alcuna versione precedente del software antivirus."/>
						<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati verifica versione programma antivirus">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fAVIssueFound" Query="$fTrendScanMail62NeedsUpdate" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayAVCheckStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckMetabase" Title="Verifica metabase" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstance%" Substitution="varAllSMTPInstance" Display="Hide"/>
			<Setting Key1="%varIsExchange2000or2003%" Substitution="varIsExchange2000or2003" Display="Hide"/>
			<Setting Key1="%varIsExchange2000%" Substitution="varIsExchange2000" Display="Hide"/>
			<Setting Key1="%varIsExchange2003%" Substitution="varIsExchange2003" Display="Hide"/>
			<Setting Key1="%varIsExchange2003SP2%" Substitution="varIsExchange2003SP2" Display="Hide"/>
			<Setting Key1="%varClusterServiceRunning%" Substitution="varClusterServiceRunning" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica delle impostazioni della metabase in corso" Text="Attendere. Controllo delle impostazioni della metabase relative a SMTP del server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Metabase" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="If" Name="Metabase Check" Key1="true()">
							<!-- Prepare substitutions and rules for ExBPA.Transport.xml -->
							<Setting Key1="'%varExName%'" Substitution="SRVNAME">
								<Rule Name="fExchange200x" Query="'%varIsExchange2000or2003%'='1'"/>
								<Rule Name="fExchange2000" Query="'%varIsExchange2000%'='1'"/>
								<Rule Name="fExchange2003" Query="'%varIsExchange2003%'='1'"/>
								<Rule Name="fExchange2003SP2" Query="'%varIsExchange2003SP2%'='1'"/>
								<Rule Name="fClusterServiceRunning" Query="'%varClusterServiceRunning%'='1'"/>
								<Rule Name="szExchangeServerName" Query="'%varExName%'"/>
							</Setting>
							<Object Type="Variable" Name="SMTP Instances" Key1="Unpack" Key2="%varAllSMTPInstance%">
								<Setting Key1="__VALUE" Substitution="SMTPINSTANCE"/>

								<!-- // Call Metabase-Domain type to enumerate SMTP domain information -->
								<Reference Type="Metabase-Domain" Name="MetabaseDomain" File="ExBPA.Transport.xml"/>
								<!-- // Call Metabase-Sinks type to perform transport event sink checks -->
								<Reference Type="Metabase-Sinks" Name="MetabaseSinks" File="ExBPA.Transport.xml"/>
								<!-- // Call Metabase-RoutingSources type to perform categegorize checks -->
								<Reference Type="Metabase-RoutingSources" Name="MetabaseRoutingSources" File="ExBPA.Transport.xml"/>

							</Object>

							<Rule Name="szCheckMetabase" Query="'CheckMetabase'">
								<Variable Name="varPreviousName" Scope="Children"/>
							</Rule>
							<Rule Name="szExErrorStateText" Query="if($fMetabaseIssueFound, string(@Title), $szExNoErrorStateText)" Title="È stato identificato un potenziale problema con la metabase." AlwaysEvaluate="True">
								<Variable Name="varErrorStateText" Scope="Global"/>
							</Rule>
							<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema con la metabase identificato."/>
							<Rule Name="szCheckMetabaseResult" Query="string(@Title)" Title="Risultati verifica metabase">
								<Variable Name="varDisplayTitle" Scope="Global"/>
							</Rule>
							<Rule Name="fExchangeSinkFound1" Query="not($MetabaseSinks_fSinkMissingCustomExchangeDSNSink or $MetabaseSinks_fSinkMissingEHLOinboundcommandhandlersinkforXLSA or $MetabaseSinks_fSinkMissingEHLOresponsehandlersinkforXLSA or $MetabaseSinks_fSinkMissingEODinboundcommandhandlersink or $MetabaseSinks_fSinkMissingExchangeCategorizer or $MetabaseSinks_fSinkMissingExchangeLoadBalancer or $MetabaseSinks_fSinkMissingExchangeNtfsStoreDriver or $MetabaseSinks_fSinkMissingExchangeRouter or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolLoggingSink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolSecurityEhloSink)" AlwaysEvaluate="True"/>
							<Rule Name="fExchangeSinkFound2" Query="not($MetabaseSinks_fSinkMissingExchangeSMTPProtocolSecurityEXPSSink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolSecurityEXPSAuxSink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolSecurityEXPSEODSink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolSecurityMailSink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50BeforeDataSink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50EhloResponseSink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50EODSink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50InboundEhloSink)" AlwaysEvaluate="True"/>
							<Rule Name="fExchangeSinkFound3" Query="not($MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50InboundMAILsink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50InboundRCPTsink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50InboundXEXCH50Sink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50perrecipienteventsink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50RCPTResponsesink or $MetabaseSinks_fSinkMissingExchangeSMTPProtocolXEXCH50ResponseSink or $MetabaseSinks_fSinkMissingExchangeStoreDriver or $MetabaseSinks_fSinkMissingExchangeTransportAntiVirusAPI)" AlwaysEvaluate="True"/>
							<Rule Name="fExchangeSinkFound4" Query="not($MetabaseSinks_fSinkMissingExchangeTransportXEXCH50Submissionsink or $MetabaseSinks_fSinkMissingMAILinboundcommandhandlersinkforTURF or $MetabaseSinks_fSinkMissingMobileCategorizer or $MetabaseSinks_fSinkMissingMsgTrackLogSink or $MetabaseSinks_fSinkMissingRCPTinboundcommandhandlersink or $MetabaseSinks_fSinkMissingSMTPEventlogSink or $MetabaseSinks_fSinkMissingUmConvSink or $MetabaseSinks_fSinkMissingXLSAinboundcommandhandlersink or $MetabaseSinks_fSinkMissingXLSAresponsehandlersink or $MetabaseSinks_fSinkMissingXLSASink or $MetabaseSinks_fCatDbgSinkInstalled)" AlwaysEvaluate="True"/>

							<Rule Name="fAllExchangeSinkFound" Query="count($MetabaseSinks_szSinkPath)&gt;0 and $fExchangeSinkFound1 and $fExchangeSinkFound2 and $fExchangeSinkFound3 and $fExchangeSinkFound4" Error="None" Title="Trovata configurazione predefinita sink di evento di trasporto" Text="Tutti i sink di evento di trasporto predefiniti di Exchange sono stati trovati nella metabase del server {2}." S2="%varExName%"/>
							<Rule Name="fAllSinkRegistered" Query="count($MetabaseSinks_szSinkPath)&gt;0 and count($MetabaseSinks_fSinkRegMissing)=0 and count($MetabaseSinks_fSinkRegInvalid)=0" Error="None" Title="Trovate registrazioni del sink di evento di trasporto" Text="Tutti i sink di evento di trasporto trovati nella metabase del server {2} sono registrati correttamente nell'hive HKEY_CLASSES_ROOT." S2="%varExName%" AlwaysEvaluate="True"/>
							<Rule Name="fAllSinkFileFound" Query="count($MetabaseSinks_szSinkPath)&gt;0 and count($MetabaseSinks_fSinkFileMissing)=0" Error="None" Title="Trovati eseguibili del sink di evento di trasporto" Text="I file eseguibili per tutti i sink di evento di trasporto trovati nella metabase del server {2} vengono identificati e trovati nel disco." S2="%varExName%" AlwaysEvaluate="True"/>
							<Rule Name="fSinkNonExchange" Query="count($MetabaseSinks_szSinkPath)&gt;0 and count($MetabaseSinks_fSinkNotRecognized) &gt;0" Error="Warning" Title="Trovati sink di evento di trasporto non predefiniti" Text="È stato trovato almeno un sink di evento di trasporto non predefinito nella metabase del server {2}. Verificare che il sink non abbia un impatto negativo sul flusso di posta." S2="%varExName%" AlwaysEvaluate="True"/>
							<Rule Name="fMetabaseIssueFound" Query="not($fAllExchangeSinkFound and $fAllSinkRegistered and $fAllSinkFileFound) or $fSinkNonExchange"/>
							<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckMetabaseStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckSMTPDisk" Title="Prestazioni disco" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstanceName%" Substitution="varAllSMTPInstanceName" Display="Hide"/>
			<Setting Key1="%varNonEnglishOS%" Substitution="varNonEnglishOS" Display="Hide"/>
			<Setting Key1="%varAllSMTPLogicalDisks%" Substitution="varAllSMTPLogicalDisks" Display="Hide"/>
			<Setting Key1="%varAllSMTPQueueDirectory%" Substitution="varAllSMTPQueueDirectory" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica prestazioni disco in corso" Text="Attendere. Controllo delle prestazioni del disco utilizzato dal servizio SMTP sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Disk Performance" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
						<Object Type="Variable" Name="SMTP Logical Disks" Key1="Unpack" Key2="%varAllSMTPLogicalDisks%">
							<Setting Key1="__KEY" Substitution="SORTKEY"/>
							<Setting Key1="__VALUE" Substitution="SMTPLOGICALDISKS"/>
							<Object Type="Cache" Name="SMTPDriveList" Key1="Add" Key2="SMTPDrive" Key3="%SMTPLOGICALDISKS%" Key4="," Display="Hide">
								<Setting Key1="SMTPDrive" Substitution="SMTPDRIVE"/>
								<!-- Let's check performance counters -->
								<Object Type="Pdh" Name="SMTPDrivePerfCheck" Key1="%varExName%" Key2="15" Key3="1" Level="1">
									<Rule Name="fGeneralErrorAccessPerf" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Messaggio di errore: {1}." S0="LogicalDisk" P1="../Exception/@Message" S2="%varExName%"/>
									<Rule Name="fBDBErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Ciò potrebbe essere causato da autorizzazioni insufficienti. Messaggio di errore: {1}." S0="LogicalDisk" P1="../Exception/@Message" S2="%varExName%"/>
									<Rule Name="fContactErrorAccessPerf" Query="contains(../Exception/@Message, '0x800007d0')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Il server potrebbe non essere disponibile oppure il servizio Registro di sistema remoto potrebbe non essere in esecuzione sul server. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
									<Rule Name="fNonEngErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bb8') and @S1='1'" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Impossibile accedere ai contatori di Performance Monitor. Questo strumento deve essere eseguito su un sistema operativo in lingua Inglese (U.S.A.)." S1="%varNonEnglishOS%"/>

									<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%SMTPDRIVE%">
										<Rule Name="iSMTPLogicalDiskAverageDiskQueueLength" Query="round(list-average($.)*10) div 10" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9}." P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Average Disk Queue Length')" P9="round(list-average($.)*10) div 10"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SMTPDRIVE%">
										<Rule Name="iSMTPLogicalDiskAverageDiskMsecRead" Query="round(list-average($.)*10000) div 10000" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9} ms." P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Avg. Disk sec/Read')" P9="round(list-average($.)*1000)"/>
										<Rule Name="iSMTPLogicalDiskAverageDiskMsecReadSpikes" Query="round(list-max($.)*1000)" Error="None" Title="Massimo '{0}'" Text="Massimo '{0}' = {9} ms." P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Avg. Disk sec/Read')" P9="round(list-max($.)*1000)"/>
										<Rule Name="fSMTPLogicalDiskAverageDiskMsecRead10" Query="not($iSMTPLogicalDiskAverageDiskMsecRead &lt; 10)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che ospita il server virtuale SMTP" Text="Il disco {3} è utilizzato dall'istanza SMTP '{1}' ma il relativo '{0}' è superiore a {8} ms. in media. Il valore misurato è {9} ms." P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Average Disk Seconds per Read')" P1="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" S3="%SMTPDRIVE%" S8="10" P9="$iSMTPLogicalDiskAverageDiskMsecRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="fSMTPLogicalDiskAverageDiskMsecReadSpikes50" Query="not($iSMTPLogicalDiskAverageDiskMsecReadSpikes &lt; 50)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che ospita il server virtuale SMTP" Text="Il disco {3} è utilizzato dall'istanza SMTP '{1}' ma il relativo {0} supera {8} ms. almeno una volta. Il valore massimo misurato è {9} ms." P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Average Disk Seconds per Read')" P1="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" S3="%SMTPDRIVE%" S8="50" P9="$iSMTPLogicalDiskAverageDiskMsecReadSpikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SMTPDRIVE%">
										<Rule Name="iSMTPLogicalDiskAverageDiskMsecWrite" Query="round(list-average($.)*10000) div 10000" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9} ms." P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Avg. Disk sec/Write')" P9="round(list-average($.)*1000)"/>
										<Rule Name="iSMTPLogicalDiskAverageDiskMsecWriteSpikes" Query="round(list-max($.)*1000)" Error="None" Title="Massimo '{0}'" Text="Massimo {0} = {9} ms." P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Avg. Disk sec/Write')" P9="round(list-max($.)*1000)"/>
										<Rule Name="fSMTPLogicalDiskAverageDiskMsecWrite10" Query="not($iSMTPLogicalDiskAverageDiskMsecWrite &lt; 10)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che ospita il server virtuale SMTP" Text="Il disco {3} è utilizzato dall'istanza SMTP '{1}' ma '{0}' è superiore a {8} ms. in media. Il valore misurato è {9} ms." P1="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Avg. Disk sec/Write')" S3="%SMTPDRIVE%" S8="10" P9="$iSMTPLogicalDiskAverageDiskMsecWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="fSMTPLogicalDiskAverageDiskMsecWriteSpikes50" Query="not($iSMTPLogicalDiskAverageDiskMsecWriteSpikes &lt; 50)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che ospita il server virtuale SMTP" Text="Il disco {3} è utilizzato dall'istanza SMTP '{1}' ma '{0}' supera {8} ms. almeno una volta. Il valore massimo misurato è {9} ms." P0="localize-path('LogicalDisk(%SMTPDRIVE%)\Avg. Disk sec/Write')" P1="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" S3="%SMTPDRIVE%" S8="50" P9="$iSMTPLogicalDiskAverageDiskMsecWriteSpikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
									</Setting>
								</Object>
							</Object>
						</Object>
						<!-- Let's check whether the queue folder contains too many messages -->
						<Object Type="Variable" Name="SMTP Queue Drives" Key1="Unpack" Key2="%varAllSMTPQueueDirectory%">
							<Setting Key1="__KEY" Substitution="SORTKEY"/>
							<Setting Key1="__VALUE" Substitution="SMTPQUEUEDIR"/>
							<Object Type="File" Key1="%varExName%" Key2="%SMTPQUEUEDIR%">
								<Setting Key1="Files" Key2="*.*" Retrieve="CountOnly">
									<Rule Name="fSMTPQueueDirExceeds90000" Query="$. &gt; 90000" Error="Error" Sev="1" Title="La cartella coda SMTP contiene più di {9} file" Text="La cartella coda dell'istanza SMTP '{1}' sul server {2} contiene più di {9} file. Potrebbe verificarsi un grave calo delle prestazioni di Exchange. Numero di file rilevati: {8}." P1="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" S2="%varExName%" P8="$." S9="90000" GUID="1ac31051-7ad6-4f66-8ea0-6ff29c8053ee"/>
									<Rule Name="fSMTPQueueDirExceeds50000" Query="not ($fSMTPQueueDirExceeds90000) and $. &gt; 50000" Error="Warning" Sev="1" Title="La cartella coda SMTP contiene più di {9} file" Text="La cartella coda dell'istanza SMTP '{1}' sul server {2} contiene più di {9} file. Potrebbe verificarsi una grave riduzione delle prestazioni di Exchange. Numero di file rilevati: {8}." P1="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" S2="%varExName%" P8="$." S9="50000" GUID="1ac31051-7ad6-4f66-8ea0-6ff29c8053ee"/>
								</Setting>
							</Object>
						</Object>

						<Rule Name="szCheckSMTPDisk" Query="'CheckSMTPDisk'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fSMTPDiskIssueFound,string(@Title),$szExNoErrorStateText)" Title="È stato identificato un potenziale problema di prestazioni del disco." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema con le prestazioni del disco identificato."/>
						<Rule Name="szCheckSMTPDiskResult" Query="string(@Title)" Title="Risultati verifica prestazioni disco">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fSMTPDiskIssueFound" Query="$fSMTPLogicalDiskAverageDiskMsecRead10 or $fSMTPLogicalDiskAverageDiskMsecReadSpikes50 or $fSMTPLogicalDiskAverageDiskMsecWrite10 or $fSMTPLogicalDiskAverageDiskMsecWriteSpikes50 or $fSMTPQueueDirExceeds50000 or $fSMTPQueueDirExceeds90000" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckSMTPDiskStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckDCGCAvailability" Title="Verifica disponibilità Active Directory" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica della disponibilità di Active Directory in corso" Text="Attendere. È in corso l'accesso ai contatori di prestazioni di DSAccess (Directory Service Access) sul server {2} per verificare la disponibilità di Active Directory." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Active Directory Availability" Class="Area" GroupingClass="True" Display="Hide">
					<!-- Take the DSACCESS perf counters to see if it takes too much time to get info from Active Directory -->
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="Pdh" Name="DSAccessLDAPTimeCheck" Key1="%varExName%" Key2="15" Key3="1" Level="1" SecurityContext="EXLOGON">
							<Rule Name="fGeneralErrorAccessPerf" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Messaggio di errore: {1}." S0="MSExchangeDSAccess Processes" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fBDBErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Ciò potrebbe essere causato da autorizzazioni insufficienti. Messaggio di errore: {1}." S0="MSExchangeDSAccess Processes" P1="../Exception/@Message" S2="%varExName%"/>
							<Setting Key1="MSExchangeDSAccess Processes" Key2="LDAP Read Time" Key3="*">
								<Rule Name="iDSAccessLDAPReadTimeMsec" Query="round(list-average($.)*10000) div 10000" Error="None" Title="{4}" Text="'{4}' del processo {3} sul server {2} ha una media di {9} ms." S2="%varExName%" P3="substring-after(../../@Name,'Processes')" P4="../@Key2" P9="round(list-average($.)*10000) div 10000"/>
								<Rule Name="fDSAccessLDAPReadTimeMsec100" Query="list-max($.) &gt;100" Error="Error" Sev="2" ReportIssue="Issue" Title="Problema di disponibilità di Active Directory" Text="'{4}' supera i 100 ms per il processo {3} del server {2}. Ciò indica un possibile problema di disponibilità di Active Directory. Valore massimo: {9} ms." S2="%varExName%" P3="substring-after(../../@Name,'Processes')" P4="../@Key2" P9="list-max($.)" GUID="ecdef5be-83b7-49ba-a48b-618708f4d1c0"/>
							</Setting>
							<Setting Key1="MSExchangeDSAccess Processes" Key2="LDAP Search Time" Key3="*">
								<Rule Name="iDSAccessLDAPSearchTimeMsec" Query="round(list-average($.)*10000) div 10000" Error="None" Title="{4}" Text="'{4}' del processo {3} sul server {2} ha una media di {9} ms." S2="%varExName%" P3="substring-after(../../@Name,'Processes')" P4="../@Key2" P9="round(list-average($.)*10000) div 10000"/>
								<Rule Name="fDSAccessLDAPSearchTimeMsec100" Query="list-max($.) &gt;100" Error="Error" Sev="2" ReportIssue="Issue" Title="Problema di disponibilità di Active Directory" Text="'{4}' supera i 100 ms per il processo {3} del server {2}. Ciò indica un possibile problema di disponibilità di Active Directory. Valore massimo: {9} ms." S2="%varExName%" P3="substring-after(../../@Name,'Processes')" P4="../@Key2" P9="list-max($.)" GUID="8d27bbc3-dd41-4463-b4a0-37cbe605ac25"/>
							</Setting>
						</Object>

						<Rule Name="szCheckDCGCAvailability" Query="'CheckDCGCAvailability'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fDSAcccessIssueFound, string(@Title), $szExNoErrorStateText)" Title="È stato identificato un potenziale problema di disponibilità di Active Directory." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema di disponibilità di Active Directory."/>
						<Rule Name="szCheckDCGCAvailabilityResult" Query="string(@Title)" Title="Risultati verifica disponibilità Active Directory">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fDSAcccessIssueFound" Query="$fDSAccessLDAPReadTimeMsec100 or $fDSAccessLDAPSearchTimeMsec100" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckDCGCStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckDNSAvailability" Title="Verifica disponibilità DNS" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExFQDN%" Substitution="varExFQDN" Display="Hide"/>
			<Setting Key1="%varExDN%" Substitution="varExDN" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstance%" Substitution="varAllSMTPInstance" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstanceName%" Substitution="varAllSMTPInstanceName" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica della disponibilità del DNS in corso" Text="Attendere. Controllo della disponibilità del Domain Name System in corso..." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="DNS Availability" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="If" Name="%varExName%" Key1="true()" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Get the the datetime of exactly 24 hours ago in the yyyyMMddHHmmss.000000+000 format as this format is faster for a WMI query -->
						<Setting Key1="date-add('%varCurrentDateTime%', get-timespan(-(24 * 3600)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
						<!-- Let's get first the address of primary DNS for each NIC -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NetworkAdapter" Key4="MacAddress!=null and ServiceName!='RasPppoe' and ServiceName!='NIC1394' and ServiceName!='PptpMiniport'" Key5="*">
							<Rule Name="fNoNetWorkAdapterFound" Query="count(../Instance)=0"/>
							<Setting Key1="Caption" Substitution="NICCAPTION"/>
							<Object Type="WMI" Key1="%varExName%" Key3="Win32_NetworkAdapterConfiguration" Key4="Caption='%NICCAPTION%'">
								<Rule Name="fNoNetworkAdapterConfigurationFound" Query="count(../Instance)=0"/>
								<Setting Key1="DNSServerSearchOrder" Substitution="DNSADDRESS" SubstitutionFormat="^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).*$----$1;">
									<Rule Name="szPrimaryDNSAddress" Query="$.[1]"/>
									<Rule Name="szDNSAddress" Query="$."/>
								</Setting>
								<Setting Key1="IPAddress">
									<Rule Name="szExIPAddress" Query="$."/>
								</Setting>
								<Object Type="Cache" Name="DNSOrder" Key1="Add" Key2="DNSAddress" Key3="%DNSADDRESS%" Display="Hide">
									<Setting Key1="DNSAddr" Substitution="PRIMARYDNS" SubstitutionFormat="^(.*?);.*----$1">
										<Rule Name="fPrimaryDNSNotAliveUDP" Query="not($fPrimaryDNSAliveUDP) and $fPrimaryDNSTCPReturned and (not('%varIsExchange12%'='1') or ('%varIsExchange12%'='1' and not($fExternalDNSUseTCPOnly and $fInternalDNSUseTCPOnly)))" Error="Warning" Sev="1" Title="Il DNS primario non ha risposto a una connessione UDP" Text="Impossibile contattare il server DNS primario ({1}) per il server Exchange {2} mediante UDP. Il server DNS ({1}) potrebbe essere configurato per accettare solo le query TCP. Se i servizi SMTP sono configurati per inviare solo query UDP, è possibile che si verifichino ritardi nella distribuzione della posta." P1="$szPrimaryDNSAddress" S2="%varExName%" AlwaysEvaluate="True"/>
										<Rule Name="fPrimaryDNSResponseDifferent" Query="$fPrimaryDNSAliveUDP and $fPrimaryDNSTCPReturned and $szPrimaryDNSUDPResponse != $szPrimaryDNSTCPResponse" Error="Warning" Sev="3" Title="Le risposte DNS sono diverse tra UDP e TCP" Text="Il DNS primario DNS ({1}) per il server {2} ha risposto alle connessioni UDP e TCP, ma le risposte restituite sono diverse. È possibile che ciò sia dovuto a risposte UDP troncate o ad altri problemi di configurazione." P1="$szPrimaryDNSAddress" S2="%varExName%"/>
									</Setting>
									<!-- Now Check DNS -->
									<Object Type="Port" Name="IsDNSAlive" Key1="%PRIMARYDNS%">
										<Setting Key1="53">
											<Rule Name="fPrimaryDNSAliveTCP" Query="$.[2]='53 Available'" Error="None" Title="Il DNS primario ha risposto a una connessione TCP" Text="Il DNS primario ({1}) del server {2} ha risposto correttamente a una connessione TCP." P1="$szPrimaryDNSAddress" S2="%varExName%"/>
											<Rule Name="fPrimaryDNSNotAliveTCP" Query="not ($fPrimaryDNSAliveTCP) and (not('%varIsExchange12%'='1') or ('%varIsExchange12%'='1' and not($fExternalDNSUseUDPOnly and $fInternalDNSUseUDPOnly)))" Error="Warning" Sev="1" Title="Il DNS primario non ha risposto a una connessione TCP" Text="Impossibile contattare il server DNS primario ({1}) per il server Exchange {2} mediante TCP. Il server DNS ({1}) potrebbe essere inattivo o configurato per accettare solo query UDP. Se il server DNS primario non è disponibile, è possibile che si verifichino ritardi nella distribuzione della posta e problemi di prestazioni." P1="$szPrimaryDNSAddress" S2="%varExName%" GUID="b927d1e3-c764-4aba-9b91-7c936d07e034" AlwaysEvaluate="True"/>
										</Setting>
									</Object>
									<!-- Check to see if the DNS response changes between UDP and TCP -->
									<Object Type="DNS" Key1="%PRIMARYDNS%" Key2="%varExFQDN%" Key3="AcceptTruncatedResponse">
										<Setting Key1="A">
											<Rule Name="fPrimaryDNSAliveUDP" Query="$.[4] != 'DNS Query Result = '" Error="None" Title="Il DNS primario ha risposto a una connessione UDP" Text="Il DNS primario ({1}) per il server {2} ha risposto a una connessione UDP." P1="$szPrimaryDNSAddress" S2="%varExName%"/>
											<Rule Name="szPrimaryDNSUDPResponse" Query="if ($fPrimaryDNSAliveUDP, substring-after($.[4],'DNS Query Result = '))"/>
										</Setting>
									</Object>
									<Object Type="DNS" Key1="%PRIMARYDNS%" Key2="%varExFQDN%" Key3="UseTcpOnly">
										<Setting Key1="A">
											<Rule Name="fPrimaryDNSTCPReturned" Query="$.[4] != 'DNS Query Result = '"/>
											<Rule Name="szPrimaryDNSTCPResponse" Query="if ($fPrimaryDNSTCPReturned, substring-after($.[4],'DNS Query Result = '))"/>
										</Setting>
									</Object>
								</Object>
								<Object Type="Cache" Name="DNSOrder" Key1="Delete" Key2="DNSAddress" Display="Hide"/>
							</Object>
						</Object>

						<Object Type="If" Name="Exchange 2000/2003 DNS Settings" Key1="not('%varIsExchange12%'='1')">
							<!-- Check for external DNS servers -->
							<Object Type="Variable" Name="SMTP Instance List" Key1="Unpack" Key2="%varAllSMTPInstance%">
								<Setting Key1="__KEY" Substitution="SORTKEY"/>
								<Setting Key1="__VALUE" Substitution="SMTPINSTANCE"/>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%">
									<Setting Key1="msExchSmtpExternalDNSServers" Substitution="PRIMARYEXTDNS" SubstitutionFormat="(^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).*$----$1">
										<Rule Name="szExternalDNS" Query="$."/>
										<Rule Name="fPrimaryExtDNSNotAliveUDP" Query="not($fPrimaryExtDNSAliveUDP) and $fPrimaryExtDNSTCPReturned" Error="Warning" Sev="1" Title="Il DNS esterno primario non ha risposto a una connessione UDP" Text="Impossibile contattare il server DNS esterno primario ({1}) per l'istanza SMTP &quot;{3}&quot; sul server Exchange {2} mediante UDP. Il server DNS esterno ({1}) potrebbe essere configurato per accettare solo query TCP. Se i servizi SMTP sono configurati per inviare solo query UDP, è possibile che si verifichino ritardi nella distribuzione della posta e problemi di prestazioni." S1="%PRIMARYEXTDNS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')"/>
										<Rule Name="fPrimaryExtDNSResponseDifferent" Query="$fPrimaryExtDNSAliveUDP and $fPrimaryExtDNSTCPReturned and $szPrimaryExtDNSUDPResponse != $szPrimaryExtDNSTCPResponse" Error="Warning" Sev="3" Title="Le risposte DNS sono diverse tra UDP e TCP" Text="Il DNS esterno primario ({1}) per l'istanza SMTP &quot;{3}&quot; sul server {2} ha risposto alle connessioni UDP e TCP, ma le risposte restituite sono diverse. È possibile che ciò sia dovuto a risposte UDP troncate o ad altri problemi di configurazione." S1="%PRIMARYEXTDNS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')"/>
									</Setting>
									<Object Type="Port" Name="IsExtDNSAlive" Key1="%PRIMARYEXTDNS%">
										<Setting Key1="53">
											<Rule Name="fPrimaryExtDNSAliveTCP" Query="$.[2]='53 Available'" Error="None" Title="Il DNS esterno primario ha risposto a una connessione TCP" Text="Il DNS primario esterno ({1}) dell'istanza SMTP '{3}' sul server {2} ha risposto correttamente a una connessione TCP." S1="%PRIMARYEXTDNS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')"/>
											<Rule Name="fPrimaryExtDNSNotAliveTCP" Query="not ($fPrimaryExtDNSAliveTCP)" Error="Warning" Sev="1" Title="Il DNS esterno primario non ha risposto a una connessione TCP" Text="Impossibile contattare il server DNS esterno primario ({1}) per l'istanza SMTP &quot;{3}&quot; sul server {2} mediante TCP. Il server DNS ({1}) potrebbe essere inattivo o configurato per accettare solo query UDP. Se il server DNS esterno primario non è disponibile, è possibile che si verifichino ritardi nella distribuzione della posta e problemi di prestazioni." S1="%PRIMARYEXTDNS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')"/>
										</Setting>
									</Object>
									<!-- Check to see if the DNS response changes between UDP and TCP -->
									<Object Type="DNS" Key1="%PRIMARYEXTDNS%" Key2="%varExFQDN%" Key3="AcceptTruncatedResponse">
										<Setting Key1="A">
											<Rule Name="fPrimaryExtDNSAliveUDP" Query="$.[4] != 'DNS Query Result = '" Error="None" Title="Il DNS esterno primario ha risposto a una connessione UDP" Text="Il DNS esterno primario ({1}) per l'istanza SMTP &quot;{3}&quot; sul server {2} ha risposto a una connessione UDP." S1="%PRIMARYEXTDNS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')"/>
											<Rule Name="szPrimaryExtDNSUDPResponse" Query="if ($fPrimaryExtDNSAliveUDP, substring-after($.[4],'DNS Query Result = '))"/>
										</Setting>
									</Object>
									<Object Type="DNS" Key1="%PRIMARYEXTDNS%" Key2="%varExFQDN%" Key3="UseTcpOnly">
										<Setting Key1="A">
											<Rule Name="fPrimaryExtDNSTCPReturned" Query="$.[4] != 'DNS Query Result = '"/>
											<Rule Name="szPrimaryExtDNSTCPResponse" Query="if ($fPrimaryExtDNSTCPReturned, substring-after($.[4],'DNS Query Result = '))"/>
										</Setting>
									</Object>
								</Object>
							</Object>
							<!-- Finally, check if the system event log contains events 2012 and 2013 -->
							<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='System' AND EventCode=2012 AND SourceName='smtpsvc' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
								<Setting Key1="EventCode"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
								<Setting Key1="Data"/>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt2012WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso del DNS (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro eventi di sistema del server {2} nelle ultime 24 ore. È possibile che sul server {2} vi siano problemi di disponibilità del DNS. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="2012"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='System' AND EventCode=2013 AND SourceName='smtpsvc' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
								<Setting Key1="EventCode"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
								<Setting Key1="Data"/>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt2013WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso del DNS (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro eventi di sistema del server {2} nelle ultime 24 ore. È possibile che sul server {2} vi siano problemi di disponibilità del DNS. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="2013"/>
								</Setting>
							</Object>
						</Object>

						<!-- Let's look at the E12 DNS configurations -->
						<Object Type="If" Name="Exchange Server 2007 DNS Settings" Key1="'%varIsExchange12%'='1'" Display="Hide">
							<Object Type="MonadCommand" Name="Identity" Key1="get-TransportServer -Identity %varExName% -DomainController %varDCName%">
								<Rule Name="fGetTransportServerException" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'esecuzione di '{0}'" Text="Errore durante l'esecuzione di '{0}' sul server {2}. Messaggio di errore: {1}." S0="get-TransportServer -Identity %varExName%" P1="../Exception/@Message" S2="%varExName%"/>
								<Setting Key1="ExternalDNSAdapterEnabled" Substitution="EXTERNALDNSADAPTERENABLED">
									<Rule Name="fE12ExternalDNSAdaptersEnabled" Query="$."/>
								</Setting>
								<Setting Key1="ExternalDNSAdapterGuid"/>
								<Setting Key1="ExternalDNSProtocolOption" Format="Enum">
									<Rule Name="fExternalDNSAny" Query="$.='0'"/>
									<Rule Name="fExternalDNSUseUDPOnly" Query="$.='1'" Error="NonDefault" Title="Opzione protocollo DNS esterno" Text="Il server {2} è configurato per inviare solo query UDP a server DNS esterni." S2="%varExName%"/>
									<Rule Name="fExternalDNSUseTCPOnly" Query="$.='2'" Error="NonDefault" Title="Opzione protocollo DNS esterno" Text="Il server {2} è configurato per inviare solo query TCP a server DNS esterni." S2="%varExName%"/>
								</Setting>
								<Setting Key1="ExternalDNSServers" Substitution="EXTERNALDNSSERVERS" SubstitutionFormat="$----,">
									<Rule Name="szE12ExternalDNSServers" Query="if($fE12ExternalDNSAdaptersEnabled='False',$.)"/>
								</Setting>
								<Setting Key1="InternalDNSAdapterEnabled" Substitution="INTERNALDNSADAPTERENABLED">
									<Rule Name="fE12InternalDNSAdaptersEnabled" Query="$."/>
								</Setting>
								<Setting Key1="InternalDNSAdapterGuid"/>
								<Setting Key1="InternalDNSProtocolOption" Format="Enum">
									<Rule Name="fInternalDNSAny" Query="$.='0'"/>
									<Rule Name="fInternalDNSUseUDPOnly" Query="$.='1'" Error="NonDefault" Title="Opzione protocollo DNS interno" Text="Il server {2} è configurato per inviare solo query UDP a server DNS interni." S2="%varExName%"/>
									<Rule Name="fInternalDNSUseTCPOnly" Query="$.='2'" Error="NonDefault" Title="Opzione protocollo DNS interno" Text="Il server {2} è configurato per inviare solo query TCP a server DNS interni." S2="%varExName%"/>
								</Setting>
								<Setting Key1="InternalDNSServers" Substitution="INTERNALDNSSERVERS" SubstitutionFormat="$----,">
									<Rule Name="szE12InternalDNSServers" Query="if($fE12InternalDNSAdaptersEnabled='False',$.)"/>
								</Setting>

								<Object Type="If" Key1="'%EXTERNALDNSADAPTERENABLED%'='False'">
									<Object Type="Cache" Name="HubTransportExternalDNS" Key1="Add" Key2="DNSAddresses" Key3="%EXTERNALDNSSERVERS%" Key4="," Display="Hide">
										<Setting Key1="DNSAddress" Substitution="PRIMARYDNS"/>
										<!-- Now Check DNS -->
										<Object Type="Port" Name="IsDNSAlive" Key1="%PRIMARYDNS%">
											<Setting Key1="53"/>
										</Object>
										<!-- Check to see if the DNS response changes between UDP and TCP -->
										<Object Type="DNS" Key1="%PRIMARYDNS%" Key2="%varExFQDN%" Key3="AcceptTruncatedResponse">
											<Setting Key1="A"/>
										</Object>
										<Object Type="DNS" Key1="%PRIMARYDNS%" Key2="%varExFQDN%" Key3="UseTcpOnly">
											<Setting Key1="A"/>
										</Object>
									</Object>
									<Object Type="Cache" Name="HubTransportExternalDNS" Key1="Delete" Key2="DNSAddresses" Display="Hide"/>
								</Object>

								<Object Type="If" Key1="'%INTERNALDNSADAPTERENABLED%'='False'">
									<Object Type="Cache" Name="HubTransportInternalDNS" Key1="Add" Key2="DNSAddresses" Key3="%INTERNALDNSSERVERS%" Key4="," Display="Hide">
										<Setting Key1="DNSAddress" Substitution="PRIMARYDNS"/>
										<!-- Now Check DNS -->
										<Object Type="Port" Name="IsDNSAlive" Key1="%PRIMARYDNS%">
											<Setting Key1="53"/>
										</Object>
										<!-- Check to see if the DNS response changes between UDP and TCP -->
										<Object Type="DNS" Key1="%PRIMARYDNS%" Key2="%varExFQDN%" Key3="AcceptTruncatedResponse">
											<Setting Key1="A"/>
										</Object>
										<Object Type="DNS" Key1="%PRIMARYDNS%" Key2="%varExFQDN%" Key3="UseTcpOnly">
											<Setting Key1="A"/>
										</Object>
									</Object>
									<Object Type="Cache" Name="HubTransportInternalDNS" Key1="Delete" Key2="DNSAddresses" Display="Hide"/>
								</Object>

							</Object>
						</Object>

						<Rule Name="szCheckDNSAvailability" Query="'CheckDNSAvailability'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fDNSIssueFound or $fNoDNSServerFound, string(@Title), $szExNoErrorStateText)" Title="È stato identificato un potenziale problema con la disponibilità del DNS." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema con la disponibilità del DNS."/>
						<Rule Name="szCheckDNSAvailabilityResult" Query="string(@Title)" Title="Risultati verifica disponibilità DNS">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="szAllDNSAddress" Query="replace (concat (join (',',$szDNSAddress), ',', join (',',$szExternalDNS), ',', join (',',$szE12InternalDNSServers), ',', join (',',$szE12ExternalDNSServers)), ',', ';')" AlwaysEvaluate="True">
							<Variable Name="varAllDNSAddress" Scope="Global"/>
						</Rule>
						<Rule Name="szAllExIPAddress" Query="join(';',$szExIPAddress)">
							<Variable Name="varAllExIPAddress" Scope="Global"/>
						</Rule>
						<Rule Name="fDNSIssueFound" Query="$fPrimaryDNSNotAliveUDP or $fPrimaryDNSNotAliveTCP or $fPrimaryExtDNSNotAliveUDP or $fPrimaryExtDNSNotAliveTCP or $fEvt2012WithinLast24hours or $fEvt2013WithinLast24hours" AlwaysEvaluate="True"/>
						<Rule Name="fDNSPossibleIntermittentIssue" Query="($fEvt2012WithinLast24hours or $fEvt2013WithinLast24hours) and not($fPrimaryDNSNotAliveUDP or $fPrimaryDNSNotAliveTCP or $fPrimaryExtDNSNotAliveUDP or $fPrimaryExtDNSNotAliveTCP)" Error="Warning" Sev="2" Title="Potenziale problema di intermittenza del DNS" Text="I server DNS primari del server {2} hanno risposto correttamente alle richieste di connessione da parte dello strumento ma nei registri eventi sono stati rilevati eventi con problemi di connettività del DNS. Ciò potrebbe indicare che nel server {2} si sta verificando un problema intermittente di disponibilità del DNS." S2="%varExName%" AlwaysEvaluate="True"/>
						<Rule Name="fNoDNSServerFound" Query="($fNoNetWorkAdapterFound or $fNoNetworkAdapterConfigurationFound) and count($szExternalDNS) &lt;1" Error="Error" Sev="2" Title="Nessun server DNS trovato" Text="Non è stato trovato alcun server DNS utilizzato dal server {2}. Verificare la configurazione DNS." S2="%varExName%" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckDNSStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MADLFileVersion" Title="Verifica versione file" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varExVersionNumber%" Substitution="varExVersionNumber" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica della versione del file in corso" Text="Attendere. Controllo della versione di diversi file in corso..." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="File Version" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Let's check the file version of phatq.dll, phatcat.dll, store.exe, drviis.dll, exsmtp.dll -->
						<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\Exchange\Setup" SecurityContext="EXLOGON">
							<Setting Key1="Services" Substitution="EXCHBINPATHD" SubstitutionFormat="\\----\\"/>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\Phatq.dll'">
								<Setting Key1="Version">
									<Rule Name="fFileVersionPhatqNewer" Query="substring($., 5, 4) &gt; $iFileVersionStore" Error="Warning" Sev="3" Title="Rilevato file {5} aggiornato" Text="La versione del file {5} sul server {2} è più recente della versione di Exchange installata. È probabilmente un aggiornamento del software. Versione del file installato: {6}. {6}." S2="%varExName%" S5="PHATQ.DLL" P6="$." GUID="5104a6a0-6c8d-4bf9-b056-6ed42faf8a92"/>
									<Rule Name="fFileVersionPhatqOlder" Template="tExFileOlder" ReportIssue="Issue" S5="PHATQ.DLL" GUID="5e4b405c-a0fa-40b6-bb36-130f1067a12b"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\PhatCat.dll'">
								<Setting Key1="Version">
									<Rule Name="fFileVersionPhatCatNewer" Query="substring($., 5, 4) &gt; $iFileVersionStore" Error="Warning" Sev="3" Title="Rilevato file {5} aggiornato" Text="La versione del file {5} sul server {2} è più recente della versione di Exchange installata. È probabilmente un aggiornamento del software. Versione del file installato: {6}. {6}." S2="%varExName%" S5="PHATCAT.DLL" P6="$." GUID="5104a6a0-6c8d-4bf9-b056-6ed42faf8a92"/>
									<Rule Name="fFileVersionPhatCatOlder" Template="tExFileOlder" ReportIssue="Issue" S5="PHATCAT.DLL" GUID="7b3d4096-cba1-464b-b73f-fcf416f91965"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\Store.exe'">
								<Setting Key1="Version">
									<Rule Name="iFileVersionStore" Query="substring($., 5, 4)"/>
									<Rule Name="fFileVersionStoreNewer" Query="substring($., 5, 4) &gt; @S9" Error="Warning" Sev="3" Title="Rilevato file {5} aggiornato" Text="La versione del file {5} sul server {2} è più recente della versione di Exchange installata. È probabilmente un aggiornamento del software. Versione del file installato: {6}. {6}." S2="%varExName%" S5="STORE.EXE" P6="$." S9="%varExVersionNumber%" GUID="5104a6a0-6c8d-4bf9-b056-6ed42faf8a92"/>
									<Rule Name="fFileVersionStoreOlder" Template="tExFileOlder" ReportIssue="Issue" S5="STORE.EXE"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\drviis.dll'">
								<Setting Key1="Version">
									<Rule Name="fFileVersionDrvIisNewer" Query="substring($., 5, 4) &gt; $iFileVersionStore" Error="Warning" Sev="3" Title="Rilevato file {5} aggiornato" Text="La versione del file {5} sul server {2} è più recente della versione di Exchange installata. È probabilmente un aggiornamento del software. Versione del file installato: {6}. {6}." S2="%varExName%" S5="DRVIIS.DLL" P6="$." GUID="5104a6a0-6c8d-4bf9-b056-6ed42faf8a92"/>
									<Rule Name="fFileVersionDrvIisOlder" Template="tExFileOlder" ReportIssue="Issue" S5="DRVIIS.DLL"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\exsmtp.dll'">
								<Setting Key1="Version">
									<Rule Name="fFileVersionExSMTPNewer" Query="substring($., 5, 4) &gt; $iFileVersionStore" Error="Warning" Sev="3" Title="Rilevato file {5} aggiornato" Text="La versione del file {5} sul server {2} è più recente della versione di Exchange installata. È probabilmente un aggiornamento del software. Versione del file installato: {6}. {6}." S2="%varExName%" S5="EXSMTP.DLL" P6="$." GUID="5104a6a0-6c8d-4bf9-b056-6ed42faf8a92"/>
									<Rule Name="fFileVersionExSMTPOlder" Template="tExFileOlder" ReportIssue="Issue" S5="EXSMTP.DLL" GUID="37a78a57-a171-4251-9a2e-f7c265190ddf"/>
								</Setting>
							</Object>
						</Object>

						<Rule Name="szMADLFileVersion" Query="'MADLFileVersion'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fFileVersionIssueFound, string(@Title), $szExNoErrorStateText)" Title="Sono stati identificati potenziali problemi con la versione del file." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema critico della versione del file."/>
						<Rule Name="szMADLFileVersionResult" Query="string(@Title)" Title="Risultati verifica versione file">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fFileVersionIssueFound" Query="$fFileVersionPhatqNewer or $fFileVersionPhatqOlder or $fFileVersionPhatCatNewer or $fFileVersionPhatCatOlder or $fFileVersionStoreOlder or $fFileVersionDrvIisNewer or $fFileVersionDrvIisOlder or $fFileVersionExSMTPNewer or $fFileVersionExSMTPOlder" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayMADLFileVersionStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule NextStep="MADLJournaling" Name="fGotoMADLJournaling" Query="not ($fFileVersionIssueFound)" Priority="2" Text="- Verifica se l'inserimento nel journal dei messaggi è collegato al problema di flusso di posta" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="MADLPermission" Name="fGotoMADLPermission" Query="not ($fFileVersionIssueFound)" Priority="3" Text="- Verifica la presenza di problemi di autorizzazioni che potrebbero causare problemi di flusso di posta" Display="Hide" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MADLJournaling" Title="Verifica inserimento nel journal" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varAllCommonHomeMDB%" Substitution="varAllCommonHomeMDB" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dell'inserimento nel journal dei messaggi in corso" Text="Attendere. Controllo delle impostazioni di inserimento dei messaggi nel journal del server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Journaling" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="If" Name="%varExName%" Key1="true()" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Get the the datetime of exactly 24 hours ago in the yyyyMMddHHmmss.000000+000 format as this format is faster for a WMI query -->
						<Setting Key1="date-add('%varCurrentDateTime%', get-timespan(-(24 * 3600)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
						<!-- Let's look if the app event log contains any events 9003, 9004, 9035 or 6004 as they are the signs of Journaling problems -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9003 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt9003WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso del classificatore (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="9003"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9004 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt9004WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di errore del classificatore (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="9004"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9035 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt9035WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso del classificatore (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="9035"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=6004 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt6004WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di avviso del classificatore (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="6004" GUID="e58485d9-20d6-4798-8f53-ebc55fcfd474"/>
							</Setting>
						</Object>
						<!-- Next, let's get the list of mailbox stores with journaling enabled -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectClass=msExchPrivateMDB)(msExchMessageJournalRecipient=*))">
							<Setting Key1="msExchOwningServer">
								<Rule Name="szJournalEnabledExName" Query="substring-before(substring-after($.,'CN='),',')"/>
							</Setting>
							<Setting Key1="cn">
								<Rule Name="szMailboxStore" Query="$."/>
							</Setting>
							<Setting Key1="distinguishedName">
								<Rule Name="fDestHomeMDB" Query="($fStdJournalingRecipDeleted or $fStdJournalingRecipNoNickname or $fStdJournalingRecipDisabled) and contains(upper-case(@S4), upper-case($.))" Error="Error" Sev="2" ReportIssue="Issue" Title="I messaggi nella coda sono indirizzati a un database con problemi nel destinatario del  journal" Text="Uno o più messaggi nella coda 'Messaggi in attesa dell'individuazione della directory' nel server {1} sono indirizzati al database '{3}' sul server {2}. Il database '{3}' ha problemi del destinatario del journal." S1="%varExName%" P2="$szJournalEnabledExName" P3="$szMailboxStore" S4="%varAllCommonHomeMDB%" AlwaysEvaluate="True"/>
							</Setting>
							<Setting Key1="msExchMessageJournalRecipient" Substitution="JOURNALRECIP">
								<Rule Name="szStdJournalingRecipDn" Query="$." Error="None" Title="Inserimento nel journal del database abilitato" Text="L'inserimento nel journal è abilitato per il database '{3}' sul server {2}. Il destinatario del journal è '{1}'." P1="$." P2="$szJournalEnabledExName" P3="$szMailboxStore"/>
								<Rule Name="fStdJournalingRecipDeleted" Query="contains($., 'DEL:')" Error="Error" Sev="2" ReportIssue="Issue" Title="Il destinatario del journal fa riferimento a un oggetto eliminato" Text="Il destinatario del journal indicato per il database '{3}' sul server {2} punta a un oggetto eliminato ({1}). Ciò potrebbe causare l'accodamento dei messaggi. Utilizzare il Gestore di sistema di Exchange per indicare il nome di un nuovo destinatario per i messaggi di archivio." P1="$." P2="$szJournalEnabledExName" P3="$szMailboxStore" GUID="27f23d63-71f1-4033-abb4-1c8d88aedc8d"/>
								<Rule Name="fStdJournalingRecipNoNickname" Query="count($szStdJournalingRecipCn)=1 and count($szStdJournalingRecipNickname)=0" Error="Warning" Sev="2" Title="Destinatario del journal non valido" Text="Il destinatario del journal indicato per il database '{3}' sul server {2} punta a un oggetto che non dispone di un mailNickname valido. Ciò potrebbe causare l'accodamento dei messaggi. Verificare che l'oggetto '{1}' sia abilitato per le cassette postali oppure utilizzare il Gestore di sistema di Exchange per indicare il nome di un nuovo destinatario per i messaggi di archivio." P1="$." P2="$szJournalEnabledExName" P3="$szMailboxStore" GUID="00701177-1d5c-4b19-b0f7-2f3e6c1e5c4d" AlwaysEvaluate="True"/>
							</Setting>
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%JOURNALRECIP%">
								<Setting Key1="cn">
									<Rule Name="szStdJournalingRecipCn" Query="$."/>
								</Setting>
								<Setting Key1="mailNickname">
									<Rule Name="szStdJournalingRecipNickname" Query="$."/>
								</Setting>
								<Setting Key1="msExchMasterAccountSid">
									<Rule Name="szStdJournalingRecipMAS" Query="$."/>
								</Setting>
								<Setting Key1="msExchUserAccountControl">
									<Rule Name="fStdJournalingRecipDisabled" Query="$.=2 and not($szStdJournalingRecipMAS)" Error="Warning" Sev="2" Title="Il destinatario del journal fa riferimento a un account disabilitato" Text="Il destinatario del journal indicato per il database '{3}' sul server {2} fa riferimento un account disabilitato ({1}). Ciò potrebbe causare l'accodamento o l'invio dei messaggi a una cartella di posta scartata. Abilitare l'account specificato oppure utilizzare il Gestore di sistema di Exchange per indicare il nome di un nuovo destinatario per i messaggi di archivio." S1="%JOURNALRECIP%" P2="$szJournalEnabledExName" P3="$szMailboxStore" GUID="cc364af0-771e-4b12-b024-812f1c025e4e" AlwaysEvaluate="True"/>
								</Setting>
							</Object>
						</Object>
						<!-- Also, let's check whether the Information Store service is stopped on this server -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='MSExchangeIS'">
							<Setting Key1="Started">
								<Rule Name="fStoreStopped" Query="$.='False'" Error="Warning" Sev="2" Title="Servizio Archivio informazioni arrestato" Text="Servizio Archivio informazioni nel server {2} non in esecuzione. Ciò può causare l'accodamento dei messaggi quando sono destinati a database nei quali è abilitato l'inserimento nel journal dei messaggi." S2="%varExName%"/>
							</Setting>
						</Object>

						<Rule Name="szMADLJournaling" Query="'MADLJournaling'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fJournalPotentialIssueAtLeastOne,string(@Title),$szExNoErrorStateText)" Title="È stato identificato un potenziale problema con l'inserimento nel journal dei messaggi" AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema con l'inserimento nel journal dei messaggi"/>
						<Rule Name="szMADLJournalingResult" Query="string(@Title)" Title="Risultati verifica inserimento nel journal dei messaggi">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fCatRetryableHardErrorEvents" Query="$fEvt9035WithinLast24hours or ($fEvt9003WithinLast24hours and $fEvt9004WithinLast24hours and $fEvt6004WithinLast24hours)" AlwaysEvaluate="True">
							<Variable Name="varCatRetryableHardErrorEvents" Scope="Global"/>
						</Rule>
						<Rule Name="fJournalPotentialIssueAtLeastOne" Query="$fEvt9003WithinLast24hours or $fEvt9004WithinLast24hours or $fEvt9035WithinLast24hours or $fEvt6004WithinLast24hours or $fStdJournalingRecipDeleted or $fStdJournalingRecipNoNickname or $fStdJournalingRecipDisabled or $fStoreStopped" AlwaysEvaluate="True"/>
						<Rule Name="fJournalingRecipIssueProbableRootCause" Query="(($fEvt9003WithinLast24hours and $fEvt9004WithinLast24hours) or ($fEvt9035WithinLast24hours and $fEvt6004WithinLast24hours)) and $fDestHomeMDB" Error="Error" Sev="1" ReportIssue="RootCause" Title="Possibili problemi nell'inserimento nel journal dei messaggi" Text="Lo strumento ha determinato che i problemi del destinatario del journal potrebbero causare problemi alla coda 'Messaggi in attesa dell'individuazione della directory' nel server {2}." S2="%varExName%" GUID="116423b4-e142-4327-b375-be34fb71f27f" AlwaysEvaluate="True"/>
						<Rule Name="fJournalingRecipIssuePotentialRootCause" Query="not ($fJournalingRecipIssueProbableRootCause) and ((($fEvt9003WithinLast24hours and $fEvt9004WithinLast24hours) or ($fEvt9035WithinLast24hours and $fEvt6004WithinLast24hours)) and ($fStdJournalingRecipDeleted or $fStdJournalingRecipNoNickname or $fStdJournalingRecipDisabled))" Error="Error" Sev="1" ReportIssue="RootCause" Title="Potenziali problemi nell'inserimento nel journal dei messaggi" Text="Lo strumento ha determinato che i problemi del destinatario del journal potrebbero causare problemi alla coda 'Messaggi in attesa dell'individuazione della directory' nel server {2}." S2="%varExName%" GUID="116423b4-e142-4327-b375-be34fb71f27f" AlwaysEvaluate="True"/>
						<Rule Name="fJournalingStoreIssuePotentialRootCause" Query="$fEvt9003WithinLast24hours and $fStoreStopped" Error="Error" Sev="1" ReportIssue="RootCause" Title="Potenziali problemi nell'inserimento nel journal dei messaggi e del servizio Archivio informazioni" Text="Lo strumento ha determinato che i problemi nell'inserimento nel journal dei messaggi potrebbero causare problemi alla coda 'Messaggi in attesa dell'individuazione della directory' nel server {2}. È necessario che il servizio Archivio informazioni sia in esecuzione durante il routing dei messaggi ai server nei quali è abilitato l'inserimento nel journal dei messaggi." S2="%varExName%" GUID="5080460e-f3f1-43b7-b772-c1fa362acf66" AlwaysEvaluate="True"/>
						<Rule NextStep="DisplayResultsStep" Name="fDisplayMADLJournalingStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MADLPermission" Title="Verifica autorizzazioni" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varConfigDN%" Substitution="varConfigDN" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varAllCommonHomeServer%" Substitution="varAllCommonHomeServer" Display="Hide"/>
			<Setting Key1="%varAllCommonHomeMDB%" Substitution="varAllCommonHomeMDB" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varCatRetryableHardErrorEvents%" Substitution="varCatRetryableHardErrorEvents" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dei possibili problemi di autorizzazioni in corso" Text="Attendere. Controllo della presenza di eventuali problemi di autorizzazione in corso..." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Permissions" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="If" Name="%varExName%" Key1="true()" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Get the the datetime of exactly 24 hours ago in the yyyyMMddHHmmss.000000+000 format as this format is faster for a WMI query -->
						<Setting Key1="date-add('%varCurrentDateTime%', get-timespan(-(24 * 3600)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
						<!-- Let's check there are events 929, 9003 and 9004 -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=929 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt929WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="È stato registrato un evento di errore del classificatore (ID: {9}) nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" S8="%EVTTIME%" S9="929"/>
							</Setting>
							<Rule Name="fEvt929orCatRetryableHardErrorEvents" Query="$fEvt929WithinLast24hours or @S1='1'" S1="%varCatRetryableHardErrorEvents%" AlwaysEvaluate="True"/>
						</Object>

						<!-- Let's check if there are any mail flow related objects with permissions inheritance blocked -->
						<!-- This block is a 'mail flow' subset of ExBPA.Permissions.xml with some modifications made so that substitutions and variables work -->
						<!-- // Verify that permissions inheritance has not been disabled on the Microsoft Exchange container -->
						<Object Type="Directory" Key2="cn=Microsoft Exchange,cn=Services,%varConfigDN%">
							<Setting Key1="distinguishedName" Substitution="DN"/>
							<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
								<Rule Name="fInhBlockExchangeContainer" Template="tInhBlockConfig" ReportIssue="Issue"/>
							</Setting>

							<!-- // Verify that permissions inheritance has not been disabled on the Exchange Organization container -->
							<Object Type="Directory" Key2="%varExOrgDN%">
								<Setting Key1="distinguishedName" Substitution="DN"/>
								<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
									<Rule Name="fInhBlockOrgContainer" Template="tInhBlockConfig" ReportIssue="Issue"/>
								</Setting>

								<!-- // Verify that permissions inheritance has not been disabled on any Admin Group object -->
								<Object Type="Directory" Key2="cn=Administrative Groups,%DN%" Key3="(&amp;(objectCategory=msExchAdminGroup)(cn=*))" Key4="OneLevel">
									<Setting Key1="distinguishedName" Substitution="DN"/>
									<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
										<Rule Name="fInhBlockAdminGroup" Template="tInhBlockConfig" ReportIssue="Issue"/>
									</Setting>

									<!-- // Verify that permissions inheritance has not been disabled on any Routing Group object -->
									<Object Type="Directory" Key2="cn=Routing Groups,%DN%" Key3="" Key4="OneLevel">
										<Setting Key1="distinguishedName" Substitution="DN"/>
										<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
											<Rule Name="fInhBlockRoutingGroup" Template="tInhBlockConfig" ReportIssue="Issue"/>
										</Setting>

										<!-- // Verify that permissions inheritance has not been disabled on the Connections container under the Routing Group object -->
										<Object Type="Directory" Key2="cn=Connections,%DN%">
											<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
												<Rule Name="fInhBlockConnectionsContainer" Template="tInhBlockConfig" ReportIssue="Issue"/>
											</Setting>
										</Object>
									</Object>

									<!-- // Verify that permission inheritance has not been disabled on any Servers container under the Admin Group object -->
									<Object Type="Directory" Key2="cn=Servers,%DN%">
										<Setting Key1="distinguishedName" Substitution="DN"/>
										<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
											<Rule Name="fInhBlockServersContainer" Template="tInhBlockConfig" ReportIssue="Issue"/>
										</Setting>

										<!-- // Verify that permission inheritance has not been disabled on any Exchange Server object -->
										<Object Type="Directory" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=*))" Async="100">
											<Setting Key1="distinguishedName" Substitution="DN"/>
											<Setting Key1="cn">
												<Rule Name="szRemoteServerName" Query="lower-case($.)"/>
											</Setting>
											<Setting Key1="legacyExchangeDN">
												<Rule Name="fDestHomeServer" Query="$fInhBlockExchangeServer and contains(upper-case(@S4), upper-case($.))" Error="Error" Sev="1" ReportIssue="Issue" Title="I messaggi in fase di backup sul server {1} sono indirizzati a un server con un problema di autorizzazioni" Text="Uno o più messaggi nella coda 'Messaggi in attesa dell'individuazione della directory' nel server {1} sono indirizzati al server {2}. Il server {2} ha un problema di autorizzazioni ereditate." S1="%varExName%" P2="$szRemoteServerName" S4="%varAllCommonHomeServer%"/>
											</Setting>
											<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
												<Rule Name="fInhBlockExchangeServer" Template="tInhBlockConfig" ReportIssue="Issue" Text="L'ereditarietà degli elenchi ACL è bloccata per &quot;{3}&quot;. A causa di questa impostazione di protezione, i messaggi destinati al server ({2}) verranno accodati su altri server. Consultare l'articolo 264733 della Microsoft Knowledge Base e utilizzare il programma Siti e servizi di Active Directory per abilitare nuovamente l'ereditarietà in questo oggetto." P2="$szRemoteServerName"/>
											</Setting>

											<!-- // Verify that permission inheritance has not been disabled on the InformationStore object -->
											<Object Type="Directory" Key2="cn=InformationStore,%DN%">
												<Setting Key1="distinguishedName" Substitution="DN">
													<Rule Name="fDestHomeMDB" Query="$fInhBlockInformationStore and contains(upper-case(@S4), upper-case($.))" Error="Error" Sev="1" ReportIssue="Issue" Title="I messaggi in fase di backup sul server {1} sono indirizzati a un archivio delle cassette postali con un problema di autorizzazioni" Text="Uno o più messaggi nella coda 'Messaggi in attesa dell'individuazione della directory' nel server {1} sono indirizzati all'archivio delle cassette postali '{3}' sul server {2}. Questo archivio delle cassette postali ha un problema di autorizzazioni ereditate." S1="%varExName%" P2="$szRemoteServerName" S3="$." S4="%varAllCommonHomeMDB%"/>
												</Setting>
												<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
													<Rule Name="fInhBlockInformationStore" Template="tInhBlockConfig" ReportIssue="Issue"/>
												</Setting>

												<!-- // Verify that permission inheritance has not been disabled on any Storage Group object -->
												<Object Type="Directory" Key2="%DN%" Key3="objectClass=msExchStorageGroup">
													<Setting Key1="distinguishedName" Substitution="DN"/>
													<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
														<Rule Name="fInhBlockSG" Template="tInhBlockConfig" ReportIssue="Issue"/>
													</Setting>

													<!-- // Verify that permission inheritance has not been disabled on any database object -->
													<Object Type="Directory" Key2="%DN%" Key3="objectClass=msExchMDB">
														<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
															<Rule Name="fInhBlockMDB" Template="tInhBlockConfig" ReportIssue="Issue"/>
														</Setting>
													</Object>
												</Object>
											</Object>

											<!-- // Verify that permission inheritance has not been disabled on the System Attendant object -->
											<Object Type="Directory" Key2="cn=Microsoft System Attendant,%DN%">
												<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
													<Rule Name="fInhBlockMAD" Template="tInhBlockConfig" ReportIssue="Issue"/>
												</Setting>
											</Object>

											<!-- // Verify that permission inheritance has not been disabled on the Protocols container -->
											<Object Type="Directory" Key2="cn=Protocols,%DN%">
												<Setting Key1="distinguishedName" Substitution="DN"/>
												<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
													<Rule Name="fInhBlockProtocolsContainer" Template="tInhBlockConfig" ReportIssue="Issue"/>
												</Setting>

												<!-- // Verify that permission inheritance has not been disabled on SMTP protocol container -->
												<Object Type="Directory" Key2="cn=SMTP,%DN%">
													<Setting Key1="distinguishedName" Substitution="DN"/>
													<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
														<Rule Name="fInhBlockSMTPProtocol" Template="tInhBlockConfig" ReportIssue="Issue"/>
													</Setting>

													<!-- // Verify that permission inheritance has not been disabled on any virtual server instance -->
													<Object Type="Directory" Key2="%DN%" Key3="objectCategory=protocolCfgSMTPServer">
														<Setting Key1="adminDisplayName" Substitution="SMTPVSI"/>
														<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True">
															<Rule Name="fInhBlockSMTPVSI" Template="tInhBlockConfig" ReportIssue="Issue"/>
														</Setting>
													</Object>
												</Object>
											</Object>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>

						<Rule Name="szMADLPermission" Query="'MADLPermission'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fPermissionsIssueProbableRootCause or $fPermissionsIssuePotentialRootCause ,string(@Title),$szExNoErrorStateText)" Title="È stato identificato un potenziale problema di autorizzazioni." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema di autorizzazioni identificato"/>
						<Rule Name="szMADLPermissionResult" Query="string(@Title)" Title="Risultati verifica problemi autorizzazioni">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fInhBlockAtLeastOne" Query="$fInhBlockExchangeContainer or $fInhBlockOrgContainer or $fInhBlockAdminGroup or $fInhBlockRoutingGroup or $fInhBlockConnectionsContainer or $fInhBlockServersContainer or $fInhBlockExchangeServer or $fInhBlockInformationStore or $fInhBlockSG or $fInhBlockMDB or $fInhBlockMAD or $fInhBlockProtocolsContainer or $fInhBlockSMTPProtocol or $fInhBlockSMTPVSI" AlwaysEvaluate="True"/>
						<Rule Name="fPermissionsIssueProbableRootCause" Query="$fEvt929orCatRetryableHardErrorEvents and ($fDestHomeServer or $fDestHomeMDB)" Error="Error" Sev="1" ReportIssue="RootCause" Title="Probabili problemi di autorizzazioni" Text="Lo strumento ha determinato che i problemi di autorizzazioni in uno o più oggetti utilizzati da Exchange stanno probabilmente causando problemi nella coda 'Messaggi in attesa dell'individuazione della directory' nel server {2}." S2="%varExName%" GUID="9d0f26eb-a6f3-4e67-99ec-bbe0a39347d7" AlwaysEvaluate="True"/>
						<Rule Name="fPermissionsIssuePotentialRootCause" Query="not ($fPermissionsIssueProbableRootCause) and $fEvt929orCatRetryableHardErrorEvents and $fInhBlockAtLeastOne" Error="Error" Sev="1" ReportIssue="RootCause" Title="Potenziali problemi di autorizzazioni" Text="Lo strumento ha determinato che i problemi di autorizzazioni in uno o più oggetti utilizzati da Exchange stanno probabilmente causando problemi nella coda 'Messaggi in attesa dell'individuazione della directory' nel server {2}." S2="%varExName%" GUID="9d0f26eb-a6f3-4e67-99ec-bbe0a39347d7" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayMADLPermissionStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="LDInitialCheck" Title="Verifica iniziale recapito locale" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varExDN%" Substitution="varExDN" Display="Hide"/>
			<Setting Key1="%varLDLinkName%" Substitution="varLDLinkName" Display="Hide"/>
			<Setting Key1="%varRemoteDeliveryBackedUp%" Substitution="varRemoteDeliveryBackedUp" Display="Hide"/>
			<Setting Key1="%varIsExchange2003%" Substitution="varIsExchange2003" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varAllLDMailboxNames%" Substitution="varAllLDMailboxNames" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dello stato della coda Recapito locale in corso" Text="Attendere. Esecuzione dell'analisi iniziale della coda di 'Recapito locale' sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="If" Name="MapiConnectivityCheck" Key1="'%varIsExchange12%'='1'">
					<!-- Check if logon to each database on server succeeds -->
					<Object Type="Group" Name="Mailbox Server Role Database Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
						<Object Type="Cache" Name="MailboxList" Key1="Add" Key2="MailboxNames" Key3="%varAllLDMailboxNames%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
							<Setting Key1="MailboxName" Substitution="MBNAME"/>

							<Object Type="MonadCommand" Name="Server" Key1="test-MapiConnectivity -Server %MBNAME% -PerConnectionTimeout 120 -DomainController %varDCName%">
								<Rule Name="szExceptionText" Query="../Exception/@Message"/>
								<Rule Name="fFatalMonadErrorKey" Query="../Exception"/>
								<Setting Key1="StorageGroup" Substitution="SG"/>
								<Setting Key1="Database" Substitution="DB"/>
								<Setting Key1="Error" Substitution="ERROR">
									<Rule Name="szError" Query="$."/>
								</Setting>
								<Setting Key1="Result" Substitution="RESULT"/>
								<Setting Key1="Result.Value" Format="Enum">
									<Rule Name="fMapiConnectivityResultUnknown" Query="$.='0'" Error="None" Title="Test-MapiConnectivity sconosciuto per il database delle cassette postali '{3}\{4}'" Text="Il risultato di Test-MapiConnectivity per il database delle cassette postali {3}\{4} sul server {2} è '{6}' con Errore='{5}'." S2="%varExName%" S3="%SG%" S4="%DB%" S5="%ERROR%" S6="%RESULT%"/>
									<Rule Name="fMapiConnectivityResultSuccess" Query="$.='1'" Error="None" Title="Test-MapiConnectivity riuscito per il database delle cassette postali '{3}\{4}'" Text="Il risultato di Test-MapiConnectivity per il database delle cassette postali {3}\{4} sul server {2} è '{6}'." S2="%varExName%" S3="%SG%" S4="%DB%" S6="%RESULT%"/>
									<Rule Name="fMapiConnectivityResultFailure" Query="$.='2'" Error="Error" Sev="1" ReportIssue="Issue" Title="Test-MapiConnectivity non riuscito per il database delle cassette postali '{3}\{4}'" Text="Il risultato di Test-MapiConnectivity per il database delle cassette postali {3}\{4} sul server {2} è '{6}' con Errore='{5}'." S2="%varExName%" S3="%SG%" S4="%DB%" S5="%ERROR%" S6="%RESULT%"/>
									<!-- Bug Bug, this Rule is not localizable because test-mapiconnectivity Error doesn't return an enum. The code may be changed and we want to capture this rule. -->
									<Rule Name="fMapiResultDatabaseDismounted" Query="$fMapiConnectivityResultFailure and contains($szError,'dismounted')" Error="None" ReportIssue="Recommendation" Title="Installazione del database delle cassette postali" Text="È possibile installare i database disinstallati in Exchange Management Shell con il comando &quot;mount-database -Identify {2}\{3}\{4}&quot;. Per il recapito dei messaggi, è importante che questi servizi siano in esecuzione." S2="%MBNAME%" S3="%SG%" S4="%DB%" AlwaysEvaluate="True"/>
								</Setting>
							</Object>
						</Object>
					</Object>
					<Rule Name="fFatalMonadError" Query="$fFatalMonadErrorKey" Error="Error" Sev="1" Title="Errore durante l'esecuzione del comando di Exchange Management Shell. Interruzione dell'analisi della coda SMTP in corso" Text="Impossibile eseguire la query alle impostazioni della coda nel server {2}. Le credenziali dell'utente potrebbero non essere corrette o potrebbe essersi verificato un problema con il servizio Monad nel computer. Messaggio di errore: {1}" P1="$szExceptionText" S2="%varExName%" AlwaysEvaluate="True"/>

					<Object Type="Group" Name="Post-Analysis Rules" Display="Hide">
						<Rule Name="szCheckMapiConnectivity" Query="'LDInitialCheck'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fMapiConnectivityResultFailure,string(@Title),$szExNoErrorStateText)" Title="Test di connettività MAPI non riuscito." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema di connettività MAPI."/>
						<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi iniziale recapito locale">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>
						<Rule NextStep="DisplayResultsStep" Name="fDisplayLDInitialCheckStatus" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule NextStep="LDCheckStoreService" Name="fGotoLDCheckStoreService" Query="$fMapiConnectivityResultFailure" Priority="2" Text="- Verifica il servizio Archivio informazioni di Microsoft Exchange dei server cassette postali" Display="Hide" AlwaysEvaluate="True"/>
					</Object>
				</Object>

				<Object Type="If" Name="Basic Checks" Key1="not('%varIsExchange12%'='1')">
					<Object Type="Group" Name="Local Server Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
						<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
							<!-- Let's begin with some basic checks such as whether the store service is up and running -->
							<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='MSExchangeIS'">
								<Setting Key1="Started">
									<Rule Name="fStoreStopped" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio {0} non in esecuzione" Text="Il servizio {0} nel server {2} non è in esecuzione. I messaggi non verranno recapitati alle cassette postali in questo server e gli utenti non potranno accedere alle risorse." S0="MSExchangeIS" S2="%varExName%"/>
								</Setting>
							</Object>
							<!-- Next, we check whether any stores are dismounted -->
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=InformationStore,%varExDN%" Key3="(|(objectCategory=msExchPrivateMDB)(objectCategory=msExchPublicMDB))">
								<Setting Key1="cn">
									<Rule Name="szMDBCN" Query="$."/>
								</Setting>
								<Setting Key1="distinguishedName" Substitution="MDBDN"/>
								<Setting Key1="objectCategory">
									<Rule Name="szMDBType" Query="if (starts-with($., 'CN=ms-Exch-Private-MDB'), string(@Title), $szMDBPF)" Title="Archivio cassette postali"/>
									<Rule Name="szMDBPF" Query="string(@Title)" Title="Archivio pubblico"/>
								</Setting>
								<Setting Key1="objectGUID" Format="System.Guid" Substitution="MDBGUID" SubstitutionFormat="System.Guid"/>
								<Object Type="MdbAdmin" Key1="%varExName%" Key2="ListMdbStatus" Key3="%MDBGUID%">
									<Rule Name="fErrorAccessMDB" Query="../Exception" Title="Errore durante l'accesso alle informazioni sull'archivio" Text="Errore durante l'accesso alle informazioni di {0} '{3}' sul server {2}. Messaggio di errore: {1}." P0="lower-case($szMDBType)" P1="../Exception/@Message" S2="%varExName%" P3="$szMDBCN"/>
									<Setting Key1="Status">
										<Rule Name="fMDBDismounted" Query="$.='0'" Error="Error" Sev="1" ReportIssue="Issue" Title="{1} disinstallato" Text="{1} '{3}' nel server {2} è disinstallato. Per potervi recapitare i messaggi, è necessario installare l'archivio." P1="$szMDBType" S2="%varExName%" P3="$szMDBCN"/>
										<Rule Name="fMDBMounted" Query="$.='1'" Error="None" Title="{1} installato" Text="{1} '{3}' nel server {2} è installato." P1="$szMDBType" S2="%varExName%" P3="$szMDBCN"/>
									</Setting>
								</Object>
								<!-- Also, let's check if any SMTP system mailbox objects are missing -->
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Connections,%varExOrgDN%" Key3="(&amp;(objectCategory=mailGateway)(homeMDB=%MDBDN%))">
									<Setting Key1="distinguishedName">
										<Rule Name="szSMTPMBXDN" Query="$." Error="None" Title="Trovata cassetta postale SMTP di sistema" Text="{1} '{3}' nel server {2} ha l'oggetto cassetta postale SMTP di sistema corrispondente '{4}'." P1="$szMDBType" S2="%varExName%" P3="$szMDBCN" P4="$."/>
									</Setting>
									<Rule Name="fSMTPMBXMissing" Query="not (../Exception) and count ($szSMTPMBXDN) &lt;1" Error="Error" Sev="2" ReportIssue="Issue" Title="Cassetta postale SMTP di sistema mancante" Text="{1} '{3}' nel server {2} non dispone di un oggetto cassetta postale SMTP di sistema corrispondente in Active Directory. Ciò potrebbe causare il backup dei messaggi nella coda 'Recapito locale'." P1="$szMDBType" S2="%varExName%" P3="$szMDBCN" AlwaysEvaluate="True"/>
								</Object>
							</Object>

							<Rule Name="szLDInitialCheck" Query="'LDInitialCheck'">
								<Variable Name="varPreviousName" Scope="Children"/>
							</Rule>
							<Rule Name="szLDErrorStateText" Query="if($fLDBasicIssueFound, string(@Title), $szExNoErrorStateText)" Title="È stato identificato un potenziale problema che potrebbe influenzare la coda 'Recapito locale'" AlwaysEvaluate="True">
								<Variable Name="varErrorStateText" Scope="Global"/>
							</Rule>
							<Rule Name="szLDNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema che può influenzare la coda 'Recapito locale'"/>
							<Rule Name="szLDInitialCheckResult" Query="string(@Title)" Title="Risultati analisi iniziale coda Recapito locale">
								<Variable Name="varDisplayTitle" Scope="Global"/>
							</Rule>

							<Rule Name="fLDBasicIssueFound" Query="$fStoreStopped or count ($fMDBDismounted) &gt;1" AlwaysEvaluate="True"/>
							<Rule Name="fLDFailHard" Query="$fStoreStopped" AlwaysEvaluate="True"/>

							<Rule Name="szProbLinkName" Query="string('%varLDLinkName%')">
								<Variable Name="varProbLinkName" Scope="Children"/>
							</Rule>
							<Rule Name="szProbLinkLongName" Query="string(@Title)" Title="Recapito locale">
								<Variable Name="varProbLinkLongName" Scope="Children"/>
							</Rule>
							<Rule Name="szGroupingClass" Query="'Local Server Status'">
								<Variable Name="varGroupingClass" Scope="Children"/>
							</Rule>

							<Rule NextStep="DisplayResultsStep" Name="fDisplayLDInitialCheckStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
							<Rule NextStep="LDCheckEventLog" Name="fGotoLDCheckEventLog" Query="not ($fLDFailHard)" Priority="2" Text="- Controlla i registri eventi per trovare problemi noti nella coda 'Recapito locale'" Display="Hide" AlwaysEvaluate="True"/>
							<Rule NextStep="RecipientCheck" Name="fGotoRecipientCheck" Query="not ($fLDFailHard) and @S1='1'" Priority="3" Text="- Verifica l'esistenza di destinazioni comuni condivise tra i messaggi nella coda 'Recapito locale' (questo passaggio viene eseguito solo se sul server è in esecuzione Exchange Server 2003)" S1="%varIsExchange2003%" Display="Hide" AlwaysEvaluate="True"/>
							<Rule NextStep="LDCheckKnownIssue" Name="fGotoLDCheckKnownIssue" Query="not ($fLDFailHard)" Priority="3" Text="- Controlla la configurazione di vari server per trovare problemi noti nella coda 'Recapito locale'" Display="Hide" AlwaysEvaluate="True"/>
							<Rule NextStep="MADLDLCheck" Name="fGotoMADLDLCheck" Query="true()" Priority="5" Text="- Verifica se le espansioni del gruppo di distribuzione sono collegate al problema di flusso di posta" Display="Hide" AlwaysEvaluate="True"/>
							<Rule NextStep="CheckRegtrace" Name="fGotoCheckRegtrace" Query="true()" Priority="7" Text="- Verifica che regtrace sia abilitato" Display="Hide" AlwaysEvaluate="True"/>
							<Rule NextStep="CheckAV" Name="fGotoCheckAV" Query="true()" Priority="7" Text="- Controlla le impostazioni antivirus che potrebbero avere un impatto negativo sul flusso di posta" Display="Hide" AlwaysEvaluate="True"/>
							<Rule NextStep="CheckSMTPDisk" Name="fGotoCheckSMTPDisk" Query="true()" Priority="7" Text="- Controlla le prestazioni dei dischi utilizzati per l'istanza SMTP" Display="Hide" AlwaysEvaluate="True"/>
							<Rule NextStep="CheckDCGCAvailability" Name="fGotoCheckDCGCAvailability" Query="true()" Priority="9" Text="- Verifica la disponibilità di Active Directory" Display="Hide" AlwaysEvaluate="True"/>
							<Rule NextStep="CheckDNSAvailability" Name="fGotoCheckDNSAvailability" Query="@S1!='1'" Priority="9" Text="- Verifica la disponibilità del DNS" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
							<Rule NextStep="CheckDomainRouting" Name="fGotoCheckDomainRouting" Query="@S1!='1'" Priority="9" Text="- Verifica le informazioni di routing del dominio archiviate nei criteri destinatario, nei connettori e nella metabase" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="LDCheckEventLog" Title="Controlla il registro eventi" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo dei registri eventi" Text="Attendere. Controllo della presenza di eventi noti nei registri eventi sul server {2} correlati ai problemi della coda di 'Recapito locale' in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Local Server Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="If" Name="%varExName%" Key1="true()" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Get the the datetime of exactly 24 hours ago in the yyyyMMddHHmmss.000000+000 format as this format is faster for a WMI query -->
						<Setting Key1="date-add('%varCurrentDateTime%', get-timespan(-(24 * 3600)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
						<!-- Let's look if the specified event log contains any relevant events -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=326 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="Category"/>
							<Setting Key1="CategoryString">
								<Rule Name="szEvt326Category" Query="$."/>
							</Setting>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="fEvt326WithinLast24hours" Query="true()" Error="Warning" Sev="2" Title="Evento di errore {3} registrato nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt326Category" S8="%EVTTIME%" S9="326"/>
							</Setting>
						</Object>
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=327 AND SourceName='MSExchangeTransport' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1" TrackProgress="TrackProgress">
							<Setting Key1="EventCode"/>
							<Setting Key1="Category"/>
							<Setting Key1="CategoryString">
								<Rule Name="szEvt327Category" Query="normalize-space($.)"/>
							</Setting>
							<Setting Key1="EventType"/>
							<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- ">
								<Rule Name="fEvtPFJetRecordNotFound" Query="contains ($., 'EcLocallyDeliverMsg2') and contains ($., '-1601') and $fEvt327WithinLast24hours" Error="Error" Sev="3" ReportIssue="Issue" Title="Evento di avviso {3} con errore '{4}'" Text="Il server {2} ha riscontrato un errore &quot;{4}&quot; durante l'elaborazione di un messaggio per il recapito locale nelle ultime 24. È possibile che la gerarchia delle cartelle pubbliche su questo server non sia aggiornata. ID evento: {9}. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" S4="JET_errRecordNotFound" P8="$dEvt327LocalTime" S9="327"/>
								<Rule Name="fEvtDirNotFound" Query="contains ($., 'EcSetFileHandleProp') and contains ($., '-2147024893') and $fEvt327WithinLast24hours" Error="Error" Sev="3" ReportIssue="Issue" Title="Evento di avviso {3} con errore '{4}'" Text="Il server {2} ha riscontrato un errore &quot;{4}&quot; durante l'elaborazione di un messaggio per il recapito locale nelle ultime 24 ore. ID evento: {9}. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" S4="COR_E_DIRECTORYNOTFOUND" P8="$dEvt327LocalTime" S9="327"/>
								<Rule Name="fEvtMAPIInvalidParam" Query="contains ($., 'EcGetMime') and contains ($., '-2147024809') and $fEvt327WithinLast24hours" Error="Error" Sev="3" ReportIssue="Issue" Title="Evento di avviso {3} con errore '{4}'" Text="Il server {2} ha riscontrato un errore &quot;{4}&quot; durante l'elaborazione di un messaggio per il recapito locale nelle ultime 24 ore. ID evento: {9}. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" S4="MAPI_E_INVALID_PARAMETER" P8="$dEvt327LocalTime" S9="327"/>
								<Rule Name="fEvtJetTooBig2000" Query="contains ($., 'EcSetFileHandleProp') and contains ($., '-1026') and $fEvt327WithinLast24hours" Error="Error" Sev="3" ReportIssue="Issue" Title="Evento di avviso {3} con errore '{4}'" Text="Il server {2} ha riscontrato un errore &quot;{4}&quot; durante l'elaborazione di un messaggio per il recapito locale nelle ultime 24 ore. È possibile che il formato del messaggio non sia supportato. ID evento: {9}. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" S4="JET_errRecordTooBig" P8="$dEvt327LocalTime" S9="327"/>
								<Rule Name="fEvtJetTooBig2003" Query="contains ($., 'EcLocallyDeliverMsg') and contains ($., '-1026') and $fEvt327WithinLast24hours" Error="Error" Sev="3" ReportIssue="Issue" Title="Evento di avviso {3} con errore '{4}'" Text="Il server {2} ha riscontrato un errore &quot;{4}&quot; durante l'elaborazione di un messaggio per il recapito locale nelle ultime 24 ore. È possibile che il formato del messaggio non sia supportato. ID evento: {9}. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" S4="JET_errRecordTooBig" P8="$dEvt327LocalTime" S9="327"/>
								<Rule Name="fEvtMbxJetRecordNotFound" Query="contains ($., 'EcOpenItemForLocalDelivery') and contains ($., '-1601') and $fEvt327WithinLast24hours" Error="Error" Sev="3" ReportIssue="Issue" Title="Evento di avviso {3} con errore '{4}'" Text="Il server {2} ha riscontrato un errore &quot;{4}&quot; durante l'elaborazione di un messaggio per il recapito locale nelle ultime 24 ore. È possibile che una casetta postale del destinatario sia danneggiata. ID evento: {9}. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" S4="JET_errRecordNotFound" P8="$dEvt327LocalTime" S9="327"/>
								<Rule Name="fEvtMAPINotFound" Query="(contains ($., 'EcOpenAttach') or contains ($., 'EcSubmitMessage') or contains ($., 'EcOpenMessageProp')) and contains ($., '-2147221233 ') and $fEvt327WithinLast24hours" Error="Error" Sev="3" ReportIssue="Issue" Title="Evento di avviso {3} con errore '{4}'" Text="Il server {2} ha riscontrato un errore &quot;{4}&quot; durante l'elaborazione di un messaggio per il recapito locale nelle ultime 24 ore. ID evento: {9}. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" S4="MAPI_E_NOT_FOUND" P8="$dEvt327LocalTime" S9="327"/>
								<Rule Name="fEvtMAPIFailed" Query="contains ($., 'EcGetMime') and contains ($., '-2147467259') and $fEvt327WithinLast24hours" Error="Error" Sev="3" ReportIssue="Issue" Title="Evento di avviso {3} con errore '{4}'" Text="Il server {2} ha riscontrato un errore &quot;{4}&quot; durante l'elaborazione di un messaggio per il recapito locale nelle ultime 24 ore. ID evento: {9}. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" S4="MAPI_E_CALL_FAILED" P8="$dEvt327LocalTime" S9="327"/>
								<Rule Name="fEvtOther" Query="not ($fEvtPFJetRecordNotFound or $fEvtDirNotFound or $fEvtMAPIInvalidParam or $fEvtJetTooBig2000 or $fEvtJetTooBig2003 or $fEvtMbxJetRecordNotFound or $fEvtMAPINotFound or $fEvtMAPIFailed) and $fEvt327WithinLast24hours" Error="Warning" Sev="2" Title="Evento di avviso {3} registrato nelle ultime 24 ore" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione: {1}" S1="%EVTMESSAGE%" S2="%varExName%" P3="$szEvt327Category" P8="$dEvt327LocalTime" S9="327"/>
							</Setting>
							<Setting Key1="Data"/>
							<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
								<Rule Name="dEvt327LocalTime" Query="'%EVTTIME%'"/>
								<Rule Name="fEvt327WithinLast24hours" Query="true()"/>
							</Setting>
						</Object>
						<Rule Name="szLDCheckEventLog" Query="'LDCheckEventLog'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fEventlogFound, string(@Title), $szExNoErrorStateText)" Title="Sono state rilevate voci del registro eventi potenzialmente correlate." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stata trovata alcuna voce del registro eventi rilevante."/>
						<Rule Name="szLDCheckEventLogResult" Query="string(@Title)" Title="Risultati analisi registro eventi coda Recapito locale">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="szEvt327Type" Query="if($fEvtPFJetRecordNotFound, '1', if($fEvtDirNotFound, '2', if($fEvtMAPIInvalidParam, '3', if($fEvtJetTooBig2000, '4', if($fEvtJetTooBig2003, '5', if($fEvtMbxJetRecordNotFound, '6', if($fEvtMAPINotFound, '7', if($fEvtMAPIFailed, '8', '0'))))))))" AlwaysEvaluate="True">
							<Variable Name="varEvt327Type" Scope="Global"/>
						</Rule>

						<Rule Name="fEventlogFound" Query="$fEvt326WithinLast24hours or $fEvt327WithinLast24hours" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayLDCheckEventLogStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="LDCheckKnownIssue" Title="Verifica problemi noti coda Recapito locale" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varEvt327Type%" Substitution="varEvt327Type" Display="Hide"/>
			<Setting Key1="%varIsExchange2000%" Substitution="varIsExchange2000" Display="Hide"/>
			<Setting Key1="%varIsExchange2003%" Substitution="varIsExchange2003" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dei problemi noti di recapito locale in corso" Text="Attendere. Controllo della presenza di eventuali problemi noti della coda di 'Recapito locale' sul server {2} in corso.." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Local Server Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True">
						<!-- First, check KB328870 -->
						<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\Exchange\Setup">
							<Setting Key1="Services" Substitution="EXCHBINPATHD" SubstitutionFormat="\\----\\"/>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\Phatq.dll'">
								<Setting Key1="Version">
									<Rule Name="fExchange2000PhatqOlder" Query="@S1='1' and substring($., 5, 4) &lt; 6329" Error="Warning" Sev="2" Title="Rilevato {5} precedente" Text="La versione di {5} installata nel server {2} potrebbe causare l'accodamento dei messaggi nelle cartelle pubbliche prima che la gerarchia possa essere replicata. Se il server {2} è stato recentemente portato in linea, vedere l'articolo 328870 della Microsoft Knowledge Base e installare gli ultimi Service Pack e aggiornamenti cumulativi. Versione del file installato: {6}. {6}." S1="%varIsExchange2000%" S2="%varExName%" S5="PHATQ.DLL" P6="$."/>
								</Setting>
							</Object>
							<Object Type="Registry" Key1="%varExName%" Key3="System\CurrentControlSet\Services\SMTPSvc\Parameters">
								<Setting Key1="__KEYPATH">
									<Rule Name="fMissingHierarchy" Query="@S0='1' and ($fExchange2000PhatqOlder or $fIgnorePFTimeLimitLessThanTwoDays)" Error="Error" Sev="2" ReportIssue="RootCause" Title="Archivio cartelle pubbliche probabilmente privo di gerarchia aggiornata" Text="I messaggi potrebbero essere bloccati sulla coda 'Recapito locale' nel server {2} a causa di una gerarchia di cartelle pubbliche incompleta. Assicurarsi che i messaggi non vengano instradati nel server prima del completamento della replica della gerarchia e della ricezione dei messaggi di replica da parte del server {2}." S0="%varEvt327Type%" S2="%varExName%" AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="IgnorePFTimeLimit">
									<Rule Name="fIgnorePFTimeLimitLessThanTwoDays" Query="count($.) &lt;2" Error="Warning" Sev="2" Title="Valore IgnorePFTimeLimit impostato su un valore inferiore a due giorni" Text="Il valore SMTP IgnorePFTimeLimit nel server {2} è stato impostato manualmente ed è inferiore al valore predefinito di 2. Valore corrente: {9}." S2="%varExName%" P9="$." GUID="6198f999-4337-4487-bbb8-077c2e205d43"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\Store.exe'">
								<Setting Key1="Version">
									<!-- KB823491(2000) and KB823494(2003) -->
									<Rule Name="fExchange2000FailedConversion" Query="@S0='3' and @S1='1' and substring($., 5, 4) &lt; 6493" Error="Error" Sev="2" ReportIssue="RootCause" Title="Possibile errore di conversione del contenuto" Text="Errori nella conversione del contenuto potrebbero causare problemi nella coda 'Recapito locale' nel server {2}. Vedere l'articolo 328870 della Microsoft Knowledge Base e installare gli ultimi Service Pack e aggiornamenti cumulativi. Versione del file installato: {6}. {6}." S0="%varEvt327Type%" S1="%varIsExchange2000%" S2="%varExName%" P6="$."/>
									<Rule Name="fExchange2003FailedConversion" Query="@S0='3' and @S1='1' and (substring($., 5, 4) &lt; 6980 or (substring($., 5, 4) = '6980' and substring-after($., substring($., 5, 5)) &lt; 15))" Error="Error" Sev="2" ReportIssue="RootCause" Title="Possibile errore di conversione del contenuto" Text="Errori nella conversione del contenuto potrebbero causare problemi nella coda 'Recapito locale' nel server {2}. Vedere l'articolo 328870 della Microsoft Knowledge Base e installare gli ultimi Service Pack e aggiornamenti cumulativi. Versione del file installato: {6}. {6}." S0="%varEvt327Type%" S1="%varIsExchange2003%" S2="%varExName%" P6="$."/>
									<!-- KB826134(2000) and KB896363(2003) -->
									<Rule Name="fExchange2000JetTooBig" Query="@S0='4' and @S1='1' and substring($., 5, 4) &lt; 6521" Error="Error" Sev="2" ReportIssue="RootCause" Title="Possibile errore JET_errRecordTooBig" Text="I messaggi che causano l'errore JET_errRecordTooBig potrebbero essere bloccati nella coda 'Recapito locale' nel server {2}. Vedere l'articolo 826134 della Microsoft Knowledge Base e installare gli ultimi Service Pack e aggiornamenti cumulativi. Versione del file installato: {6}. {6}." S0="%varEvt327Type%" S1="%varIsExchange2000%" S2="%varExName%" P6="$."/>
									<Rule Name="fExchange2003JetTooBig" Query="@S0='5' and @S1='1' and (substring($., 5, 4) &lt; 7233 or (substring($., 5, 4) = '7233' and substring-after($., substring($., 5, 5)) &lt; 28))" Error="Error" Sev="2" ReportIssue="RootCause" Title="Possibile errore JET_errRecordTooBig" Text="I messaggi che causano l'errore JET_errRecordTooBig potrebbero essere bloccati nella coda 'Recapito locale' nel server {2}. Vedere l'articolo 896363 della Microsoft Knowledge Base e installare gli ultimi Service Pack e aggiornamenti cumulativi. Versione del file installato: {6}. {6}." S0="%varEvt327Type%" S1="%varIsExchange2003%" S2="%varExName%" P6="$."/>
									<!-- KB908062 -->
									<Rule Name="fExchange2003ecBufferTooSmall" Query="@S0='8' and @S1='1' and (substring($., 5, 4) &lt; 7233 or (substring($., 5, 4) = '7233' and substring-after($., substring($., 5, 5)) &lt; 59))" Error="Error" Sev="2" ReportIssue="RootCause" Title="Possibile problema nelle cassette postali di cui è stata eseguita la migrazione" Text="I messaggi provenienti da cassette postali di cui è stata eseguita la migrazione potrebbero essere bloccati nella coda 'Recapito locale' nel server {2}. Vedere l'articolo 908062 della Microsoft Knowledge Base per determinare se il sintomo rilevato è lo stesso e installare gli ultimi Service Pack e aggiornamenti cumulativi. Versione del file installato: {6}. {6}." S0="%varEvt327Type%" S1="%varIsExchange2003%" S2="%varExName%" P6="$."/>
								</Setting>
							</Object>
						</Object>
						<!-- KB298415 -->
						<Object Type="Registry" Key1="%varExName%" Key3="System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem">
							<Setting Key1="__KEYPATH">
								<Rule Name="fMissingWorkingDirError" Query="@S0='2' and count($szWorkingDirectoryDrive)=0" Error="Error" Sev="2" ReportIssue="RootCause" Title="Possibile problema di mancanza della directory di lavoro dell'archivio" Text="La mancanza della directory di lavoro dell'archivio nel server {2} potrebbe causare problemi nella coda 'Recapito locale' nel server {2}. Vedere l'articolo 298415 della Microsoft Knowledge Base e specificare una directory valida. Directory di lavoro corrente: {5}." S0="%varEvt327Type%" S2="%varExName%" P5="$szWorkingDir" AlwaysEvaluate="True"/>
								<Rule Name="fMissingWorkingDirWarning" Query="not($fMissingWorkingDirError) and count($szWorkingDirectoryDrive)=0" Error="Warning" Sev="2" Title="Directory di lavoro dell'archivio mancante" Text="La directory di lavoro specificata per l'archivio nel server {2} non esiste. Ciò potrebbe causare l'accodamento dei messaggi con allegati. Vedere l'articolo 298415 della Microsoft Knowledge Base e specificare una cartella valida. Directory di lavoro corrente: {5}." S2="%varExName%" P5="$szWorkingDir" GUID="28b658a9-2fee-4f1c-a30d-532f7b897a62" AlwaysEvaluate="True"/>
							</Setting>
							<Setting Key1="Working Directory" Substitution="WORKINGDIR" SubstitutionFormat="\\----\\">
								<Rule Name="szWorkingDir" Query="$."/>
							</Setting>
							<Object Type="WMI" Key1="%varExName%" Key3="Win32_Directory" Key4="name='%WORKINGDIR%'">
								<Setting Key1="Drive">
									<Rule Name="szWorkingDirectoryDrive" Query="$."/>
								</Setting>
							</Object>
						</Object>

						<Rule Name="szLDCheckKnownIssue" Query="'LDCheckKnownIssue'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fLDKnownIssueFound, string(@Title), $szExNoErrorStateText)" Title="È stato rilevato un problema noto nella coda 'Recapito locale'." AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato rilevato alcun problema noto nella coda 'Recapito locale'."/>
						<Rule Name="szLDCheckKnownIssueResult" Query="string(@Title)" Title="Problemi noti recapito locale">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fLDKnownIssueFound" Query="$fExchange2000PhatqOlder or $fMissingHierarchy or $fIgnorePFTimeLimitLessThanTwoDays or $fExchange2000FailedConversion or $fExchange2003FailedConversion or $fExchange2000JetTooBig or $fExchange2003JetTooBig or $fMissingWorkingDirError or $fMissingWorkingDirWarning" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayLDCheckKnownIssueStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="LDCheckStoreService" Title="Verifica Archivio informazioni di Microsoft Exchange" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varAllLDMailboxNames%" Substitution="varAllLDMailboxNames" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dello stato del servizio Archivio informazioni dei server cassette postali in corso" Text="Attendere. È in corso l'analisi del servizio Archivio informazioni di Microsoft Exchange dei server di cassette postali a cui {2} sta tentando di connettersi." S2="%varExName%">
				<Object Type="If" Name="StoreServiceCheck" Key1="'%varIsExchange12%'">
					<!-- Check if logon to each database on server succeeds -->
					<Object Type="Group" Name="Mailbox Server Role Database Status" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
						<Object Type="Cache" Name="MailboxList" Key1="Add" Key2="MailboxNames" Key3="%varAllLDMailboxNames%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
							<Setting Key1="MailboxName" Substitution="MBNAME">
								<Rule Name="szMailboxServer" Query="$."/>
							</Setting>
							<!-- Check whether the store service is up and running -->
							<Object Type="WMI" Key1="%MBNAME%" Key3="Win32_Service" Key4="Name='MSExchangeIS'" SecurityContext="EXLOGON">
								<Setting Key1="Started">
									<Rule Name="fStoreStarted" Query="$.='True'" Error="None" Title="Servizio Archivio informazioni di Microsoft Exchange in esecuzione" Text="Il servizio {0} nel server {2} è avviato." S0="MSExchangeIS" S2="%MBNAME%"/>
									<Rule Name="fStoreNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio Archivio informazioni non in esecuzione" Text="Il servizio {0} nel server {2} non è stato avviato. Per il recapito dei messaggi, è importante che questo servizio sia in esecuzione." S0="MSExchangeIS" S2="%MBNAME%"/>
								</Setting>
								<Setting Key1="StartMode">
									<Rule Name="fStoreDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio Archivio informazioni di Microsoft Exchange disabilitato" Text="Il servizio {0} nel server {2} è disabilitato. Per il recapito dei messaggi, è importante che questo servizio sia in esecuzione." S0="MSExchangeIS" S2="%MBNAME%"/>
									<Rule Name="fStoreManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale servizio Archivio informazioni di Microsoft Exchange" Text="Il servizio {0} nel server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' in quanto il corretto funzionamento di Exchange dipende da questo servizio." S0="MSExchangeIS" S2="%MBNAME%"/>
								</Setting>
							</Object>
						</Object>
					</Object>
					<Rule Name="szLDCheckStoreService" Query="'LDCheckStoreService'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fPotentialCauseFound, string(@Title), $szExNoErrorStateText)" Title="È stato identificato un potenziale problema di recapito della posta nel server." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Sono necessarie ulteriori indagini."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati diagnosi recapito cassetta postale">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="fRootCauseFound" Query="$fStoreNotStarted or $fStoreDisabled" Error="None" ReportIssue="Recommendation" Title="Avvio del servizio Archivio informazioni di Microsoft Exchange nel server remoto" Text="Avvio del servizio Archivio informazioni di Microsoft Exchange nel server {2}. Per il recapito dei messaggi, è importante che questi servizi siano in esecuzione." P2="$szMailboxServer" AlwaysEvaluate="True"/>
					<Rule Name="fPotentialCauseFound" Query="$fStoreNotStarted" AlwaysEvaluate="True"/>
					<Rule Name="fMoreInv" Query="not($fPotentialCauseFound)" Error="Warning" Sev="2" ReportIssue="Summary" Title="Altre cause principali" Text="Il servizio Archivio informazioni di Microsoft Exchange nel server {2} è avviato ma il database non ha risposto. Verificare se ci sono errori di rete o servizi bloccati." P2="$szMailboxServer"/>

					<Rule NextStep="DisplayResultsStep" Name="fLDCheckStoreServiceStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="PRInitialCheck" Title="Controllo iniziale coda di routing" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varRemoteDeliveryBackedUp%" Substitution="varRemoteDeliveryBackedUp" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo dello stato della coda 'Messaggi in attesa di essere reinstradati'" Text="Attendere. È in corso l'esecuzione dell'analisi iniziale della coda 'Messaggi in attesa di essere reinstradati' sul server {2}." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Messages Waiting to Be Routed Queue" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Check KB318491 issue -->
						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key4="OneLevel">
							<Setting Key1="cn" Substitution="AGCN"/>
							<Setting Key1="distinguishedName" Substitution="DN">
								<Rule Name="fServersContainerMissing" Query="not($fDirectoryServersError) and count($szServersContainerDN) &lt;1" Error="Error" Sev="2" ReportIssue="Issue" Title="Contenitore 'Server' mancante nella directory" Text="Impossibile trovare il contenitore 'Server' per il gruppo amministrativo '{3}'. Ciò potrebbe causare backup nella coda. Verificare i risultati della procedura di analisi dello stato del collegamento e attenersi alle istruzioni indicate nell'articolo 318491 della Microsoft Knowledge Base." S3="%AGCN%" AlwaysEvaluate="True">
									<Variable Name="varServersContainerMissing" Scope="Global"/>
								</Rule>
							</Setting>
							<Object Type="Directory" Key1="LDAP://%varDCName%" Key2="CN=Servers,%DN%">
								<Rule Name="fDirectoryServersError" Query="../Exception/@Message"/>
								<Setting Key1="distinguishedName">
									<Rule Name="szServersContainerDN" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<Rule Name="szPRInitialCheck" Query="'PRInitialCheck'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fPRInitialIssueFound,string(@Title),$szExNoErrorStateText)" Title="È stato identificato almeno un problema potenziale relativo alla coda 'Messaggi in attesa di essere reinstradati'" AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato nessun problema relativo alla coda 'Messaggi in attesa di essere reinstradati'"/>
						<Rule Name="szPRInitialCheckResult" Query="string(@Title)" Title="Risultati dell'analisi della coda 'Messaggi in attesa di essere reinstradati'">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fPRInitialIssueFound" Query="$fServersContainerMissing" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayPRInitialCheckStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GQServerLoadCheck" Title="Analisi utilizzo server" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varRemoteDeliveryBackedUp%" Substitution="varRemoteDeliveryBackedUp" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica utilizzo server in corso" Text="Attendere. Controllo dell'utilizzo del server in corso..." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Server Utilization" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Steps to check whether the server is generally overloaded will go here-->
						<Object Type="Pdh" Name="ServerOverloadCheck" Key1="%varExName%" Key2="10" Key3="3" Level="1" SecurityContext="EXLOGON">
							<Rule Name="fGeneralErrorAccessPerf" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Messaggio di errore: {1}." S0="SMTP Server" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fBDBErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Ciò potrebbe essere causato da autorizzazioni insufficienti. Messaggio di errore: {1}." S0="SMTP Server" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fContactErrorAccessPerf" Query="contains(../Exception/@Message, '0x800007d0')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Il server potrebbe non essere disponibile oppure il servizio Registro di sistema remoto potrebbe non essere in esecuzione sul server. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fNonEngErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bb8') and @S1='1'" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Impossibile accedere ai contatori di Performance Monitor. Questo strumento deve essere eseguito su un sistema operativo in lingua Inglese (U.S.A.)." S1="%varNonEnglishOS%"/>

							<Setting Key1="SMTP Server" Key2="Messages Received/sec" Key3="_Total">
								<Rule Name="iAvgMsgReceivedSec" Query="round(10 * list-average($.)) div 10" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9}." P0="localize-path('SMTP Server(_Total)\Messages Received/sec')" P9="round(10 * list-average($.)) div 10"/>
								<Rule Name="fReceiveManyMsg" Query="$iAvgMsgReceivedSec &gt; 10" Error="Warning" Sev="2" ReportIssue="Summary" Title="Potenziale sovraccarico del server" Text="Il server {2} sta ricevendo una grande quantità di messaggi. Verificare se si tratta di un carico previsto. Il valore {0} misurato è {9}." P0="localize-path('SMTP Server(_Total)\Messages Received/sec')" S2="%varExName%" P9="$iAvgMsgReceivedSec"/>
							</Setting>
							<Setting Key1="SMTP Server" Key2="Messages Delivered/sec" Key3="_Total">
								<Rule Name="iAvgMsgDeliveredSec" Query="round(10 * list-average($.)) div 10" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9}." P0="localize-path('SMTP Server(_Total)\Messages Delivered/sec')" P9="round(10 * list-average($.)) div 10"/>
							</Setting>
							<Setting Key1="SMTP Server" Key2="Messages Sent/sec" Key3="_Total">
								<Rule Name="iAvgMsgSentSec" Query="round(10 * list-average($.)) div 10" Error="None" Title="Media '{0}'" Text="Media '{0}' = {9}." P0="localize-path('SMTP Server(_Total)\Messages Sent/sec')" P9="round(10 * list-average($.)) div 10"/>
								<Rule Name="fMsgNotProcessed" Query="$iAvgMsgReceivedSec &gt;0 and ($iAvgMsgDeliveredSec + $iAvgMsgSentSec) = 0" Error="Error" Sev="1" ReportIssue="Summary" Title="Messaggi non elaborati" Text="I messaggi sono ricevuti dal server {2} ma non vengono recapitati localmente o trasferiti a un altro server." S2="%varExName%"/>
								<Rule Name="fMsgSlowProcessed" Query="$iAvgMsgReceivedSec &gt;0 and ($iAvgMsgDeliveredSec + $iAvgMsgSentSec) &lt; $iAvgMsgReceivedSec * 0.75" Error="Error" Sev="2" ReportIssue="Summary" Title="Elaborazione messaggi lenta" Text="Il numero di messaggi elaborati dal server {2} per il recapito locale e remoto è inferiore al 75% dei messaggi che riceve. Ciò potrebbe causare l'accodamento dei messaggi." S2="%varExName%"/>
							</Setting>
						</Object>

						<Rule Name="szGQServerLoadCheck" Query="'GQServerLoadCheck'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fServerOverLoadFound,string(@Title),$szExNoErrorStateText)" Title="Potenziale sovraccarico del server identificato" AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun segno di sovraccarico del server identificato"/>
						<Rule Name="szGQServerLoadCheckResult" Query="string(@Title)" Title="Risultati verifica utilizzo server">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fServerOverLoadFound" Query="$fReceiveManyMsg and $fMsgSlowProcessed" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayServerOverLoadStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckRegtrace" Name="fGotoCheckRegtrace" Query="not($fServerOverLoadFound)" Priority="2" Text="- Verifica che regtrace sia abilitato" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckSMTPDisk" Name="fGotoCheckSMTPDisk" Query="not($fServerOverLoadFound)" Priority="3" Text="- Controlla le prestazioni dei dischi utilizzati per l'istanza SMTP" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="MADLDLCheck" Name="fGotoCMADLDLCheck" Query="not($fServerOverLoadFound)" Priority="4" Text="- Verifica se le espansioni del gruppo di distribuzione sono collegate al problema di flusso di posta" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckAV" Name="fGotoCheckAV" Query="not($fServerOverLoadFound)" Priority="5" Text="- Controlla le impostazioni antivirus che potrebbero avere un impatto negativo sul flusso di posta" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckMetabase" Name="fGotoCheckMetabase" Query="not($fServerOverLoadFound) and @S1!='1'" Priority="6" Text="- Controlla le impostazioni del sink di evento SMTP nella metabase" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckDCGCAvailability" Name="fGotoCheckDCGCAvailability" Query="not($fServerOverLoadFound)" Priority="7" Text="- Verifica la disponibilità di Active Directory" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckDNSAvailability" Name="fGotoCheckDNSAvailability" Query="not($fServerOverLoadFound) and @S1!='1'" Priority="8" Text="- Verifica la disponibilità del DNS" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckDomainRouting" Name="fGotoCheckDomainRouting" Query="not($fServerOverLoadFound) and @S1!='1'" Priority="9" Text="- Verifica le informazioni di routing del dominio archiviate nei criteri destinatario, nei connettori e nella metabase" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckLinkState" Name="fGotoCheckLinkState" Query="not($fServerOverLoadFound) and @S1!='1'" Priority="10" Text="- Controllare le informazioni sullo stato del collegamento per rilevare possibili problemi di routing" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
						<Rule NextStep="CheckLinkStateChurn" Name="fGotoCheckLinkStateChurn" Query="not($fServerOverLoadFound) and @S1!='1'" Priority="11" Text="- Controllare le modifiche della versione dello stato del collegamento" Display="Hide" S1="%varRemoteDeliveryBackedUp%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckLinkState" Title="Verifica informazioni stato collegamento" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dello stato del collegamento in corso" Text="Attendere. Controllo delle informazioni sullo stato del collegamento del server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Link State Information" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<!-- Get the datetime when we first check link state -->
					<Object Type="WMI" Key1="" Key3="Win32_OperatingSystem">
						<Setting Key1="LocalDateTime" Format="CIMDateTime">
							<Rule Name="dFirstLinkStateDateTime" Query="$.">
								<Variable Name="varFirstLinkStateDateTime" Scope="Global"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="LinkState" Name="LinkState" Key1="%varExName%">
						<Setting Key1="NodeInfo" Format="RoutingInfo"/>
						<Setting Key1="OrgInfo" Format="RoutingInfo"/>
						<Object Type="RoutingInfo" Key1="NodeInfo">
							<Setting Key1="Response"/>
						</Object>
						<Object Type="RoutingInfo" Key1="OrgInfo">
							<Setting Key1="Guid"/>
							<Setting Key1="Digest"/>
							<Object Type="RoutingInfo" Key1="Children" Key2="RoutingGroups" Class="Gruppo di routing" GroupingClass="True">
								<Setting Key1="Guid" Substitution="RGGUID">
									<Rule Name="szRGGUID" Query="$."/>
									<Rule Name="fRGFoundInDS" Query="count($szRGDN) &gt;0" Error="None" Title="Gruppo di routing trovato nella directory" Text="Il gruppo di routing (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestite dal server {2} è stato risolto nell'oggetto gruppo di routing '{3}' in Active Directory." P1="$szRGGUID" S2="%varExName%" P3="$szRGDN"/>
									<Rule Name="fRGNotFoundInDS" Query="not($fDirectoryErrorRG) and count($szRGDN) &lt;1" Error="Error" Sev="3" ReportIssue="Issue" Title="Gruppo di routing non trovato nella directory" Text="Impossibile risolvere il gruppo di routing (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestito dal server {2} in un oggetto in Active Directory. Ciò potrebbe causare problemi di flusso di posta, quali ritardi nei rapporti di mancato recapito una volta accodati nella coda 'Messaggi con destinazione irraggiungibile'." P1="$szRGGUID" S2="%varExName%" AlwaysEvaluate="True"/>
									<Rule Name="fRGNoMember" Query="$fRGFoundInDS and count ($szRGMemberGUID) &lt;1" Error="Warning" Sev="3" Title="Il gruppo di routing non ha nessun membro" Text="Non è stato trovato alcun membro del gruppo di routing '{3}' nelle informazioni sullo stato del collegamento gestite dal server {2}. Ciò potrebbe causare problemi di flusso di posta nel gruppo di routing." S2="%varExName%" P3="$szRGCN" AlwaysEvaluate="True"/>
									<Rule Name="fRGNoConnector" Query="$fRGFoundInDS and count ($szConnectorGUID) &lt;1" Error="Warning" Sev="3" Title="Il gruppo di routing non ha nessun connettore" Text="Non è stato trovato alcun connettore del gruppo di routing '{3}' nelle informazioni sullo stato del collegamento gestite dal server {2}. Ciò potrebbe causare problemi di flusso di posta nel gruppo di routing." S2="%varExName%" P3="$szRGCN" AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="MasterGuid" Substitution="RGMASTERGUID">
									<Rule Name="fRGMasterFoundInDS" Query="$fRGFoundInDS and count($szRGMasterDN) &gt;0" Error="None" Title="Server principale del gruppo di routing trovato nella directory" Text="Il server principale gruppo di routing (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestite dal server {2} è stato risolto nell'oggetto server Exchange '{4}' in Active Directory. Gruppo di routing: {3}." P1="$." S2="%varExName%" P3="$szRGCN" P4="$szRGMasterDN"/>
									<Rule Name="fRGMasterNotSpecified" Query="$fRGFoundInDS and $.='00000000-0000-0000-0000-000000000000'" Error="Warning" Sev="3" Title="Server principale del gruppo di routing non specificato" Text="Non è stato specificato alcun server principale per il gruppo di routing '{3}'. Questo gruppo di routing potrebbe essere isolato dagli altri gruppi di routing." P3="$szRGCN"/>
									<Rule Name="fRGMasterNotFoundInDS" Query="$fRGFoundInDS and not($fRGMasterNotSpecified) and (not($fDirectoryErrorRGMaster) and count($szRGMasterDN) &lt;1)" Error="Warning" Sev="2" Title="Server principale del gruppo di routing non trovato nella directory" Text="Il server principale gruppo di routing (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestito dal server {2} in un oggetto in Active Directory. Gruppo di routing: {3}. Ciò potrebbe causare problemi di flusso di posta nel gruppo di routing." P1="$." S2="%varExName%" P3="$szRGCN" AlwaysEvaluate="True"/>
									<Rule Name="fRGMasterFoundForRGNotInDS" Query="$fRGNotFoundInDS and count($szRGMasterDN) &gt;0" Error="Warning" Sev="3" Title="Server principale del gruppo di routing in gruppo di routing eliminato" Text="Il gruppo di routing (GUID: {1}) non esiste in Active Directory. Tuttavia, le informazioni sullo stato del collegamento gestite dal server {2} indicano il server {4} come server principale del gruppo di routing." P1="$szRGGUID" S2="%varExName%" P4="$szRGMasterCN"/>
								</Setting>
								<Setting Key1="MajorVersion">
									<Rule Name="fMajorVersionZero" Query="$fRGFoundInDS and $.=0" Error="Warning" Sev="3" Title="Gruppo di routing con zero come numero di versione principale" Text="Viene visualizzato un numero di versione principale pari a zero per il gruppo di routing '{3}' secondo le informazioni sullo stato del collegamento gestite dal server {2}. Il gruppo di routing potrebbe essere isolato dagli altri a meno che questo sito non contenga solo server Microsoft Exchange 5.5." S2="%varExName%" P3="$szRGCN"/>
									<Rule Name="szRGMajorVersion" Query="$.">
										<Variable Name="varFirstRG[MajorVersion][%RGGUID%]" Scope="Global"/>
									</Rule>
								</Setting>
								<Setting Key1="MinorVersion">
									<Rule Name="szRGMinorVersion" Query="$.">
										<Variable Name="varFirstRG[MinorVersion][%RGGUID%]" Scope="Global"/>
									</Rule>
								</Setting>
								<Setting Key1="UserVersion">
									<Rule Name="szRGUserVersion" Query="$.">
										<Variable Name="varFirstRG[UserVersion][%RGGUID%]" Scope="Global"/>
									</Rule>
								</Setting>
								<Setting Key1="BootGuid"/>
								<Setting Key1="SMTPAddress"/>
								<Setting Key1="X400Address"/>
								<Setting Key1="X500Address"/>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%RGGUID%&gt;">
									<Rule Name="fDirectoryErrorRG" Query="../Exception/@Message"/>
									<Setting Key1="cn">
										<Rule Name="szRGCN" Query="$."/>
									</Setting>
									<Setting Key1="distinguishedName">
										<Rule Name="szRGDN" Query="$."/>
									</Setting>
								</Object>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%RGMASTERGUID%&gt;">
									<Rule Name="fDirectoryErrorRGMaster" Query="../Exception/@Message"/>
									<Setting Key1="cn">
										<Rule Name="szRGMasterCN" Query="$."/>
									</Setting>
									<Setting Key1="distinguishedName">
										<Rule Name="szRGMasterDN" Query="$."/>
									</Setting>
								</Object>
								<Object Type="RoutingInfo" Key1="Children" Key2="Members">
									<Setting Key1="Guid" Substitution="RGMEMBERGUID">
										<Rule Name="szRGMemberGUID" Query="$."/>
										<Rule Name="fRGMemberFoundInDS" Query="$fRGFoundInDS and $.!='' and count($szRGMemberDN) &gt;0" Error="None" Title="Membro del gruppo di routing trovato nella directory" Text="Il membro del gruppo di routing (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestite dal server {2} è stato risolto nell'oggetto server Exchange '{4}' in Active Directory. Gruppo di routing: {3}." P1="$szRGMemberGUID" S2="%varExName%" P3="$szRGCN" P4="$szRGMemberDN"/>
										<Rule Name="fRGMemberNotFoundInDS" Query="$fRGFoundInDS and $.!='' and (not($fDirectoryErrorRGMember) and count($szRGMemberDN) &lt;1)" Error="Warning" Sev="2" Title="Membro del gruppo di routing non trovato nella directory" Text="Il membro del gruppo di routing (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestito dal server {2} in un oggetto in Active Directory. Gruppo di routing: {3}. Ciò potrebbe causare problemi di flusso di posta nel gruppo di routing." P1="$szRGMemberGUID" S2="%varExName%" P3="$szRGCN" AlwaysEvaluate="True"/>
										<Rule Name="fRGMemberFoundForRGNotInDS" Query="$fRGNotFoundInDS and $.!='' and count($szRGMemberDN) &gt;0" Error="Warning" Sev="3" Title="Membro del gruppo di routing in gruppo di routing eliminato" Text="Il gruppo di routing (GUID: {1}) non esiste in Active Directory. Tuttavia, le informazioni sullo stato del collegamento gestite dal server {2} indicano il server {4} come membro." P1="$szRGGUID" S2="%varExName%" P4="$szRGMemberCN"/>
									</Setting>
									<Setting Key1="ConnectToMaster">
										<Rule Name="fRGMemberConnectedToMaster" Query="$fRGFoundInDS and upper-case($.) = 'YES'" Error="None" Title="Nodo del membro del gruppo di routing connesso al server principale" Text="Il membro {4} del gruppo di routing '{3}' è connesso al server principale del gruppo di routing {2}." P2="$szRGMasterCN" P3="$szRGCN" P4="$szRGMemberCN"/>
										<Rule Name="fRGMemberNotConnectedtoMaster" Query="$fRGFoundInDS and upper-case($.) = 'NO' and not(contains($szRGCN,'Exchange Routing Group (DWBGZMFD01QNBJR)'))" Error="Error" Sev="2" ReportIssue="Issue" Title="Nodo del membro del gruppo di routing non connesso al server principale" Text="Il membro {4} del gruppo di routing '{3}' non è connesso al server principale del gruppo di routing {2}. Potrebbero verificarsi errori di routing." P2="$szRGMasterCN" P3="$szRGCN" P4="$szRGMemberCN"/>
									</Setting>
									<Setting Key1="ServerVersion"/>
									<Setting Key1="BuildVersion"/>
									<Setting Key1="Type"/>
									<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%RGMEMBERGUID%&gt;">
										<Rule Name="fDirectoryErrorRGMember" Query="../Exception/@Message"/>
										<Setting Key1="cn">
											<Rule Name="szRGMemberCN" Query="$."/>
										</Setting>
										<Setting Key1="distinguishedName">
											<Rule Name="szRGMemberDN" Query="$."/>
										</Setting>
									</Object>
								</Object>
								<Object Type="RoutingInfo" Key1="Children" Key2="Connectors">
									<Setting Key1="Guid" Substitution="CONNECTORGUID">
										<Rule Name="szConnectorGUID" Query="$."/>
										<Rule Name="fConnectorFoundInDS" Query="$fRGFoundInDS and $.!='' and count($szConnectorDN) &gt;0" Error="None" Title="Connettore trovato nella directory" Text="Il connettore (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestite dal server {2} è stato risolto nell'oggetto connettore '{4}' in Active Directory. Gruppo di routing: {3}." P1="$szConnectorGUID" S2="%varExName%" P3="$szRGCN" P4="$szConnectorDN"/>
										<Rule Name="fConnectorNotFoundInDS" Query="$fRGFoundInDS and $.!='' and (not($fDirectoryErrorConnector) and count($szConnectorDN) &lt;1)" Error="Warning" Sev="2" Title="Connettore contenuto nelle informazioni sullo stato del collegamento non trovato nella directory" Text="Il connettore (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestito dal server {2} in un oggetto in Active Directory. Gruppo di routing: {3}. Ciò potrebbe causare problemi di flusso di posta nel gruppo di routing." P1="$szConnectorGUID" S2="%varExName%" P3="$szRGCN" AlwaysEvaluate="True"/>
										<Rule Name="fConnectorForRGNotInDS" Query="$fRGNotFoundInDS and $.!=''" Error="Error" Sev="3" ReportIssue="Issue" Title="Possibile connettore orfano" Text="Il gruppo di routing (GUID: {1}) non esiste in Active Directory. Tuttavia, le informazioni sullo stato del collegamento gestite dal server {2} indicano un connettore per questo gruppo di routing. Ciò potrebbe causare route orfane." P1="$szRGGUID" S2="%varExName%"/>
									</Setting>
									<Setting Key1="Type"/>
									<Setting Key1="Source"/>
									<Setting Key1="Destination"/>
									<Setting Key1="LegacyDN"/>
									<Setting Key1="SchedId"/>
									<Setting Key1="Scope"/>
									<Setting Key1="Triggered"/>
									<Setting Key1="DisallowedPriorities"/>
									<Setting Key1="MaxMessageSize"/>
									<Setting Key1="OversizedSize"/>
									<Setting Key1="PfReferral"/>
									<Setting Key1="AcceptUserByDefault">
										<Rule Name="fDeniedByDefault" Query="$fConnectorFoundInDS and $.!=1" Error="Warning" Sev="3" Title="Connettore impostato in maniera predefinita per il rifiuto dei messaggi provenienti da qualsiasi mittente" Text="Per impostazione predefinita, il connettore '{4}' del gruppo di routing '{3}' è configurato per il rifiuto dei messaggi da qualsiasi mittente. Ciò potrebbe causare l'accodamento dei messaggi se le restrizioni non sono correttamente configurate." P3="$szRGCN" P4="$szConnectorCN"/>
									</Setting>
									<Setting Key1="AuthOrig">
										<Rule Name="fAuthOrigExists" Query="$fConnectorFoundInDS and $.!=''" Error="None" Title="Connettore impostato esplicitamente per l'accettazione dei messaggi provenienti da determinate cassette postali" Text="Il connettore '{4}' del gruppo di routing '{3}' è configurato esplicitamente per accettare i messaggi da determinate cassette postali." P3="$szRGCN" P4="$szConnectorCN"/>
									</Setting>
									<Setting Key1="DenyOrig">
										<Rule Name="fDenyOrigExists" Query="$fConnectorFoundInDS and $.!=''" Error="None" Title="Connettore impostato esplicitamente per il rifiuto dei messaggi provenienti da determinate cassette postali" Text="Il connettore '{4}' del gruppo di routing '{3}' è configurato esplicitamente per rifiutare i messaggi da determinate cassette postali." P3="$szRGCN" P4="$szConnectorCN"/>
									</Setting>
									<Setting Key1="AuthDL">
										<Rule Name="fAuthDLExists" Query="$fConnectorFoundInDS and $.!=''" Error="Warning" Sev="3" Title="Connettore impostato esplicitamente per l'accettazione dei messaggi provenienti da determinati gruppi di distribuzione" Text="Il connettore '{4}' del gruppo di routing '{3}' è configurato esplicitamente per accettare i messaggi da determinati gruppi di distribuzione. Ciò potrebbe causare l'accodamento dei messaggi se le restrizioni non sono correttamente configurate." P3="$szRGCN" P4="$szConnectorCN"/>
									</Setting>
									<Setting Key1="DenyDL">
										<Rule Name="fDenyDLExists" Query="$fConnectorFoundInDS and $.!=''" Error="Warning" Sev="3" Title="Connettore impostato esplicitamente per il rifiuto dei messaggi provenienti da determinati gruppi di distribuzione" Text="Il connettore '{4}' del gruppo di routing '{3}' è configurato esplicitamente per rifiutare i messaggi da determinati gruppi di distribuzione. Ciò potrebbe causare l'accodamento dei messaggi se le restrizioni non sono correttamente configurate." P3="$szRGCN" P4="$szConnectorCN"/>
									</Setting>
									<Setting Key1="State">
										<Rule Name="fConnectorUp" Query="$fConnectorFoundInDS and upper-case($.)='UP'" Error="None" Title="Connettore contrassegnato come 'UP'" Text="Lo stato del connettore '{4}' del gruppo di routing '{3}' è 'UP'." P3="$szRGCN" P4="$szConnectorCN"/>
										<Rule Name="fConnectorDown" Query="$fConnectorFoundInDS and upper-case($.)='DOWN'" Error="Warning" Sev="2" Title="Connettore contrassegnato come 'DOWN'" Text="Lo stato del connettore '{4}' del gruppo di routing '{3}' è 'DOWN'. Impossibile instradare al momento i messaggi tramite questo connettore." P3="$szRGCN" P4="$szConnectorCN"/>
									</Setting>
									<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%CONNECTORGUID%&gt;">
										<Rule Name="fDirectoryErrorConnector" Query="../Exception/@Message"/>
										<Setting Key1="cn">
											<Rule Name="szConnectorCN" Query="$."/>
										</Setting>
										<Setting Key1="distinguishedName">
											<Rule Name="szConnectorDN" Query="$."/>
										</Setting>
									</Object>
									<Object Type="RoutingInfo" Key1="Children" Key2="Arrows">
										<Setting Key1="Type"/>
										<Setting Key1="AddressSpace">
											<Rule Name="fAddressSpaceForRGNotInDS" Query="$fRGNotFoundInDS and $.!=''" Error="Error" Sev="3" ReportIssue="Issue" Title="Possibile spazio indirizzo orfano" Text="Il gruppo di routing (GUID: {1}) non esiste in Active Directory. Tuttavia, le informazioni sullo stato del collegamento gestite dal server {2} contengono lo spazio indirizzo '{3}' come destinazione del connettore del gruppo di routing. Potrebbero verificarsi problemi allo spazio indirizzo orfano." P1="$szRGGUID" S2="%varExName%" P3="$."/>
										</Setting>
										<Setting Key1="Weight"/>
									</Object>
									<Object Type="RoutingInfo" Key1="Children" Key2="LocalBHs">
										<Setting Key1="Guid" Substitution="LOCALBHGUID">
											<Rule Name="fLocalBHFoundInDS" Query="$fConnectorFoundInDS and $.!='' and count($szLocalBHDN) &gt;0" Error="None" Title="Server testa di ponte locale trovato nella directory" Text="Il server testa di ponte locale (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestite dal server {2} è stato risolto nell'oggetto server virtuale SMTP '{4}' in Active Directory. Gruppo di routing: {3}. Connettore: {5}." P1="$." S2="%varExName%" P3="$szRGCN" P4="$szLocalBHDN" P5="$szConnectorCN"/>
											<Rule Name="fLocalBHNotFoundInDS" Query="$fConnectorFoundInDS and $.!='' and (not($fDirectoryErrorLocalBH) and count($szLocalBHDN) &lt;1)" Error="Warning" Sev="2" Title="Server testa di ponte locale non trovato nella directory" Text="Il server testa di ponte locale (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestito dal server {2} in un oggetto in Active Directory. Gruppo di routing: {3}. Connettore: {5}. Ciò potrebbe causare problemi di flusso di posta nel connettore." P1="$." S2="%varExName%" P3="$szRGCN" P5="$szConnectorCN" AlwaysEvaluate="True"/>
										</Setting>
										<Setting Key1="Available">
											<Rule Name="fLocalBHAvailable" Query="$fLocalBHFoundInDS and upper-case($.)='CONN_AVAIL'" Error="None" Title="Server testa di ponte locale disponibile" Text="Il server testa di ponte locale {4} del connettore {5} (gruppo di routing: {3}) è attualmente disponibile. Stato: {1}." P1="$." P3="$szRGCN" P4="$szLocalBHFQDN" P5="$szConnectorCN"/>
											<Rule Name="fLocalBHNotAvailable" Query="$fLocalBHFoundInDS and upper-case($.)!='CONN_AVAIL'" Error="Warning" Sev="3" Title="Server testa di ponte locale non disponibile" Text="Il server testa di ponte locale {4} del connettore {5} (gruppo di routing: {3}) non è attualmente disponibile. Stato: {1}. I flussi di posta interessati da questo gruppo di routing potrebbero essere modificati." P1="$." P3="$szRGCN" P4="$szLocalBHFQDN" P5="$szConnectorCN"/>
										</Setting>
										<Setting Key1="FQDN">
											<Rule Name="szLocalBHFQDN" Query="$."/>
										</Setting>
										<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%LOCALBHGUID%&gt;">
											<Rule Name="fDirectoryErrorLocalBH" Query="../Exception/@Message"/>
											<Setting Key1="distinguishedName">
												<Rule Name="szLocalBHDN" Query="$."/>
											</Setting>
										</Object>
									</Object>
									<Object Type="RoutingInfo" Key1="Children" Key2="RemoteBHs">
										<Setting Key1="Guid" Substitution="REMOTEBHGUID">
											<Rule Name="fRemoteBHFoundInDS" Query="$fConnectorFoundInDS and $.!='' and count($szRemoteBHDN) &gt;0" Error="None" Title="Server testa di ponte remoto trovato nella directory" Text="Il server testa di ponte remoto (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestite dal server {2} è stato risolto nell'oggetto server virtuale SMTP '{4}' in Active Directory. Gruppo di routing: {3}. Connettore: {5}." P1="$." S2="%varExName%" P3="$szRGCN" P4="$szRemoteBHDN" P5="$szConnectorCN"/>
											<Rule Name="fRemoteBHNotFoundInDS" Query="$fConnectorFoundInDS and $.!='' and (not($fDirectoryErrorRemoteBH) and count($szRemoteBHDN) &lt;1)" Error="Warning" Sev="2" Title="Server testa di ponte remoto non trovato nella directory" Text="Il server testa di ponte remoto (GUID: {1}) trovato nelle informazioni sullo stato del collegamento gestito dal server {2} in un oggetto in Active Directory. Gruppo di routing: {3}. Connettore: {5}. Ciò potrebbe causare problemi di flusso di posta nel connettore." P1="$." S2="%varExName%" P3="$szRGCN" P5="$szConnectorCN" AlwaysEvaluate="True"/>
										</Setting>
										<Setting Key1="Available">
											<Rule Name="fRemoteBHAvailable" Query="$fRemoteBHFoundInDS and upper-case($.)='CONN_AVAIL'" Error="None" Title="Server testa di ponte remoto disponibile" Text="Il server testa di ponte remoto {4} del connettore {5} (gruppo di routing: {3}) è attualmente disponibile. Stato: {1}." P1="$." P3="$szRGCN" P4="$szRemoteBHFQDN" P5="$szConnectorCN"/>
											<Rule Name="fRemoteBHNotAvailable" Query="$fRemoteBHFoundInDS and upper-case($.)!='CONN_AVAIL'" Error="Warning" Sev="3" Title="Server testa di ponte remoto non disponibile" Text="Il server testa di ponte remoto {4} del connettore {5} (gruppo di routing: {3}) non è attualmente disponibile. Stato: {1}. I flussi di posta interessati da questo gruppo di routing potrebbero essere modificati." P1="$." P3="$szRGCN" P4="$szRemoteBHFQDN" P5="$szConnectorCN"/>
										</Setting>
										<Setting Key1="FQDN">
											<Rule Name="szRemoteBHFQDN" Query="$."/>
										</Setting>
										<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%REMOTEBHGUID%&gt;">
											<Rule Name="fDirectoryErrorRemoteBH" Query="../Exception/@Message"/>
											<Setting Key1="cn">
												<Rule Name="szRemoteBHCN" Query="$."/>
											</Setting>
											<Setting Key1="distinguishedName">
												<Rule Name="szRemoteBHDN" Query="$."/>
											</Setting>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>
						<Rule Name="fDirectoryError" Query="$fDirectoryErrorRG or $fDirectoryErrorRGMaster or $fDirectoryErrorRGMember or $fDirectoryErrorConnector or $fDirectoryErrorLocalBH or $fDirectoryErrorRemoteBH" Error="Error" Sev="2" Title="Impossibile accedere ai dati sulla directory" Text="Impossibile raccogliere i dati della directory dal server {2}. Potrebbe essere il risultato di un problema di connettività imprevisto. L'analisi dello stato del collegamento in questa fase potrebbe essere incompleto." S2="%varDCName%" AlwaysEvaluate="True"/>
					</Object>

					<Rule Name="szCheckLinkState" Query="'CheckLinkState'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fLinkStateIssueFound,string(@Title),$szExNoErrorStateText)" Title="È stato identificato almeno un potenziale problema dello stato del collegamento" AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema dello stato del collegamento identificato"/>
					<Rule Name="szCheckLinkStateResult" Query="string(@Title)" Title="Risultati analisi stato collegamento">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="fLinkStateIssueFound" Query="$fRGNotFoundInDS or $fRGNoMember or $fRGNoConnector or $fRGMasterNotSpecified or $fRGMasterNotFoundInDS or $fRGMasterFoundForRGNotInDS or $fMajorVersionZero or $fRGMemberNotFoundInDS or $fRGMemberFoundForRGNotInDS or $fRGMemberNotConnectedtoMaster or $fConnectorNotFoundInDS or $fConnectorForRGNotInDS or $fAuthDLExists or $fDenyDLExists or $fConnectorDown or $fAddressSpaceForRGNotInDS or $fLocalBHNotFoundInDS or $fLocalBHNotAvailable or $fRemoteBHNotFoundInDS or $fRemoteBHNotAvailable" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckLinkStateStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckLinkStateChurn" Title="Controlla modifiche versione dello stato del collegamento" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varFirstLinkStateDateTime%" Substitution="varFirstLinkStateDateTime" Display="Hide"/>
			<Setting Key1="%varServersContainerMissing%" Substitution="varServersContainerMissing" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo modifiche versione dello stato del collegamento in corso..." Text="Attendere. Controllo delle eventuali modifiche della versione dello stato del collegamento sul server {2} in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="Link State Information" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<!-- First we check whether we need to 'sleep' so that the second access happens at least 1 minute after the first -->
					<Object Type="WMI" Key1="" Key3="Win32_OperatingSystem">
						<Setting Key1="LocalDateTime" Substitution="SECONDLINKSTATEDATETIME" Format="CIMDateTime">
							<Rule Name="iRawAccessIntervalSeconds" Query="get-seconds(date-difference($., '%varFirstLinkStateDateTime%'))"/>
							<Rule Name="iAdjAccessIntervalSeconds" Query="if($iRawAccessIntervalSeconds &gt; 60, $iRawAccessIntervalSeconds, 60)"/>
						</Setting>
						<Object Type="If" Name="Sleep" Key1="get-seconds(date-difference('%SECONDLINKSTATEDATETIME%', '%varFirstLinkStateDateTime%')) &lt; 60" Display="Hide">
							<Setting Key1="60 - number(get-seconds(date-difference('%SECONDLINKSTATEDATETIME%', '%varFirstLinkStateDateTime%')))" Substitution="SLEEPSECONDS" Display="Hide"/>
							<Object Type="Sleep" Name="LinkStateChurnSleep" Key1="%SLEEPSECONDS%"/>
						</Object>
					</Object>
					<!-- Now we collect the link state data second time -->
					<Object Type="LinkState" Name="LinkState" Key1="%varExName%">
						<Setting Key1="NodeInfo" Format="RoutingInfo"/>
						<Setting Key1="OrgInfo" Format="RoutingInfo"/>
						<Object Type="RoutingInfo" Key1="NodeInfo">
							<Setting Key1="Response"/>
						</Object>
						<Object Type="RoutingInfo" Key1="OrgInfo">
							<Setting Key1="Guid"/>
							<Setting Key1="Digest"/>
							<Object Type="RoutingInfo" Key1="Children" Key2="RoutingGroups" Class="Gruppo di routing" GroupingClass="True">
								<Setting Key1="Guid" Substitution="RGGUID">
									<Rule Name="szRGDisplay" Query="if(count($szRGCN) &gt;0, $szRGCN, '%RGGUID%')"/>
								</Setting>
								<Setting Key1="MajorVersion">
									<Rule Name="fRGMajorVersionZero" Query="$.='0'"/>
									<Rule Name="fRGMajorVersionChangeError" Query="(hex($.) - hex($szFirstRGMajorVersion)) div $iAdjAccessIntervalSeconds &gt; 0.06666" Error="Error" Sev="2" ReportIssue="Issue" Title="Modifica versione principale dello stato del collegamento" Text="La versione principale per il gruppo di routing '{3}' è in corso di modifica molto rapida sul server {2} ({9} modifiche della versione rilevate in {8} secondi). Modifiche eccessive della versione possono provocare problemi di flusso della posta. Numero di versione principale più recente: {6}." S2="%varExName%" P3="$szRGDisplay" P6="$." P8="$iAdjAccessIntervalSeconds" P9="hex($.) - hex($szFirstRGMajorVersion)"/>
									<Rule Name="fRGMajorVersionChangeWarning" Query="not($fRGMajorVersionChangeError) and (hex($.) - hex($szFirstRGMajorVersion)) div $iAdjAccessIntervalSeconds &gt; 0.03333" Error="Warning" Sev="2" Title="Modifica versione principale dello stato del collegamento" Text="È possibile che la versione principale per il gruppo di routing '{3}' sia in corso di modifica rapida sul server {2} ({9} modifiche della versione rilevate in {8} secondi). Verificare se si tratta di un comportamento intenzionale. Numero di versione principale più recente: {6}." S2="%varExName%" P3="$szRGDisplay" P6="$." P8="$iAdjAccessIntervalSeconds" P9="hex($.) - hex($szFirstRGMajorVersion)"/>
									<Rule Name="fRGMajorVersionChange" Query="not($fRGMajorVersionChangeError or $fRGMajorVersionChangeWarning) and hex($.) &gt; hex($szFirstRGMajorVersion)" Error="None" Title="Modifica versione principale dello stato del collegamento" Text="La versione principale per il gruppo di routing '{3}' è stata modificata sul server {2} durante l'esecuzione dello strumento. Numero di versione principale più recente: {6}. Numero della prima versione principale rilevata: {1}." P1="$szFirstRGMajorVersion" S2="%varExName%" P3="$szRGDisplay" P6="$."/>
									<Rule Name="fServersContainerPotentialRootCause" Query="$fRGMajorVersionChangeError and '%varServersContainerMissing%'='1'" Error="Error" Sev="2" ReportIssue="RootCause" Title="Potenziale problema di contenitore 'Server' mancante" Text="Il problema di contenitore 'Server' mancante in Active Directory potrebbe essere la causa del problema della coda 'Messaggi in attesa di essere reinstradati' sul server {2}." S2="%varExName%"/>
								</Setting>
								<Setting Key1="MinorVersion">
									<Rule Name="fRGMinorVersionChangeError" Query="not($fRGMajorVersionZero) and (hex($.) - hex($szFirstRGMinorVersion)) div $iAdjAccessIntervalSeconds &gt; 0.06666" Error="Error" Sev="2" ReportIssue="Issue" Title="Modifica versione secondaria dello stato del collegamento" Text="La versione secondaria per il gruppo di routing '{3}' è in corso di modifica molto rapida sul server {2} ({9} modifiche della versione rilevate in {8} secondi). Ciò può essere causato da oscillazioni dello stato del collegamento laddove i connettori vengono ripetutamente contrassegnati come 'SU' e quindi 'GIÙ'. Numero di versione secondaria più recente: {6}." S2="%varExName%" P3="$szRGDisplay" P6="$." P8="$iAdjAccessIntervalSeconds" P9="hex($.) - hex($szFirstRGMinorVersion)"/>
									<Rule Name="fRGMinorVersionChangeWarning" Query="not($fRGMajorVersionZero or $fRGMinorVersionChangeError) and (hex($.) - hex($szFirstRGMinorVersion)) div $iAdjAccessIntervalSeconds &gt; 0.03333" Error="Warning" Sev="2" Title="Modifica versione secondaria dello stato del collegamento" Text="È possibile che la versione secondaria per il gruppo di routing '{3}' sia in corso di modifica rapida sul server {2} ({9} modifiche della versione rilevate in {8} secondi). Ciò può essere causato da oscillazioni dello stato del collegamento laddove i connettori vengono ripetutamente contrassegnati come 'SU' e quindi 'GIÙ'. Numero di versione secondaria più recente: {6}." S2="%varExName%" P3="$szRGDisplay" P6="$." P8="$iAdjAccessIntervalSeconds" P9="hex($.) - hex($szFirstRGMinorVersion)"/>
									<Rule Name="fRGMinorVersionChange" Query="not($fRGMinorVersionChangeError or $fRGMinorVersionChangeWarning) and hex($.) &gt; hex($szFirstRGMinorVersion)" Error="None" Title="Modifica versione secondaria dello stato del collegamento" Text="La versione secondaria per il gruppo di routing '{3}' è stata modificata sul server {2} durante l'esecuzione dello strumento. Numero di versione secondaria più recente: {6}. Numero della prima versione secondaria rilevata: {1}." P1="$szFirstRGMinorVersion" S2="%varExName%" P3="$szRGDisplay" P6="$."/>
								</Setting>
								<Setting Key1="UserVersion">
									<Rule Name="fRGUserVersionChangeError" Query="(hex($.) - hex($szFirstRGUserVersion)) div $iAdjAccessIntervalSeconds &gt; 0.06666" Error="Error" Sev="2" ReportIssue="Issue" Title="Modifica versione utente dello stato del collegamento" Text="La versione utente per il gruppo di routing '{3}' è in corso di modifica molto rapida sul server {2} ({9} modifiche della versione rilevate in {8} secondi). Modifiche eccessive della versione possono provocare problemi di flusso della posta. Numero di versione utente più recente: {6}." S2="%varExName%" P3="$szRGDisplay" P6="$." P8="$iAdjAccessIntervalSeconds" P9="hex($.) - hex($szFirstRGUserVersion)"/>
									<Rule Name="fRGUserVersionChangeWarning" Query="not($fRGUserVersionChangeError) and (hex($.) - hex($szFirstRGUserVersion)) div $iAdjAccessIntervalSeconds &gt; 0.03333" Error="Warning" Sev="2" Title="Modifica versione utente dello stato del collegamento" Text="È possibile che la versione utente per il gruppo di routing '{3}' sia in corso di modifica rapida sul server {2} ({9} modifiche della versione rilevate in {8} secondi). Verificare se si tratta di un comportamento intenzionale. Numero di versione utente più recente: {6}." S2="%varExName%" P3="$szRGDisplay" P6="$." P8="$iAdjAccessIntervalSeconds" P9="hex($.) - hex($szFirstRGUserVersion)"/>
									<Rule Name="fRGUserVersionChange" Query="not($fRGUserVersionChangeError or $fRGUserVersionChangeWarning) and hex($.) &gt; hex($szFirstRGUserVersion)" Error="None" Title="Modifiche versione principale dello stato del collegamento" Text="La versione utente per il gruppo di routing '{3}' è stata modificata sul server {2} durante l'esecuzione dello strumento. Numero di versione utente più recente: {6}. Numero della prima versione utente rilevata: {1}." P1="$szFirstRGUserVersion" S2="%varExName%" P3="$szRGDisplay" P6="$."/>
								</Setting>
								<Object Type="Variable" Key1="Scalar" Display="Hide">
									<Setting Key1="%varFirstRG[MajorVersion][%RGGUID%]%" Substitution="varFirstRG[MajorVersion]" Display="Hide"/>
									<Setting Key1="%varFirstRG[MinorVersion][%RGGUID%]%" Substitution="varFirstRG[MinorVersion]" Display="Hide"/>
									<Setting Key1="%varFirstRG[UserVersion][%RGGUID%]%" Substitution="varFirstRG[UserVersion]" Display="Hide"/>
									<Object Type="Group" Name="First Access Version Numbers" Display="Hide">
										<Setting Display="Hide">
											<Rule Name="szFirstRGMajorVersion" Query="'%varFirstRG[MajorVersion]%'"/>
											<Rule Name="szFirstRGMinorVersion" Query="'%varFirstRG[MinorVersion]%'"/>
											<Rule Name="szFirstRGUserVersion" Query="'%varFirstRG[UserVersion]%'"/>
										</Setting>
									</Object>
								</Object>
								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%RGGUID%&gt;">
									<Rule Name="fDirectoryErrorRG" Query="../Exception/@Message"/>
									<Setting Key1="cn">
										<Rule Name="szRGCN" Query="$."/>
									</Setting>
									<Setting Key1="distinguishedName">
										<Rule Name="szRGDN" Query="$."/>
									</Setting>
								</Object>
							</Object>
						</Object>
						<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
							<Setting>
								<Rule Name="fNoVersionChangeDetected" Query="not($fRGMajorVersionChangeError or $fRGMajorVersionChangeWarning or $fRGMajorVersionChange or $fRGMinorVersionChangeError or $fRGMinorVersionChangeWarning or $fRGMinorVersionChange or $fRGUserVersionChangeError or $fRGUserVersionChangeWarning or $fRGUserVersionChange)" Error="None" Title="Nessuna modifica della versione dello stato del collegamento rilevata" Text="Nessuna modifica della versione dello stato del collegamento rilevata sul server {2} durante l'esecuzione dello strumento." S2="%varExName%" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
					</Object>

					<Rule Name="szCheckLinkStateChurn" Query="'CheckLinkStateChurn'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fPossibleLinkStateChurnFound,string(@Title),$szExNoErrorStateText)" Title="È stato identificato almeno un potenziale problema di modifica della versione dello stato del collegamento" AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema di modifica della versione dello stato del collegamento identificato"/>
					<Rule Name="szCheckLinkStateResult" Query="string(@Title)" Title="Risultati analisi modifica della versione dello stato del collegamento">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule Name="fPossibleLinkStateChurnFound" Query="$fRGMajorVersionChangeError or $fRGMajorVersionChangeWarning or $fRGMinorVersionChangeError or $fRGMinorVersionChangeWarning or $fRGUserVersionChangeError or $fRGUserVersionChangeWarning" AlwaysEvaluate="True"/>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckLinkChurnStateStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>

				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckDNSRecords" Title="Verifica record DNS server locale" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstanceName%" Substitution="varAllSMTPInstanceName" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstanceFQDN%" Substitution="varAllSMTPInstanceFQDN" Display="Hide"/>
			<Setting Key1="%varAllDNSAddress%" Substitution="varAllDNSAddress" Display="Hide"/>
			<Setting Key1="%varAllExIPAddress%" Substitution="varAllExIPAddress" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica dei record DNS in corso" Text="Attendere. Controllo della capacità dei server DNS utilizzati dal server {2} di restituire record validi in corso..." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Group" Name="DNS Records" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<!-- Let's check whether each DNS contains the records of each destination server -->
						<Object Type="If" Name="DNSAvailableServer" Key1="'%varAllDNSAddress%'!=';'">
							<Object Type="Variable" Name="SMTP Instance List" Key1="Unpack" Key2="%varAllSMTPInstanceFQDN%">
								<Setting Key1="__KEY" Substitution="SORTKEY"/>
								<Setting Key1="__VALUE" Substitution="SMTPVSFQDN">
									<Rule Name="szSMTPVSFQDN" Query="lower-case($.)"/>
								</Setting>
								<Object Type="DNS" Name="SMTP Virtual Server Host Record" Key1="%varAllDNSAddress%" Key2="%SMTPVSFQDN%" Async="100">
									<Setting Key1="A">
										<Rule Name="szSMTPVSResolvedHost" Query="if ($.[4] != 'DNS Query Result = ', substring-after($.[4],'DNS Query Result = '))"/>
									</Setting>
									<Rule Name="fSMTPVSNoHostRecords" Query="count ($szSMTPVSResolvedHost) &lt;1" Error="Error" Sev="2" ReportIssue="Issue" Title="Nessun record 'Host' trovato per l'istanza SMTP '{3}'" Text="Impossibile ottenere i record dell'host (A) per l'istanza SMTP &quot;{3}&quot; (nome di dominio completo: {1}) da alcun server DNS utilizzato dal server {2}. Ciò potrebbe causare problemi di distribuzione della posta." S1="%SMTPVSFQDN%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" GUID="4fcf5a4f-0180-4af5-a60e-e1d9da1d50bf" AlwaysEvaluate="True"/>
									<Rule Name="fSMTPVSHostRecordsFound" Query="count ($szSMTPVSResolvedHost) &gt;0" Error="None" Title="Record 'Host' trovati per l'istanza SMTP '{3}'" Text="L'indirizzo IP risolto dell'istanza SMTP {3} (nome di dominio completo: {1}) è {4}" S1="%SMTPVSFQDN%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="join(',', $szSMTPVSResolvedHost)"/>
								</Object>
							</Object>
							<Object Type="Cache" Name="IP Address Cache" Key1="Add" Key2="ExIPAddress" Key3="%varAllExIPAddress%" Key4=";" Display="Hide">
								<Setting Key1="IPAddress" Substitution="EXIPADDRESS"/>
								<Object Type="DNS" Name="Server Pointer Record" Key1="%varAllDNSAddress%" Key2="%varExName%" Async="100">
									<Setting Key1="PTR" Key2="%EXIPADDRESS%">
										<Rule Name="szServerResolvedPointer" Query="if ($.[4] != 'DNS Query Result = ', substring-after($.[4],'DNS Query Result = '))"/>
										<Rule Name="fServerResolvedPointerNoMatch" Query="string-length($szServerResolvedPointer) &gt;0 and count($szSMTPVSFQDN[.=lower-case($szServerResolvedPointer)]) &lt;1" Error="Warning" Sev="3" Title="Il record 'Pointer' non corrisponde all'istanza SMTP" Text="Il record Pointer (PTR) {1} non corrisponde ad alcun nome di dominio completo dell'istanza SMTP sul server {2}. Ciò potrebbe causare problemi di routing quando i server remoti hanno un filtro per mappare un indirizzo IP a un nome server." P1="$szServerResolvedPointer" S2="%varExName%" AlwaysEvaluate="True"/>
									</Setting>
									<Rule Name="fServerNoPointerRecords" Query="count ($szServerResolvedPointer) &lt;1" Error="Error" Sev="2" ReportIssue="Issue" Title="Nessun record 'Pointer' trovato per l'indirizzo IP {4}" Text="Non è possibile ottenere alcun record Pointer (PTR) per l'indirizzo IP {4} da uno dei server DNS utilizzati dal server {2}. Ciò potrebbe causare problemi di routing quando il server {2} invia messaggi ai server remoti che eseguono ricerche DNS inverse." S2="%varExName%" S4="%EXIPADDRESS%" AlwaysEvaluate="True"/>
									<Rule Name="fServerPointerRecordsFound" Query="count ($szServerResolvedPointer) &gt;0" Error="None" Title="Record 'Pointer' trovati per l'indirizzo IP {4}" Text="Il record Pointer (PTR) dell'indirizzo IP {4} è {1}" P1="join(',', $szServerResolvedPointer)" S4="%EXIPADDRESS%"/>
								</Object>
							</Object>
						</Object>
						<Rule Name="szCheckDNSRecords" Query="'CheckDNSRecords'">
							<Variable Name="varPreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szExErrorStateText" Query="if($fDNSRecordIssueFound,string(@Title),$szExNoErrorStateText)" Title="È stato identificato almeno un potenziale problema del record DNS" AlwaysEvaluate="True">
							<Variable Name="varErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema del record DNS identificato."/>
						<Rule Name="szCheckLinkStateResult" Query="string(@Title)" Title="Risultati analisi record DNS">
							<Variable Name="varDisplayTitle" Scope="Global"/>
						</Rule>

						<Rule Name="fDNSRecordIssueFound" Query="$fSMTPVSNoHostRecords or $fServerResolvedPointerNoMatch or $fServerNoPointerRecords" AlwaysEvaluate="True"/>

						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckLinkStateStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckDomainRouting" Title="Verifica informazioni routing dominio" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstance%" Substitution="varAllSMTPInstance" Display="Hide"/>
			<Setting Key1="%varAllSMTPInstanceName%" Substitution="varAllSMTPInstanceName" Display="Hide"/>
			<Setting Key1="%varAllConcatRCPTAddressServerBindingList%" Substitution="varAllConcatRCPTAddressServerBindingList" Display="Hide"/>
			<Setting Key1="%varExOrgDN%" Substitution="varExOrgDN" Display="Hide"/>
			<Setting Key1="%varExDN%" Substitution="varExDN" Display="Hide"/>
			<Setting Key1="%varSelSymptom%" Substitution="varSelSymptom" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varIsExchange2000or2003%" Substitution="varIsExchange2000or2003" Display="Hide"/>

			<Object Type="Progress" Title="Verifica delle informazioni di routing del dominio in corso" Text="Attendere. Controllo della coerenza delle informazioni di routing del dominio archiviate nelle origini in corso..." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="If" Name="Exchange 2000/2003 Domain Routing" Key1="'%varIsExchange2000or2003%'='1'" Display="Hide">
					<Object Type="Group" Name="Domain Routing" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">
						<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
							<!-- Let's first look at Recipient policies -->
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Recipient Policies,%varExOrgDN%" Key4="OneLevel">
								<Setting Key1="cn">
									<Rule Name="szRecipPolicyCN" Query="$."/>
								</Setting>
								<Setting Key1="disabledGatewayProxy"/>
								<Setting Key1="gatewayProxy" Substitution="POLICYADDRESSLIST" SubstitutionFormat="$----::">
									<Rule Name="szDomain" Query="$."/>
									<Rule Name="szPrimarySMTPDomain" Query="substring-after($.[contains(., 'SMTP:')], '@')"/>
									<Rule Name="fDoubleDotRecipPolicy" Query="count($.[(contains(., 'SMTP:') or contains(., 'smtp:')) and contains(., '..')]) &gt;0" Error="Error" Sev="3" ReportIssue="Issue" Title="Possibile indirizzo SMTP 'punto doppio' nel criterio destinatario" Text="Il criterio destinatario '{3}' contiene almeno un indirizzo SMTP con due punti consecutivi (es. @domain..com). Ciò può causare problemi di flusso di posta. Indirizzi SMTP configurati: {1}" P1="join('; ', $.[(contains(., 'SMTP:') or contains(., 'smtp:')) and contains(., '..')])" P3="$szRecipPolicyCN"/>
								</Setting>
								<Setting Key1="msExchNonAuthoritativeDomains">
									<Rule Name="szNonAuthDomain" Query="$."/>
									<Rule Name="fDefaultPrimarySMTPNonAuth" Query="$fDefaultRecipPolicy and count($.[.=concat('SMTP:@', $szPrimarySMTPDomain)]) &gt;0" Error="Error" Sev="3" ReportIssue="Issue" Title="Indirizzo SMTP primario non attendibile per criterio destinatario predefinito" Text="Il dominio SMTP '{1}' è impostato come indirizzo SMTP primario del criterio destinatario predefinito ma Exchange non è attendibile per esso. Potrebbero verificarsi problemi di flusso di posta locale." P1="$szPrimarySMTPDomain"/>
								</Setting>
								<Setting Key1="msExchPolicyOrder">
									<Rule Name="fDefaultRecipPolicy" Query="$.=2147483647"/>
								</Setting>

								<!-- Let's check SMTP connectors and the metabase to see if they are consitent with recipient policies -->
								<Object Type="Cache" Name="Gateway Proxy" Key1="Add" Key2="PolicyAddress" Key3="%POLICYADDRESSLIST%" Key4="::" Display="Hide">
									<Setting Key1="Address" Substitution="POLICYADDRESS"/>
									<Object Type="If" Key1="contains(upper-case('%POLICYADDRESS%'), 'SMTP:')">
										<Setting Key1="'%POLICYADDRESS%'" Substitution="SMTPADDRESS" SubstitutionFormat="^.*@(.*?)$----$1">
											<Rule Name="fAuthDomain" Query="count($szNonAuthDomain[.='%POLICYADDRESS%']) &lt;1" AlwaysEvaluate="True"/>
										</Setting>
										<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectClass=msExchRoutingSMTPConnector)(routingList=SMTP:%SMTPADDRESS%;*))">
											<Rule Name="fDirectoryConnectException" Query="../Exception/@Message" Error="Error" Sev="2" Title="Errore durante l'accesso ad Active Directory" Text="Impossibile raccogliere i dati della directory dal server {2}. La causa può essere un problema di rete o di autorizzazione. Errore: {1}" P1="../Exception/@Message" S2="%varDCName%" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61"/>
											<Rule Name="fSMTPConnectorForNonAuthNotFound" Query="not($fAuthDomain) and not($fDirectoryConnectException) and count($szRecipSMTPConnDN) &lt;1" Error="Warning" Sev="3" Title="Nessun connettore SMTP per dominio non attendibile" Text="Nessun connettore SMTP trovato per lo spazio indirizzo SMTP non attendibile '{1}'. Exchange non è in grado di inoltrare messaggi a un server SMTP esterno se non è possibile risolvere il destinatario." S1="%SMTPADDRESS%" AlwaysEvaluate="True"/>
											<Setting Key1="cn">
												<Rule Name="szRecipSMTPConnCN" Query="$."/>
												<Rule Name="fSMTPConnectorForAuthFound" Query="$fAuthDomain and $.!=''" Error="Warning" Sev="2" Title="Connettore SMTP a dominio SMTP attendibile" Text="Il connettore SMTP '{4}' è configurato per instradare i messaggi al dominio SMTP '{1}', per il quale questa organizzazione di Exchange è attendibile. Verificare che la configurazione sia corretta." S1="%SMTPADDRESS%" P4="$."/>
											</Setting>
											<Setting Key1="distinguishedName">
												<Rule Name="szRecipSMTPConnDN" Query="$."/>
											</Setting>
											<Setting Key1="msExchSmtpOutboundSecurityFlag">
												<Rule Name="fRelayNotAllowedNonAuth" Query="not($fAuthDomain) and bitwise-and($.,4096)=0" Error="Warning" Sev="2" Title="Inoltro non consentito a domini SMTP non attendibili" Text="Il connettore SMTP '{4}' non è configurato per consentire l'inoltro dei messaggi allo spazio indirizzo SMTP non attendibile '{1}'. È necessario abilitarlo per inoltrare i messaggi non risolti a un server SMTP esterno." S1="%SMTPADDRESS%" P4="$szRecipSMTPConnCN"/>
											</Setting>
											<Setting Key1="msExchSourceBridgeheadServersDN">
												<Rule Name="szSMTPConnectorSourceBH" Query="$."/>
												<Rule Name="fSMTPConnectorBHNotIncluded" Query="not($fAuthDomain) and count($fSMTPConnectorBHIncluded) &lt;1" Error="Warning" Sev="2" Title="Server testa di ponte per dominio SMTP non attendibile" Text="Nessuna istanza SMTP sul server {2} è impostata per accettare e inoltrare i messaggi indirizzati allo spazio indirizzo SMTP non attendibile '{1}' tramite il connettore SMTP '{4}'. Il server {2} non è in grado di ricevere messaggi indirizzati a '{1}' da Internet." S1="%SMTPADDRESS%" S2="%varExName%" P4="$szRecipSMTPConnCN" AlwaysEvaluate="True"/>
											</Setting>
											<Object Type="Variable" Name="SMTP Instances" Key1="Unpack" Key2="%varAllSMTPInstance%">
												<Setting Key1="__KEY" Substitution="SORTKEY"/>
												<Setting Key1="__VALUE" Substitution="SMTPINSTANCE">
													<Rule Name="fSMTPConnectorBHIncluded" Query="not($fAuthDomain) and count($szSMTPConnectorSourceBH[upper-case(.)=upper-case('CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%')]) &gt;0" Error="None" Title="Server testa di ponte per dominio SMTP non attendibile" Text="L'istanza SMTP '{3}'sul server {2} è impostata per accettare e inoltrare i messaggi indirizzati allo spazio indirizzo SMTP non attendibile '{1}' tramite il connettore SMTP '{4}'." S1="%SMTPADDRESS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szRecipSMTPConnCN"/>
												</Setting>
											</Object>
										</Object>
										<Object Type="Variable" Name="SMTP Instances" Key1="Unpack" Key2="%varAllSMTPInstance%">
											<Setting Key1="__KEY" Substitution="SORTKEY"/>
											<Setting Key1="__VALUE" Substitution="SMTPINSTANCE"/>
											<Object Type="Metabase" Key1="%varExName%" Key2="LM/SmtpSvc/%SMTPINSTANCE%/Domain/%SMTPADDRESS%" Timeout="%300">
												<Rule Name="fAuthDomainMetabaseException" Query="$fAuthDomain and ../Exception/@Message" Error="Error" Sev="2" ReportIssue="Issue" Title="Dominio SMTP attendibile non trovato nella metabase" Text="Il dominio SMTP '{1}' è impostato come spazio indirizzo attendibile nel criterio destinatario '{3}', ma non è possibile recuperare alcun record corrispondente dalla metabase per l'istanza SMTP '{4}' sul server {2}. Controllare che si tratti di un problema temporaneo di accesso alla metabase oppure se non esiste alcun record. Errore: {0}" P0="../Exception/@Message" S1="%SMTPADDRESS%" S2="%varExName%" P3="$szRecipPolicyCN" P4="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" AlwaysEvaluate="True"/>
												<Rule Name="fAuthDomainEntryNotFound" Query="$fAuthDomain and not($fAuthDomainMetabaseException) and count ($szAuthDomainGUID) &lt;1" Error="Error" Sev="2" ReportIssue="Issue" Title="Dominio SMTP attendibile non trovato nella metabase" Text="Il dominio SMTP '{1}' è impostato come spazio indirizzo attendibile nel criterio destinatario '{3}', ma non è possibile trovare alcun record corrispondente nella metabase per l'istanza SMTP '{4}' sul server {2}. Potrebbero verificarsi problemi nei messaggi indirizzati al dominio '{1}'." S1="%SMTPADDRESS%" S2="%varExName%" P3="$szRecipPolicyCN" P4="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" AlwaysEvaluate="True"/>
												<Setting Key1="36946" Key2="RouteAction">
													<Rule Name="fAuthDomainNotLocal" Query="$fAuthDomain and $.!=32" Error="Error" Sev="2" ReportIssue="RootCause" Title="Dominio SMTP attendibile non impostato come locale nella metabase" Text="Il dominio SMTP '{1}' è impostato come spazio indirizzo attendibile nel criterio destinatario '{3}', ma la proprietà '{5}' nella metabase dell'istanza SMTP '{4}' sul server {2} non indica che è un dominio locale. I messaggi indirizzati al dominio '{1}' potrebbero non essere recapitati. Valore di '{5}' corrente: {8} (Valore previsto: {9})" S1="%SMTPADDRESS%" S2="%varExName%" P3="$szRecipPolicyCN" P4="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P5="../@Key2" P8="$." S9="32"/>
													<Rule Name="fNonAuthDomainLocal" Query="not($fAuthDomain) and $.=32" Error="Error" Sev="2" ReportIssue="Issue" Title="Dominio SMTP non attendibile impostato come locale nella metabase" Text="Il dominio SMTP '{1}' è impostato come spazio indirizzo non attendibile nel criterio destinatario '{3}', ma la proprietà '{5}' nella metabase dell'istanza SMTP '{4}' sul server {2} indica che è un dominio locale. Exchange potrebbe non essere in grado di inoltrare i messaggi a un server SMTP esterno quando non è possibile risolvere il destinatario. Valore di '{5}' corrente: {8}" S1="%SMTPADDRESS%" S2="%varExName%" P3="$szRecipPolicyCN" P4="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P5="../@Key2" P8="$."/>
												</Setting>
												<Setting Key1="61536">
													<Rule Name="szAuthDomainGUID" Query="$."/>
												</Setting>
											</Object>
										</Object>
									</Object>
								</Object>
								<Rule Name="fNoRecipPolicyIssueFound" Query="count($szRecipPolicyCN) &gt;0 and count($fDoubleDotRecipPolicy) &lt;1 and count($fDefaultPrimarySMTPNonAuth) &lt;1 and count($fDirectoryConnectException) &lt;1 and count($fSMTPConnectorForNonAuthNotFound) &lt;1 and count($fSMTPConnectorForAuthFound) &lt;1 and count($fRelayNotAllowedNonAuth) &lt;1 and count($fSMTPConnectorBHNotIncluded) &lt;1 and count($fAuthDomainMetabaseException) &lt;1 and count($fAuthDomainEntryNotFound) &lt;1 and count($fAuthDomainNotLocal) &lt;1 and count($fNonAuthDomainLocal) &lt;1" AlwaysEvaluate="True"/>
							</Object>
							<!-- Second, let's check SMTP connectors -->
							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Administrative Groups,%varExOrgDN%" Key3="(&amp;(objectClass=msExchRoutingSMTPConnector)(routingList=SMTP:*))">
								<Setting Key1="cn">
									<Rule Name="szSMTPConnectorCN" Query="$."/>
								</Setting>
								<Setting Key1="msExchSmtpOutboundSecurityFlag">
									<Rule Name="fSMTPConnectorRelayAllowed" Query="bitwise-and($.,4096)!=0"/>
								</Setting>
								<Setting Key1="msExchSmtpSmartHost" Substitution="SMARTHOST" SubstitutionFormat=",----;">
									<Rule Name="szSMTPConnectorSmartHost" Query="$."/>
								</Setting>
								<Setting Key1="routingList" Substitution="ROUTINGLIST" SubstitutionFormat="$----::">
									<Rule Name="fDoubleDotSMTPConnector" Query="count($.[contains(., 'SMTP:') and contains(., '..')]) &gt;0" Error="Error" Sev="3" ReportIssue="Issue" Title="Possibile indirizzo SMTP 'punto doppio' nello spazio indirizzo del connettore SMTP" Text="Il connettore SMTP '{3}' contiene almeno uno spazio indirizzo SMTP con due punti consecutivi (es. @domain..com). Ciò può causare problemi di flusso di posta. Indirizzi SMTP configurati: {1}" P1="join('; ', $.[contains(., 'SMTP:') and contains(., '..')])" P3="$szSMTPConnectorCN"/>
								</Setting>
								<Setting Key1="msExchSourceBridgeheadServersDN" Substitution="SMTPCONNECTORBH" SubstitutionFormat="$----;"/>
								<!-- Address space entries in metabase are checked -->
								<Object Type="Cache" Name="Routing List" Key1="Add" Key2="AddressSpace" Key3="%ROUTINGLIST%" Key4="::" Display="Hide">
									<Setting Key1="Address" Substitution="ADDRESSSPACE"/>
									<Object Type="If" Key1="contains(upper-case('%ADDRESSSPACE%'), 'SMTP:')">
										<Setting Key1="'%ADDRESSSPACE%'" Substitution="SMTPADDRESS" SubstitutionFormat="^.*:(.*?);.*$----$1"/>
										<Object Type="Variable" Name="SMTP Instances" Key1="Unpack" Key2="%varAllSMTPInstance%">
											<Setting Key1="__KEY" Substitution="SORTKEY"/>
											<Setting Key1="__VALUE" Substitution="SMTPINSTANCE"/>
											<Object Type="If" Key1="contains(upper-case('%SMTPCONNECTORBH%'), upper-case('CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%'))">
												<Object Type="Metabase" Key1="%varExName%" Key2="LM/SmtpSvc/%SMTPINSTANCE%/Domain/%SMTPADDRESS%" Timeout="%300">
													<Rule Name="fAddressSpaceMetabaseException" Query="../Exception/@Message" Error="Error" Sev="2" ReportIssue="Issue" Title="Spazio indirizzo del connettore SMTP non trovato nella metabase" Text="Il dominio SMTP '{1}' è impostato come spazio indirizzo per il connettore SMTP '{4}' ma non è possibile recuperare alcun record corrispondente dalla metabase dell'istanza SMTP '{3}' sul server {2}. Controllare che si tratti di un problema temporaneo di accesso alla metabase oppure se non esiste alcun record. Errore: {0}" P0="../Exception/@Message" S1="%SMTPADDRESS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" AlwaysEvaluate="True"/>
													<Rule Name="fAddressSpaceEntryNotFound" Query="not($fAddressSpaceMetabaseException) and count ($szAddressSpaceGUID) &lt;1" Error="Error" Sev="2" ReportIssue="Issue" Title="Spazio indirizzo del connettore SMTP non trovato nella metabase" Text="Il dominio SMTP '{1}' è impostato come spazio indirizzo per il connettore SMTP '{4}' ma non è stato trovato alcun record corrispondente nella metabase dell'istanza SMTP '{3}' sul server {2}. Potrebbero verificarsi problemi nei messaggi indirizzati al dominio '{1}'." S1="%SMTPADDRESS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" AlwaysEvaluate="True"/>
													<Setting Key1="36946" Key2="RouteAction">
														<Rule Name="fAddressSpaceLocal" Query="$.=32" Error="Error" Sev="2" ReportIssue="Issue" Title="Spazio indirizzo del connettore SMTP impostato come dominio locale nella metabase" Text="Il dominio SMTP '{1}' è impostato come spazio indirizzo per il connettore SMTP '{4}' ma la proprietà '{5}' nella metabase dell'istanza SMTP '{3}' sul server {2} indica che è un dominio locale. I messaggi indirizzati al dominio '{1}' potrebbero non essere recapitati. Valore di '{5}' corrente: {8}" S1="%SMTPADDRESS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" P5="../@Key2" P8="$."/>
														<Rule Name="fSmartHostNotAllowed" Query="count($szSMTPConnectorSmartHost) &gt;0 and bitwise-and($.,2)=0" Error="Warning" Sev="2" Title="SmartHost non consentito nella metabase" Text="Il connettore SMTP '{4}' è configurato per l'inoltro dei messaggi indirizzati al dominio '{1}' allo SmartHost '{0}' ma la proprietà '{5}' nell'istanza SMTP '{3}' sul server {2} indica che non sono consentiti SmartHost. Il connettore SMTP potrebbe non essere in grado di instradare correttamente i messaggi. Valore di '{5}' corrente: {8}" P0="$szSMTPConnectorSmartHost" S1="%SMTPADDRESS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" P5="../@Key2" P8="$." AlwaysEvaluate="True"/>
														<Rule Name="fSmartHostNotSet" Query="count($szSMTPConnectorSmartHost) &gt;0 and count($szRouteActionString) &lt;1" Error="Warning" Sev="2" Title="SmartHost non impostato nella metabase" Text="Il connettore SMTP '{4}' è configurato per l'inoltro dei messaggi indirizzati al dominio '{1}' allo SmartHost '{0}' ma non è possibile trovare la proprietà '{5}' nell'istanza SMTP '{3}' sul server {2}. Il connettore SMTP potrebbe non essere in grado di instradare correttamente i messaggi." P0="$szSMTPConnectorSmartHost" S1="%SMTPADDRESS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" S5="RouteActionString" AlwaysEvaluate="True"/>
														<Rule Name="fRelayNotAllowed" Query="$fSMTPConnectorRelayAllowed and bitwise-and($.,4096)=0" Error="Warning" Sev="2" Title="Inoltro non consentito nella metabase" Text="Il connettore SMTP '{4}' è configurato per consentire l'inoltro dei messaggi indirizzati al dominio '{1}' ma la proprietà '{5}' nella metabase dell'istanza SMTP '{3}' sul server {2} indica che l'inoltro non è consentito. Exchange potrebbe non essere in grado di inoltrare i messaggi a un server SMTP esterno. Valore di '{5}' corrente: {8}" S1="%SMTPADDRESS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" P5="../@Key2" P8="$."/>
													</Setting>
													<Setting Key1="36947" Key2="RouteActionString">
														<Rule Name="szRouteActionString" Query="$."/>
														<Rule Name="fSmartHostDifferent" Query="count($szSMTPConnectorSmartHost) &gt;0 and upper-case($.)!=upper-case($szSMTPConnectorSmartHost)" Error="Warning" Title="SmartHost diverso impostato nella metabase" Text="Il connettore SMTP '{4}' è configurato per l'inoltro dei messaggi indirizzati al dominio '{1}' allo SmartHost '{0}' ma la proprietà '{5}' nella metabase dell'istanza SMTP '{3}' sul server {2} indica uno SmartHost diverso. Il connettore SMTP potrebbe non essere in grado di instradare correttamente i messaggi. Valore di '{5}' corrente: {8} (Valore previsto: {9})" P0="$szSMTPConnectorSmartHost" S1="%SMTPADDRESS%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" P5="../@Key2" P8="$." P9="$szSMTPConnectorSmartHost" AlwaysEvaluate="True"/>
													</Setting>
													<Setting Key1="61536">
														<Rule Name="szAddressSpaceGUID" Query="$."/>
													</Setting>
												</Object>
											</Object>
										</Object>
									</Object>
								</Object>
								<!-- Then, smart host entries are checked -->
								<Object Type="If" Key1="string-length('%SMARTHOST%') &gt;0">
									<Object Type="Variable" Name="SMTP Instances" Key1="Unpack" Key2="%varAllSMTPInstance%">
										<Setting Key1="__KEY" Substitution="SORTKEY"/>
										<Setting Key1="__VALUE" Substitution="SMTPINSTANCE"/>
										<Object Type="If" Key1="contains(upper-case('%SMTPCONNECTORBH%'), upper-case('CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%'))">
											<Object Type="Metabase" Key1="%varExName%" Key2="LM/SmtpSvc/%SMTPINSTANCE%/Domain/%SMARTHOST%" Timeout="%300">
												<Rule Name="fSmartHostMetabaseException" Query="../Exception/@Message" Error="Error" Sev="2" ReportIssue="Issue" Title="SmartHost del connettore SMTP non trovato nella metabase" Text="Il server {1} è specificato come SmartHost del connettore SMTP '{4}' ma non è possibile recuperare alcun record corrispondente dalla metabase dell'istanza SMTP '{3}' sul server {2}. Controllare che si tratti di un problema temporaneo di accesso alla metabase oppure se non esiste alcun record. Errore: {0}" P0="../Exception/@Message" S1="%SMARTHOST%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" AlwaysEvaluate="True"/>
												<Rule Name="fSmartHostEntryNotFound" Query="not($fSmartHostMetabaseException) and count ($szSmartHostGUID) &lt;1" Error="Error" Sev="2" ReportIssue="Issue" Title="SmartHost del connettore SMTP non trovato nella metabase" Text="Il server {1} è specificato come SmartHost del connettore SMTP '{4}' ma non è stato trovato alcun record corrispondente dalla metabase dell'istanza SMTP '{3}' sul server {2}. Exchange potrebbe non essere in grado di inoltrare i messaggi a '{1}'." S1="%SMARTHOST%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" AlwaysEvaluate="True"/>
												<Setting Key1="36946" Key2="RouteAction">
													<Rule Name="fSmartHostLocal" Query="$.=32" Error="Error" Sev="2" ReportIssue="Issue" Title="SmartHost del connettore SMTP impostato come dominio locale nella metabase" Text="Il server {1} è specificato come SmartHost del connettore SMTP '{4}' ma la proprietà '{5}' nella metabase dell'istanza SMTP '{3}' sul server {2} indica che è un dominio locale. I messaggi indirizzati allo SmartHost '{1}' potrebbero non essere recapitati. Valore di '{5}' corrente: {8} (Valore previsto: {9})" S1="%SMARTHOST%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" P5="../@Key2" P8="$." S9="0"/>
													<Rule Name="fSmartHostMissing" Query="count($szSMTPConnectorSmartHost) &gt;0 and count($szSmartHostRouteActionString) &lt;1" Error="Warning" Sev="2" Title="SmartHost non impostato nella metabase" Text="Il server {1} è specificato come SmartHost del connettore SMTP '{4}' ma non è possibile trovare la proprietà '{5}' nella metabase dell'istanza SMTP '{3}' sul server {2}. Il connettore SMTP potrebbe non essere in grado di instradare correttamente i messaggi." S1="%SMARTHOST%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" S5="RouteActionString" AlwaysEvaluate="True"/>
												</Setting>
												<Setting Key1="36947" Key2="RouteActionString">
													<Rule Name="szSmartHostRouteActionString" Query="$."/>
													<Rule Name="fSmartHostNotSelf" Query="count($szSMTPConnectorSmartHost) &gt;0 and upper-case($.)!=upper-case('%SMARTHOST%')" Error="Warning" Title="SmartHost diverso impostato nella metabase" Text="Il server {1} è specificato come SmartHost del connettore SMTP '{4}' ma la proprietà '{5}' nella metabase dell'istanza SMTP '{3}' sul server {2} indica uno SmartHost diverso. Il connettore SMTP potrebbe non essere in grado di instradare correttamente i messaggi. Valore di '{5}' corrente: {8}" S1="%SMARTHOST%" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szSMTPConnectorCN" P5="../@Key2" P8="$." AlwaysEvaluate="True"/>
												</Setting>
												<Setting Key1="61536">
													<Rule Name="szSmartHostGUID" Query="$."/>
												</Setting>
											</Object>
										</Object>
									</Object>
								</Object>
								<Rule Name="fNoSMTPConnectorIssueFound" Query="not(../Exception/@Message or ../Instance/Object/Exception/@Message) and count($fDoubleDotSMTPConnector) &lt;1 and count($fAddressSpaceMetabaseException) &lt;1 and count($fAddressSpaceEntryNotFound) &lt;1 and count($fAddressSpaceLocal) &lt;1 and count($fSmartHostNotAllowed) &lt;1 and count($fSmartHostNotSet) &lt;1 and count($fRelayNotAllowed) &lt;1 and count($fSmartHostDifferent) &lt;1 and count($fSmartHostMetabaseException) &lt;1 and count($fSmartHostEntryNotFound) &lt;1 and count($fSmartHostLocal) &lt;1 and count($fSmartHostMissing) &lt;1 and count($fSmartHostNotSelf) &lt;1" AlwaysEvaluate="True"/>
								<Rule Name="fNoRecipPolicySMTPConnectorIssueFound" Query="$fNoRecipPolicyIssueFound and $fNoSMTPConnectorIssueFound" Error="None" Title="Informazioni sul routing del dominio coerenti tra criteri destinatario e connettori SMTP" Text="Le informazioni sul routing del dominio archiviate nei criteri destinatario e nei connettori SMTP sono coerenti. Le voci corrispondente sono state inoltre identificate nella metabase del server {2}." S2="%varExName%"/>
							</Object>

							<!-- Third, let's check metabase to see if it contains orphaned data -->
							<Object Type="Variable" Name="SMTP Instances" Key1="Unpack" Key2="%varAllSMTPInstance%">
								<Setting Key1="__KEY" Substitution="SORTKEY"/>
								<Setting Key1="__VALUE" Substitution="SMTPINSTANCE"/>
								<Object Type="Metabase" Key1="%varExName%" Key2="LM/SmtpSvc/%SMTPINSTANCE%/Domain" Key3=".*" Key4="OneLevel" Timeout="%300">
									<Rule Name="fMetabaseException" Query="../Exception/@Message" Error="Error" Sev="2" Title="Errore durante l'accesso alla metabase" Text="Impossibile connettersi alla metabase sul server {2}. La causa può essere un problema di rete o di autorizzazione. Inoltre, assicurarsi che il componente IIS sia installato nella workstation. Errore: {1}" P1="../Exception/@Message" S2="%varExName%"/>
									<Setting Key1="61536" Substitution="GUID" SubstitutionFormat="^{(.*?)}$----$1">
										<Rule Name="szDomainName" Query="replace(../../@Name, '^.*/(?i:domain)/(.*)$', '$1')"/>
										<Rule Name="fMultipleGUID" Query="count($.) &gt;1" Error="Warning" Sev="2" Title="Voce metabase con più GUID corrispondenti" Text="La chiave '{1}' è stata trovata nella metabase del server {2} ma sono stati trovati più GUID corrispondenti per questa voce. La causa può essere un conflitto tra voci nei criteri destinatario e nei connettori SMTP." P1="../../@Name" S2="%varExName%"/>
										<Rule Name="fDomainNotFoundinDS" Query="$.!='' and not($fDirectoryErrorMetabaseGUID) and count($szMetabaseGUIDDN) &lt;1" Error="Warning" Sev="2" Title="Possibile voce orfana della metabase" Text="È stata trovata la chiave '{1}' nella metabase del server {2} ma non è possibile risolverla in un oggetto in Active Directory. Verificare la validità della voce della metabase." P1="../../@Name" S2="%varExName%" AlwaysEvaluate="True"/>
										<Rule Name="fDomainForOtherSMTPVSFoundinDS" Query="$.!='' and count($szLocalBHDN) &gt;0 and not($fLocalBHIncluded)" Error="Warning" Sev="2" Title="Possibile voce orfana della metabase" Text="È stato trovato il dominio '{1}' nella metabase dell'istanza SMTP '{3}' sul server {2} ma l'istanza SMTP non è designata come server testa di ponte locale per il connettore SMTP '{4}' corrispondente. Verificare la validità della voce della metabase." P1="$szDomainName" S2="%varExName%" P3="unpack('%varAllSMTPInstanceName%', '%SORTKEY%')" P4="$szMetabaseGUIDCN" AlwaysEvaluate="True"/>
									</Setting>
									<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="&lt;GUID=%GUID%&gt;">
										<Rule Name="fDirectoryErrorMetabaseGUID" Query="../Exception/@Message"/>
										<Setting Key1="cn">
											<Rule Name="szMetabaseGUIDCN" Query="$."/>
										</Setting>
										<Setting Key1="distinguishedName">
											<Rule Name="szMetabaseGUIDDN" Query="$."/>
										</Setting>
										<Setting Key1="msExchSourceBridgeheadServersDN">
											<Rule Name="szLocalBHDN" Query="$."/>
											<Rule Name="fLocalBHIncluded" Query="count($.[upper-case(.)=upper-case('CN=%SMTPINSTANCE%,CN=SMTP,CN=Protocols,%varExDN%')]) &gt;0"/>
										</Setting>
									</Object>
								</Object>
								<Rule Name="fNoMetabaseIssueFound" Query="count($fMetabaseException) &lt;1 and count($fMultipleGUID) &lt;1 and count($fDomainNotFoundinDS) &lt;1 and count($fDomainForOtherSMTPVSFoundinDS) &lt;1" Error="None" Title="Tutte le voci della metabase di routing del dominio identificate" Text="Le voci del routing del dominio nella metabase del server {2} hanno oggetti corrispondenti in Active Directory." S2="%varExName%" AlwaysEvaluate="True"/>
							</Object>

							<!-- For inbound, let's check if a recipient policy matches the domain -->
							<Object Type="If" Key1="'%varSelSymptom%'='Inbound'">
								<Object Type="Variable" Name="InboundDomain" Key1="Unpack" Key2="%varAllConcatRCPTAddressServerBindingList%">
									<Setting Key1="__VALUE" Substitution="RCPTDOMAIN" SubstitutionFormat="^.*@(.*?),.*,.*$----$1"/>
									<!-- Use cache to remove duplicates -->
									<Object Type="Cache" Name="Recipient Domain" Key1="Add" Key2="Domain" Key3="%RCPTDOMAIN%" Display="Hide">
										<Setting Key1="Domain">
											<Rule Name="fNoRecipPolicy" Query="count($szDomain[upper-case(.)=concat('SMTP:@', upper-case($.))]) &lt;1" Error="Error" Sev="1" ReportIssue="RootCause" Title="Nessun criterio destinatario trovato per l'indirizzo di destinazione" Text="Un messaggio di prova è stato indirizzato al dominio SMTP '{1}', ma nessun criterio destinatario corrisponde all'indirizzo. Assicurarsi che il dominio sia locale. Se necessario, creare un criterio destinatario per accettare i messaggi indirizzati al dominio." P1="$."/>
										</Setting>
									</Object>
								</Object>
							</Object>
							<Rule Name="szCheckDomainRouting" Query="'CheckDomainRouting'">
								<Variable Name="varPreviousName" Scope="Children"/>
							</Rule>
							<Rule Name="szExErrorStateText" Query="if($fDomainRoutingIssueFound,string(@Title),$szExNoErrorStateText)" Title="È stato identificato almeno un potenziale problema di routing del dominio" AlwaysEvaluate="True">
								<Variable Name="varErrorStateText" Scope="Global"/>
							</Rule>
							<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema di routing del dominio identificato."/>
							<Rule Name="szCheckDomainRoutingResult" Query="string(@Title)" Title="Risultati analisi routing dominio">
								<Variable Name="varDisplayTitle" Scope="Global"/>
							</Rule>

							<Rule Name="fDomainRoutingIssueFound" Query="not($fNoRecipPolicySMTPConnectorIssueFound and $fNoMetabaseIssueFound) or $fNoRecipPolicy" AlwaysEvaluate="True"/>

							<Rule NextStep="DisplayResultsStep" Name="fDisplayDomainRoutingStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="DisplayResultsStep" Title="Risultati verifica" Display="HideAll">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varDisplayTitle%" Substitution="varDisplayTitle" Display="Hide"/>
			<Setting Key1="%varErrorStateText%" Substitution="varErrorStateText" Display="Hide"/>
			<Setting Key1="%varPreviousName%" Substitution="varPreviousName" Display="Hide"/>

			<Object Type="Information" HelpId="html\b669b0b8-7dc2-42f2-a0cd-a60f543f5bb1.htm">
				<Object Type="Control" SubType="Title" Position="Top" Text="%varDisplayTitle%"/>
				<Object Type="Control" SubType="Label" Position="Below" Text="%varErrorStateText%" Width="FullWidth"/>
				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="400">
					<Report Title="Stato server Exchange" ArrangeByText="Area,Server" Query="//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Message[@ReportIssue='Summary']"/>
					<Report Title="Possibili cause principali trovate" ArrangeByText="Area,Server" Query="//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Message[@Error='Error' and @ReportIssue='RootCause']"/>
					<Report Title="Problemi di flusso della posta trovati" ArrangeByText="Area,Server" Query="//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Message[@Error='Error' and @ReportIssue='Issue']"/>
					<Report Title="Altri errori" ArrangeByText="Area,Server" Query="//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Message[@Error='Error' and not(@ReportIssue)]"/>
					<Report Title="Altri avvisi" ArrangeByText="Area,Server" Query="//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Message[@Error='Warning' and not(@ReportIssue='Summary') and not(@ReportIssue='Recommendation')]"/>
					<Report Title="Elementi informativi" ArrangeByText="Area,Server" Query="//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Message[not(@Error='Warning') and not(@Error='Error')and not(@NextStep) and not(@Display='Hide') and not(@ReportIssue='Summary') and not(@ReportIssue='Recommendation')]"/>
				</Object>

				<Object Type="IfResults" Name="DoNext" Key1="count(//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Rule[@NextStep and @Pass='True' and not(string-length(@Text)=0)]) &gt; 0">
					<Object Type="Control" SubType="Label" Position="Below" Text="Lo strumento procederà come segue: " LineSpace="2" Width="FullWidth" BackColor="AliceBlue" FontStyle="Bold" FontFamily="Arial"/>
					<Object Type="Control" SubType="Labels" Position="Below" LineSpace="0" Width="FullWidth" FontFamily="Arial" Query="//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Message[@NextStep]"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="Below" LineSpace="2" Text="Precedente"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="Avanti"/>

			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<!-- ****************************************************************************************************************** -->
	<!-- The Error Steps (as in, an error occurred... can't continue troubleshooting)										-->
	<!-- ****************************************************************************************************************** -->
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="InputErrors" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varPreviousName%" Substitution="varPreviousName" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\1c4b9eca-4714-4a61-ba7c-91f1bf4e53fc.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Errori dei dati di input"/>
				<Object Type="Control" SubType="Reports" Name="ErrorReports" Position="LeftBelow" Width="FullWidth" Height="400">
					<Report Title="Errori" Query="//Object[@Name='%STEPNAMEPREFIX%%varPreviousName%' and not(@StepStatus='Deactivated')]//Message[@Error='Error']"/>
				</Object>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Indietro"/>
			</Object>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="InitializeMessageTracking" Display="Left">
		<Object Type="Action" Display="Hide">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="92;Set"/>
			</Object>
			<Object Type="Group" Name="InitializeMessageTracking">
				<Rule Name="szToInitializeMessageTracking" Query="string('')">
					<Variable Name="szServerHostname" Scope="Children"/>
					<Variable Name="szEventID" Scope="Children"/>
					<Variable Name="szSenderAddress" Scope="Children"/>
					<Variable Name="szRecipientAddress" Scope="Children"/>
					<Variable Name="szMessageID" Scope="Children"/>
					<Variable Name="szInternalMessageID" Scope="Children"/>
					<Variable Name="szMessageSubject" Scope="Children"/>
					<Variable Name="szReference" Scope="Children"/>
					<Variable Name="szStart" Scope="Children"/>
					<Variable Name="szEnd" Scope="Children"/>
				</Rule>
				<Rule Name="szTrue" Query="string('1')">
					<Variable Name="fCheckBoxEventID" Scope="Children"/>
					<Variable Name="fCheckBoxStart" Scope="Children"/>
					<Variable Name="fCheckBoxEnd" Scope="Children"/>
				</Rule>
				<Rule Name="szFalse" Query="string('0')">
					<Variable Name="fCheckBoxRecipient" Scope="Children"/>
					<Variable Name="fCheckBoxSender" Scope="Children"/>
					<Variable Name="fCheckBoxServer" Scope="Children"/>
					<Variable Name="fCheckBoxMessageID" Scope="Children"/>
					<Variable Name="fCheckBoxInternalMessageID" Scope="Children"/>
					<Variable Name="fCheckBoxMessageSubject" Scope="Children"/>
					<Variable Name="fCheckBoxReference" Scope="Children"/>
				</Rule>
				<Rule NextStep="MessageTracking" Name="fGotoMessageTracking" Query="true()"/>
			</Object>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MessageTracking" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%szServerHostname%" Substitution="szServerHostname" Display="Hide"/>
			<Setting Key1="%szEventID%" Substitution="szEventID" Display="Hide"/>
			<Setting Key1="%szSenderAddress%" Substitution="szSenderAddress" Display="Hide"/>
			<Setting Key1="%szRecipientAddress%" Substitution="szRecipientAddress" Display="Hide"/>
			<Setting Key1="%szMessageID%" Substitution="szMessageID" Display="Hide"/>
			<Setting Key1="%szInternalMessageID%" Substitution="szInternalMessageID" Display="Hide"/>
			<Setting Key1="%szMessageSubject%" Substitution="szMessageSubject" Display="Hide"/>
			<Setting Key1="%szReference%" Substitution="szReference" Display="Hide"/>
			<Setting Key1="%szStart%" Substitution="szStart" Display="Hide"/>
			<Setting Key1="%szEnd%" Substitution="szEnd" Display="Hide"/>
			<Setting Key1="%fCheckBoxServer%" Substitution="fCheckBoxServer" Display="Hide"/>
			<Setting Key1="%fCheckBoxEventID%" Substitution="fCheckBoxEventID" Display="Hide"/>
			<Setting Key1="%fCheckBoxRecipient%" Substitution="fCheckBoxRecipient" Display="Hide"/>
			<Setting Key1="%fCheckBoxSender%" Substitution="fCheckBoxSender" Display="Hide"/>
			<Setting Key1="%fCheckBoxMessageID%" Substitution="fCheckBoxMessageID" Display="Hide"/>
			<Setting Key1="%fCheckBoxInternalMessageID%" Substitution="fCheckBoxInternalMessageID" Display="Hide"/>
			<Setting Key1="%fCheckBoxMessageSubject%" Substitution="fCheckBoxMessageSubject" Display="Hide"/>
			<Setting Key1="%fCheckBoxReference%" Substitution="fCheckBoxReference" Display="Hide"/>
			<Setting Key1="%fCheckBoxStart%" Substitution="fCheckBoxStart" Display="Hide"/>
			<Setting Key1="%fCheckBoxEnd%" Substitution="fCheckBoxEnd" Display="Hide"/>
			<Object Type="If" Key1="true()" Display="Hide">
				<Setting Key1="if('%szSenderAddress%'='','False','True')" Substitution="HASSENDER"/>
				<Setting Key1="if('%szRecipientAddress%'='','False','True')" Substitution="HASRECIP"/>

				<Setting Key1="if('%fCheckBoxMessageID%'='0','False','True')" Substitution="MESSAGEIDSET"/>
				<Setting Key1="if('%fCheckBoxMessageSubject%'='0','False','True')" Substitution="MESSAGESUBJECTSET"/>
				<Setting Key1="if('%fCheckBoxReference%'='0','False','True')" Substitution="REFERENCESET"/>
				<Setting Key1="if('%fCheckBoxInternalMessageID%'='0','False','True')" Substitution="INTERNALMESSAGEIDSET"/>
				<Setting Key1="if('%fCheckBoxServer%'='0','False','True')" Substitution="SERVERSET"/>
				<Setting Key1="if('%fCheckBoxSender%'='0','False','True')" Substitution="SENDERSET"/>
				<Setting Key1="if('%fCheckBoxRecipient%'='0','False','True')" Substitution="RECIPIENTSET"/>
				<Setting Key1="if('%fCheckBoxEventID%'='0','False','True')" Substitution="EVENTIDSET"/>
				<Setting Key1="if('%fCheckBoxStart%'='0','False','True')" Substitution="STARTSET"/>
				<Setting Key1="if('%fCheckBoxEnd%'='0','False','True')" Substitution="ENDSET"/>

				<Object Type="Panel" Display="Hide" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
					<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Parametri di verifica messaggi"/>
					<Object Type="Control" SubType="Label" Name="label0" Position="Below" Text="Selezionare le caselle di controllo per includere criteri nella ricerca di verifica messaggi."/>

					<Object Type="Control" SubType="Label" Name="Recipient0" Position="LeftBelow" Width="200" Text="Destinatari"/>
					<Object Type="Control" SubType="CheckBox" Name="Recipient1" Position="220," Width="20" Text="" Default="%fCheckBoxRecipient%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="Recipients:" Query="control-value('Recipient1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="Recipient1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxRecipient" Query="$.">
								<Variable Name="fCheckBoxRecipient" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="TextBox" Name="Recipients:" Position="245," Width="300" Default="%szRecipientAddress%" Display="Hide" Flags="Enabled=%RECIPIENTSET%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="Recipient3" Query="control-value('Recipients:')!=''"/>
							<Action Type="ExecuteQuery" ControlName="Recipients" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="Recipient">
							<Rule Name="szRecipientAddress" Query="$.">
								<Variable Name="szRecipientAddress" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Button" Name="Recipient3" Width="140" Position="NextTo" Text="Risolvi destinatario" Flags="Enabled=%HASRECIP%">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="Recipient3" Query="control-value('Recipients:', directory-lookup('GC:', concat('(&amp;(anr=', control-value('Recipients:'), ')(mail=*))'), 'Subtree', 'mail'))"/>
						</Event>
					</Object>

					<Object Type="Control" SubType="Label" Name="Sender0" Position="At(Recipient0),After(Recipient0)" Width="200" Text="Mittente"/>
					<Object Type="Control" SubType="CheckBox" Name="Sender1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxSender%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="Sender" Query="control-value('Sender1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="Sender1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxSender" Query="$.">
								<Variable Name="fCheckBoxSender" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="TextBox" Name="Sender" Position="At(Recipients:)," Width="300" Default="%szSenderAddress%" Display="Hide" Flags="Enabled=%SENDERSET%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="Sender3" Query="control-value('Sender')!=''"/>
							<Action Type="Enable" ControlName="Server3" Query="control-value('Sender')!=''"/>
							<Action Type="ExecuteQuery" ControlName="Sender" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="Sender">
							<Rule Name="szSenderAddress" Query="$.">
								<Variable Name="szSenderAddress" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Button" Name="Sender3" Width="140" Position="NextTo" Text="Risolvi mittente" Flags="Enabled=%HASSENDER%">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="Sender3" Query="control-value('Sender', directory-lookup('GC:', concat('(&amp;(anr=', control-value('Sender'), ')(mail=*))'), 'Subtree', 'mail'))"/>
						</Event>
					</Object>

					<Object Type="Control" SubType="Label" Name="Server0" Position="At(Sender0),After(Sender0)" Width="200" Text="Server"/>
					<Object Type="Control" SubType="CheckBox" Name="Server1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxServer%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="Server" Query="control-value('Server1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="Server1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxServer" Query="$.">
								<Variable Name="fCheckBoxServer" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="TextBox" Name="Server" Position="At(Recipients:)," Width="300" Default="%szServerHostname%" Display="Hide" Flags="Enabled=%SERVERSET%">
						<Event Type="Changed">
							<Action Type="ExecuteQuery" ControlName="Server" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="Server">
							<Rule Name="szServerHostname" Query="$.">
								<Variable Name="szServerHostname" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Button" Name="Server3" Width="140" Position="NextTo" Text="Server da mittente" Flags="Enabled=%HASSENDER%">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="Server3" Query="control-value('Server', replace(directory-lookup('GC:', concat('(&amp;(anr=', control-value('Sender'), ')(mail=*))'), 'Subtree', 'msExchHomeServerName'), '^.*[cC][nN]=', ''))"/>
						</Event>
					</Object>

					<Object Type="Control" SubType="Label" Name="EventID0" Position="At(Server0),After(Server0)" Width="200" Text="IDEvento"/>
					<Object Type="Control" SubType="CheckBox" Name="EventID1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxEventID%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="EventID" Query="control-value('EventID1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="EventID1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxEventID" Query="$.">
								<Variable Name="fCheckBoxEventID" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="ComboBox" Name="EventID" Position="At(Recipients:)," Width="300" SelectedValue="%szEventID%" Default="{7}RECEIVE{4}SEND{4}FAIL{3}DSN{7}DELIVER{7}BADMAIL{7}RESOLVE{6}EXPAND{8}REDIRECT{8}TRANSFER{6}SUBMIT{13}POISONMESSAGE{5}DEFER" Display="Hide" Flags="Enabled=%EVENTIDSET%">
						<Event Type="Changed">
							<Action Type="ExecuteQuery" ControlName="EventID" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="EventID">
							<Rule Name="szEventID" Query="$.">
								<Variable Name="szEventID" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="MessageID0" Position="At(EventID0),After(EventID0)" Width="200" Text="IDMessaggio"/>
					<Object Type="Control" SubType="CheckBox" Name="MessageID1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxMessageID%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="MessageID" Query="control-value('MessageID1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="MessageID1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxMessageID" Query="$.">
								<Variable Name="fCheckBoxMessageID" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="TextBox" Name="MessageID" Position="At(Recipients:)," Width="300" Default="%szMessageID%" Display="Hide" Flags="Enabled=%MESSAGEIDSET%">
						<Event Type="Changed">
							<Action Type="ExecuteQuery" ControlName="MessageID" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="MessageID">
							<Rule Name="szMessageID" Query="$.">
								<Variable Name="szMessageID" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="InternalMessageID0" Position="At(MessageID0),After(MessageID0)" Width="200" Text="IDMessaggioInterno"/>
					<Object Type="Control" SubType="CheckBox" Name="InternalMessageID1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxInternalMessageID%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="InternalMessageID" Query="control-value('InternalMessageID1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="InternalMessageID1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxInternalMessageID" Query="$.">
								<Variable Name="fCheckBoxInternalMessageID" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="TextBox" Name="InternalMessageID" Position="At(Recipients:)," Width="300" Default="%szInternalMessageID%" Display="Hide" Flags="Enabled=%INTERNALMESSAGEIDSET%">
						<Event Type="Changed">
							<Action Type="ExecuteQuery" ControlName="InternalMessageID" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="InternalMessageID">
							<Rule Name="szInternalMessageID" Query="$.">
								<Variable Name="szInternalMessageID" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="MessageSubject0" Position="At(InternalMessageID0),After(InternalMessageID0)" Width="200" Text="Oggetto"/>
					<Object Type="Control" SubType="CheckBox" Name="MessageSubject1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxMessageSubject%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="MessageSubject" Query="control-value('MessageSubject1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="MessageSubject1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxMessageSubject" Query="$.">
								<Variable Name="fCheckBoxMessageSubject" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="TextBox" Name="MessageSubject" Position="At(Recipients:)," Width="300" Default="%szMessageSubject%" Display="Hide" Flags="Enabled=%MESSAGESUBJECTSET%">
						<Event Type="Changed">
							<Action Type="ExecuteQuery" ControlName="MessageSubject" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="MessageSubject">
							<Rule Name="szMessageSubject" Query="$.">
								<Variable Name="szMessageSubject" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="Reference0" Position="At(MessageSubject0),After(MessageSubject0)" Width="200" Text="Riferimento"/>
					<Object Type="Control" SubType="CheckBox" Name="Reference1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxReference%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="Reference" Query="control-value('Reference1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="Reference1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxReference" Query="$.">
								<Variable Name="fCheckBoxReference" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="TextBox" Name="Reference" Position="At(Recipients:)," Width="300" Default="%szReference%" Display="Hide" Flags="Enabled=%REFERENCESET%">
						<Event Type="Changed">
							<Action Type="ExecuteQuery" ControlName="Reference" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="Reference">
							<Rule Name="szReference" Query="$.">
								<Variable Name="szReference" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="Start0" Position="At(Reference0),After(Reference0)" Width="200" Text="Inizio"/>
					<Object Type="Control" SubType="CheckBox" Name="Start1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxStart%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="Start" Query="control-value('Start1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="Start1" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxStart" Query="$.">
								<Variable Name="fCheckBoxStart" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="DateTimePicker" Name="Start" Position="At(Recipients:)," Default="%szStart%" Display="Hide" Flags="Enabled=%STARTSET%">
						<Event Type="Changed">
							<Action Type="ExecuteQuery" ControlName="Start" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="DateTime">
							<Rule Name="szStart" Query="$.">
								<Variable Name="szStart" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="Start3" Position="Below" Text="" LineSpace="0.2"/>

					<Object Type="Control" SubType="Label" Name="End0" Position="At(Start0),After(Start0)" Width="200" Text="Fine"/>
					<Object Type="Control" SubType="CheckBox" Name="End1" Position="At(Recipient1)," Width="20" Text="" Default="%fCheckBoxEnd%">
						<Event Type="Changed">
							<Action Type="Enable" ControlName="End" Query="control-value('End1')='1'"/>
							<Action Type="ExecuteQuery" ControlName="End" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="CheckBox">
							<Rule Name="fCheckBoxEnd" Query="$.">
								<Variable Name="fCheckBoxEnd" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="DateTimePicker" Name="End" Position="At(Recipients:)," Default="%szEnd%" Display="Hide" Flags="Enabled=%ENDSET%">
						<Event Type="Changed">
							<Action Type="ExecuteQuery" ControlName="End" Query="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))"/>
						</Event>
						<Setting Key1="DateTime">
							<Rule Name="szEnd" Query="$.">
								<Variable Name="szEnd" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="End3" Position="Below" Text=""/>

					<Object Type="Control" SubType="Label" Name="Cmd0" Position="At(End0),After(End0)" LineSpace="2" Text="Comando di Exchange Management Shell"/>
					<Object Type="RichTextBox" Name="Cmd1" Position="At(Cmd0),After(Cmd0)" Width="FullWidth" Height="50" Display="Hide">
					</Object>
					<Object Type="If" Key1="true()">
						<Setting Key1="control-value('Cmd1', concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End')))">
							<Rule Name="szCommand" Query="concat('get-messagetrackinglog', command-switches('Recipients:', 'Sender', 'Server', 'EventID', 'MessageID', 'InternalMessageID', 'MessageSubject', 'Reference', 'Start', 'End'))">
								<Variable Name="szCommand" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Indietro"/>
					<Object Type="Control" SubType="Link" Name="Next" NextStep="MessageTrackingResults" Position="NextTo" Percent="20" Text="Avanti"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MessageTrackingResults" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%szCommand%" Substitution="szCommand" Display="Hide"/>

			<Object Type="Progress" Title="Esecuzione della richiesta di verifica messaggi in corso" Text="Attendere. Raccolta dei dati necessari per la richiesta di verifica messaggi in corso." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="MonadData" Name="Message Tracking" Key1="%szCommand%">
					<Rule Name="szMonadDataErrors" Query="string(../Exception/@Message)" AlwaysEvaluate="True">
						<Variable Name="szMonadDataErrors" Scope="Children"/>
					</Rule>
					<Rule Name="fMonadDataErrors" Query="if(count(../Exception/@Message) &gt; 0,'1','0')" AlwaysEvaluate="True">
						<Variable Name="fMonadDataErrors" Scope="Children"/>
					</Rule>
					<Setting Key1="Timestamp" Format="SortableDateTime"/>
					<Setting Key1="EventId"/>
					<Setting Key1="Source"/>
					<Setting Key1="SourceContext"/>
					<Setting Key1="MessageId"/>
					<Setting Key1="MessageSubject"/>
					<Setting Key1="Sender"/>
					<Setting Key1="Recipients"/>
					<Setting Key1="InternalMessageId"/>
					<Setting Key1="ClientIp"/>
					<Setting Key1="ClientHostname"/>
					<Setting Key1="ServerIp"/>
					<Setting Key1="ServerHostname"/>
					<Setting Key1="ConnectorId"/>
					<Setting Key1="RecipientStatus"/>
					<Setting Key1="TotalBytes"/>
					<Setting Key1="RecipientCount"/>
					<Setting Key1="RelatedRecipientAddress"/>
					<Setting Key1="Reference"/>
					<Setting Key1="ReturnPath"/>
					<Setting Key1="MessageInfo"/>
					<Object Type="DataGrid" Name="DataGrid1" Key1="Save" Key2="Results"/>
				</Object>
			</Object>
			<Rule NextStep="MessageTrackingGrid" Name="fMessageTrackingResults" Query="true()"/>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MessageTrackingGrid">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%szMonadDataErrors%" Substitution="szMonadDataErrors" Display="Hide"/>
			<Setting Key1="%fMonadDataErrors%" Substitution="fMonadDataErrors" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Risultati di verifica messaggi"/>
				<Object Type="If" Key1="'%fMonadDataErrors%'='1'">
					<Object Type="Control" SubType="Label" Name="label0" Position="Below" Text="{0}" S0="%szMonadDataErrors%"/>
				</Object>
				<Object Type="DataGrid" Name="DataGrid0" Key1="Rows" Key2="Results">
					<Setting Key1="Rows" Substitution="ROWS"/>
					<Object Type="If" Key1="%ROWS% &gt; 0">
						<Object Type="Control" SubType="Label" Name="label" Position="Below" Text="La riga selezionata compilerà i parametri per la ricerca di verifica messaggi successiva."/>
					</Object>
					<Object Type="If" Key1="%ROWS% = 0">
						<Object Type="Control" SubType="Label" Name="label2" Position="Below" Text="Nessun risultato."/>
					</Object>
					<Object Type="DataGrid" Name="DataGrid1" Key1="Load" Key2="Results" Position="Below" Height="480">
						<Setting Key1="TimeStamp">
							<Rule Name="szNow" Query="date-parse($., 'yyyy/MM/dd HH:mm:ss')"/>
							<Rule Name="szStart" Query="date-add($szNow, get-timespan(-600))">
								<Variable Name="szStart" Scope="Children"/>
							</Rule>
							<Rule Name="szEnd" Query="date-add($szNow, get-timespan(600))">
								<Variable Name="szEnd" Scope="Children"/>
							</Rule>
							<Rule Name="fCheckBoxStartEnd" Query="string('1')">
								<Variable Name="fCheckBoxStart" Scope="Children"/>
								<Variable Name="fCheckBoxEnd" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="ServerHostname">
							<Rule Name="szNextHopServerHostname" Query="if ($fSend and $fRelay and $fServerIpName, $szServerIpName, $.)">
								<Variable Name="szServerHostname" Scope="Children"/>
							</Rule>
							<Rule Name="fCheckBoxServer" Query="$szNextHopServerHostname!=''">
								<Variable Name="fCheckBoxServer" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="EventID">
							<Rule Name="szEventID" Query="$.">
								<Variable Name="szEventID" Scope="Children"/>
							</Rule>
							<Rule Name="fCheckBox0" Query="string('0')">
								<Variable Name="fCheckBoxEventID" Scope="Children"/>
								<Variable Name="fCheckBoxReference" Scope="Children"/>
								<Variable Name="fCheckBoxSender" Scope="Children"/>
								<Variable Name="fCheckBoxRecipient" Scope="Children"/>
								<Variable Name="fCheckBoxInternalMessageID" Scope="Children"/>
								<Variable Name="fCheckBoxMessageSubject" Scope="Children"/>
							</Rule>
							<Rule Name="fSend" Query="$.='SEND'"/>
						</Setting>
						<Setting Key1="Sender">
							<Rule Name="szSenderAddress" Query="$.">
								<Variable Name="szSenderAddress" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="Recipients">
							<Rule Name="szRecipientAddress" Query="$.">
								<Variable Name="szRecipientAddress" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="Reference">
							<Rule Name="szReference" Query="$.">
								<Variable Name="szReference" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="InternalMessageId">
							<Rule Name="szInternalMessageId" Query="$.">
								<Variable Name="szInternalMessageID" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="MessageId">
							<Rule Name="szMessageId" Query="$.">
								<Variable Name="szMessageID" Scope="Children"/>
							</Rule>
							<Rule Name="fCheckBoxMessageID" Query="$.!=''">
								<Variable Name="fCheckBoxMessageID" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="MessageSubject">
							<Rule Name="szMessageSubject" Query="$.">
								<Variable Name="szMessageSubject" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="ServerIp">
							<Rule Name="szServerIpName" Query="resolve($.)"/>
							<Rule Name="fServerIpName" Query="$.!=''"/>
						</Setting>
						<Setting Key1="ClientIp"/>
						<Setting Key1="ConnectorId">
							<Rule Name="fRelay" Query="contains(upper-case($.), 'INTRAORG SMTP SEND CONNECTOR')"/>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Indietro"/>
					<Object Type="If" Key1="%ROWS% &gt; 0">
						<Object Type="Control" SubType="Link" Name="Next" NextStep="MessageTracking" Position="NextTo" Percent="20" Text="Avanti"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<!-- Check health of the Mailbox server role to determine if there are issues with client submission and hints about transport submission -->
	<Object Type="Step" Name="CheckMailboxRoleHealth" Title="Controlla integrità ruolo server Cassette postali" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varSiteGuid%" Substitution="varSiteGuid" Display="Hide"/>
			<Setting Key1="%varIsMemberOfCluster%" Substitution="varIsMemberOfCluster" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>

			<Object Type="Progress" Title="Controllo integrità ruolo server Cassette postali" Text="Attendere. Controllo dell'integrità del server {2} in corso. Viene verificato che i servizi necessari si trovino nello stato appropriato e che il server accetti gli accessi in tutti i database. Le verifiche includono la raccolta dei dati sulle prestazioni per determinare l'avanzamento dell'invio locale e l'identificazione dei server nello stesso sito di Active Directory in cui è installato il ruolo server Trasporto Hub." S2="%varExName%" HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<!-- Begin 'Server' Group -->
				<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True">

					<!-- Begin Mailbox Server Role Health Group-->
					<Object Type="Group" Name="Mailbox Server Role Health" Class="Area" GroupingClass="True" Display="Hide" SecurityContext="EXLOGON">

						<!-- Check whether the MSExchangeADTopology service is up and running -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='MSExchangeADTopology'">
							<Setting Key1="Started">
								<Rule Name="fMSExchangeADTopologyStarted" Query="$.='True'"/>
								<Rule Name="fMSExchangeADTopologyNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non avviato" Text="Il servizio '{0}' nel server {2} non è stato avviato. È importante che questo servizio venga avviato affinché Exchange funzioni correttamente." S0="MSExchangeADTopology" S2="%varExName%"/>
							</Setting>
							<Setting Key1="State">
								<Rule Name="fMSExchangeADTopologyRunning" Query="$fMSExchangeADTopologyStarted and $.='Running'" Error="None" Title="Servizio '{0}' avviato e in esecuzione" Text="Il servizio '{0}' nel server {2} è stato avviato ed è in esecuzione." S0="MSExchangeMailSubmission" S2="%varExName%"/>
								<Rule Name="fMSExchangeADTopologyNotRunning" Query="not($.='Running') and not($fMSExchangeADTopologyNotStarted)" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non in esecuzione" Text="Lo stato del servizio '{0}' nel server {2} è '{1}'. I messaggi rimarranno nel server cassette postali dell'utente." S0="MSExchangeMailSubmission" P1="$." S2="%varExName%"/>
							</Setting>
							<Setting Key1="StartMode">
								<Rule Name="fMSExchangeADTopologyDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' disabilitato" Text="Il servizio SMTP nel server {2} è disabilitato. È importante che questo servizio sia in esecuzione affinché Exchange funzioni correttamente." S0="MSExchangeADTopology" S2="%varExName%"/>
								<Rule Name="fMSExchangeADTopologyManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale del servizio '{0}'" Text="Il servizio '{0}' nel server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' in quanto il corretto funzionamento di Exchange dipende da questo servizio." S0="MSExchangeADTopology" S2="%varExName%"/>
							</Setting>
						</Object>

						<!-- Check whether the MSExchangeIS service is up and running -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='MSExchangeIS'">
							<Setting Key1="Started">
								<Rule Name="fMSExchangeISStarted" Query="$.='True'"/>
								<Rule Name="fMSExchangeISNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non avviato" Text="Il servizio '{0}' nel server {2} non è stato avviato. Gli utenti non saranno in grado di inviare o ricevere messaggi di posta." S0="MSExchangeIS" S2="%varExName%"/>
							</Setting>
							<Setting Key1="State">
								<Rule Name="fMSExchangeISRunning" Query="$fMSExchangeISStarted and $.='Running'" Error="None" Title="Servizio '{0}' avviato e in esecuzione" Text="Il servizio '{0}' nel server {2} è stato avviato ed è in esecuzione." S0="MSExchangeIS" S2="%varExName%"/>
								<Rule Name="fMSExchangeISNotRunning" Query="not($.='Running') and not($fMSExchangeISNotStarted)" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non in esecuzione" Text="Lo stato del servizio '{0}' nel server {2} è '{1}'. Gli utenti potrebbero non essere in grado di inviare o ricevere messaggi di posta." S0="MSExchangeIS" P1="$." S2="%varExName%"/>
							</Setting>
							<Setting Key1="StartMode">
								<Rule Name="fMSExchangeISDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' disabilitato" Text="Il servizio '{0}' nel server {2} è disabilitato. Gli utenti non saranno in grado di inviare o ricevere messaggi di posta." S0="MSExchangeIS" S2="%varExName%"/>
								<Rule Name="fMSExchangeISManual" Query="$.='Manual' and not('%varIsMemberOfCluster%'='1')" Error="Warning" Sev="2" Title="Avvio manuale del servizio '{0}'" Text="Il servizio '{0}' nel server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' in quanto il corretto funzionamento di Exchange dipende da questo servizio." S0="MSExchangeIS" S2="%varExName%"/>
							</Setting>
						</Object>

						<!-- Check whether the MSExchangeMailSubmission service is up and running -->
						<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='MSExchangeMailSubmission'">
							<Rule Name="fWmiException" Query="../Exception/@Message" Error="Error" Title="Errore durante l'accesso all'archivio WMI" Text="Si è verificata un'eccezione durante la query al servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fMSExchangeMailSubmissionNotFound" Query="count(../Instance)=0" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non trovato." Text="Il servizio '{0}' nel server {2} non è stato trovato. Impossibile installarlo. Questo servizio è necessario per l'invio dei messaggi inviati dai client al server Trasporto Hub per il routing successivo." S0="MSExchangeMailSubmission" S2="%varExName%"/>
							<Setting Key1="Started">
								<Rule Name="fMSExchangeMailSubmissionStarted" Query="$.='True'"/>
								<Rule Name="fMSExchangeMailSubmissionNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non avviato" Text="Servizio '{0}' sul server {2} non avviato. È importante che il servizio venga avviato affinché il computer con ruolo server Cassette postali sia in grado di inviare messaggi ai computer con ruolo server Trasporto Hub." S0="MSExchangeMailSubmission" S2="%varExName%"/>
							</Setting>
							<Setting Key1="State">
								<Rule Name="fMSExchangeMailSubmissionRunning" Query="$fMSExchangeMailSubmissionStarted and $.='Running'" Error="None" Title="Servizio '{0}' avviato e in esecuzione" Text="Il servizio '{0}' nel server {2} è stato avviato ed è in esecuzione." S0="MSExchangeMailSubmission" S2="%varExName%"/>
								<Rule Name="fMSExchangeMailSubmissionNotRunning" Query="not($.='Running') and not($fMSExchangeMailSubmissionNotStarted)" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non in esecuzione" Text="Lo stato del servizio '{0}' nel server {2} è '{1}'. I messaggi rimarranno nel server cassette postali dell'utente." S0="MSExchangeMailSubmission" P1="$." S2="%varExName%"/>
							</Setting>
							<Setting Key1="StartMode">
								<Rule Name="fMSExchangeMailSubmissionDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' disabilitato" Text="Servizio '{0}' sul server {2} disabilitato. È importante che il servizio sia in esecuzione affinché il computer con ruolo server Cassette postali possa inviare messaggi ai server Trasporto Hub." S0="MSExchangeMailSubmission" S2="%varExName%"/>
								<Rule Name="fMSExchangeMailSubmissionManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale del servizio '{0}'" Text="Il servizio '{0}' nel server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' in quanto il corretto funzionamento di Exchange dipende da questo servizio." S0="MSExchangeMailSubmission" S2="%varExName%"/>
							</Setting>
						</Object>

						<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\Exchange\Setup">
							<Setting Key1="Services" Substitution="EXCHBINPATHD" SubstitutionFormat="\\----\\"/>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\MSExchangeADTopologyService.exe'">
								<Setting Key1="LastModified"/>
								<Setting Key1="Version"/>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\store.exe'">
								<Setting Key1="LastModified"/>
								<Setting Key1="Version"/>
							</Object>
							<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\MSExchangeMailSubmission.exe'">
								<Setting Key1="LastModified"/>
								<Setting Key1="Version"/>
							</Object>
						</Object>

						<Object Type="MonadCommand" Name="Server" Key1="test-MapiConnectivity -Server %varExName% -PerConnectionTimeout 120 -DomainController %varDCName%" GroupingClass="True">
							<Rule Name="fTestMapiConnException" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'esecuzione di 'test-MapiConnectivity'" Text="Errore durante l'esecuzione di 'test-MapiConnectivity -Server {2} -PerConnectionTimeout 120'. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
							<Setting Key1="StorageGroup" Substitution="SG"/>
							<Setting Key1="Database" Substitution="DB"/>
							<Setting Key1="Error" Substitution="ERROR"/>
							<Setting Key1="Result" Substitution="RESULT"/>
							<Setting Key1="Result.Value" Format="Enum">
								<Rule Name="fMapiConnectivityResultUnknown" Query="$.='0'" Error="None" Title="Test-MapiConnectivity sconosciuto per il database delle cassette postali '{3}\{4}'" Text="Il risultato di Test-MapiConnectivity per il database delle cassette postali {3}\{4} sul server {2} è '{6}' con Errore='{5}'." S2="%varExName%" S3="%SG%" S4="%DB%" S5="%ERROR%" S6="%RESULT%"/>
								<Rule Name="fMapiConnectivityResultSuccess" Query="$.='1'" Error="None" Title="Test-MapiConnectivity riuscito per il database delle cassette postali '{3}\{4}'" Text="Il risultato di Test-MapiConnectivity per il database delle cassette postali {3}\{4} sul server {2} è '{6}'." S2="%varExName%" S3="%SG%" S4="%DB%" S6="%RESULT%"/>
								<Rule Name="fMapiConnectivityResultFailure" Query="$.='2'" Error="Error" Sev="1" ReportIssue="Issue" Title="Test-MapiConnectivity non riuscito per il database delle cassette postali '{3}\{4}'" Text="Il risultato di Test-MapiConnectivity per il database delle cassette postali {3}\{4} sul server {2} è '{6}' con Errore='{5}'." S2="%varExName%" S3="%SG%" S4="%DB%" S5="%ERROR%" S6="%RESULT%"/>
							</Setting>
						</Object>

						<Object Type="Pdh" Name="MailboxRolePerfData" Key1="%varExName%" Key2="5" Key3="6" Level="1" GroupingClass="True">
							<Rule Name="fGeneralErrorAccessPerf" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Messaggio di errore: {1}." S0="MSExchangeIS Mailbox" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fBDBErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni delle cassette postali" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Ciò potrebbe essere causato da autorizzazioni insufficienti. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fContactErrorAccessPerf" Query="contains(../Exception/@Message, '0x800007d0')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Il server potrebbe non essere disponibile oppure il servizio Registro di sistema remoto potrebbe non essere in esecuzione sul server. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fNonEngErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bb8') and @S1='1'" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Impossibile accedere ai contatori di Performance Monitor. Questo strumento deve essere eseguito su un sistema operativo in lingua Inglese (U.S.A.)." S1="%varNonEnglishOS%"/>

							<!-- Check for client and transport submission health -->

							<Setting Key1="MSExchangeIS Mailbox" Key2="Messages Submitted" Key3="_Total">
								<Rule Name="fMailboxSubmissionProgress" Query="not (list-min($.)=list-max($.))"/>
							</Setting>

							<Setting Key1="MSExchangeIS Mailbox" Key2="Messages Submitted/sec" Key3="_Total">
								<Rule Name="iAvgClientSubmissionRate" Query="list-average($.)"/>
							</Setting>

							<Setting Key1="MSExchangeIS Mailbox" Key2="Messages Queued For Submission" Key3="_Total">
								<Rule Name="iAvgMailboxSubmissionQueueSize" Query="list-average($.)" Error="None" Title="Messaggi accodati per l'invio" Text="Il valore medio del contatore '{0}' sul server {2} è {9}." P0="localize-path('MSExchangeIS Mailbox\Messages Queued For Submission')" S2="%varExName%" P9="list-average($.)"/>
								<Rule Name="iAvgMailboxSubmissionQueueSizeHigh" Query="list-average($.) &gt; 250" Error="Warning" Sev="1" ReportIssue="Issue" Title="È in esecuzione il backup della coda 'Messaggi accodati per l'invio'" Text="Il valore medio del contatore '{0}' sul server {2} supera {8}. Numero di messaggi nella coda: {9}" P0="localize-path('MSExchangeIS Mailbox\Messages Queued For Submission')" S2="%varExName%" S8="250" P9="list-average($.)"/>
							</Setting>

							<Setting Key1="MSExchangeMailSubmission" Key2="Successful Submissions" Key3="MSExchangeMailSubmission">
								<Rule Name="fTransportSubmissionProgress" Query="not(list-min($.)=list-max($.))"/>
							</Setting>

							<Setting Key1="MSExchangeMailSubmission" Key2="Successful Submissions Per Second" Key3="MSExchangeMailSubmission">
								<Rule Name="iAvgTransportSubmissionRate" Query="list-average($.)"/>
								<Rule Name="fBadPerfmonInstanceMailSubmission" Query="$iAvgTransportSubmissionRate = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati dei contatori delle prestazioni dall'oggetto '{4}'" Text="Dati prestazioni mancanti per l'oggetto '{4}' istanza '{5}' nel server {2}." S2="%varExName%" P4="../@Key1" P5="../@Key3"/>
								<Rule Name="fMailboxSubmissionQueueSlow" Query="$fTransportSubmissionProgress and not($iAvgTransportSubmissionRate = 'NaN') and ($iAvgClientSubmissionRate &gt; $iAvgTransportSubmissionRate) and ($iAvgMailboxSubmissionQueueSize &gt; 0)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Coda di invio della cassetta postale lenta" Text="La velocità degli invii client sta superando la velocità degli invii locali al trasporto e il valore 'Messaggi accodati per l'invio' è superiore a 0 nel server {2}." S2="%varExName%"/>
							</Setting>

							<!-- "MSExchangeMailSubmission\Temporary Submission Failures" indicates that at least one hub transport service paused -->
							<Setting Key1="MSExchangeMailSubmission" Key2="Temporary Submission Failures" Key3="MSExchangeMailSubmission">
								<Rule Name="fTransportTempSubmissionFailures" Query="not (list-min($.)=list-max($.))"/>
							</Setting>

							<!-- "MSExchangeMailSubmission\Failed Submissions" indicates that at least one Hub Transport server role service is unreachable -->
							<Setting Key1="MSExchangeMailSubmission" Key2="Failed Submissions" Key3="MSExchangeMailSubmission">
								<Rule Name="fTransportSubmissionFailures" Query="not (list-min($.)=list-max($.))"/>
							</Setting>

							<!-- "MSExchangeMailSubmission\Hub Servers" is count of local Hub Transport server role computers found in AD by MSExchangeMailSubmission -->
							<Setting Key1="MSExchangeMailSubmission" Key2="Hub Servers" Key3="MSExchangeMailSubmission">
								<Rule Name="iLocalTransportServerCount" Query="list-max($.)"/>
								<Rule Name="fNoLocalTransportFound" Query="$iLocalTransportServerCount=0" Error="Warning" Sev="1" ReportIssue="Issue" Title="Nessun computer con ruolo server Trasporto Hub locale rilevato" Text="Il servizio 'MSExchangeMailSubmission' sul server {2} non ha ancora rilevato alcun server con ruolo server Trasporto Hub installato nel sito di Active Directory locale con GUID '{3}'. Questa condizione si verifica dopo il riavvio del servizio e prima dell'elaborazione dell'invio di una cassetta postale locale. Ciò può inoltre indicare che si è verificato un problema di rilevamento del servizio 'MSExchangeADTopology'." S2="%varExName%" S3="%varSiteGuid%"/>
							</Setting>

							<Rule Name="fMailboxSubmissionQueueStuck" Query="(not($fTransportSubmissionProgress) or $fMSExchangeMailSubmissionNotStarted) and ($iAvgMailboxSubmissionQueueSize &gt; 0)" AlwaysEvaluate="True" Error="Error" Sev="1" ReportIssue="Issue" Title="'{0}' non sta avanzando" Text="Il valore per il contatore '{0}' sul server {2} è maggiore di zero (il valore medio è {3}) e nell'ultimo minuto '{4}' non è riuscito a inviare messaggi ad almeno un computer con ruolo server Trasporto Hub installato." P0="localize-path('MSExchangeIS Mailbox\Messages Queued For Submission')" S2="%varExName%" P3="$iAvgMailboxSubmissionQueueSize" S4="MSExchangeMailSubmission"/>
							<Rule Name="fPotentialTransportSubmissionDegradation" Query="$fTransportSubmissionProgress and not($iAvgTransportSubmissionRate = 'NaN') and ($fTransportSubmissionFailures or $fTransportTempSubmissionFailures)" AlwaysEvaluate="True" Error="Warning" Sev="2" ReportIssue="Issue" Title="Possibile calo dell'invio nel trasporto locale" Text="Il servizio 'MSExchangeMailSubmission' sul server {2} sta inviando correttamente messaggi ad almeno un computer con ruolo server Trasporto Hub, ma si sono verificati uno o più errori di invio." S2="%varExName%"/>

						</Object>

						<Object Type="MonadCommand" Name="Identity" Key1="get-ExchangeServer -DomainController %varDCName% | where {$_.IsHubTransportServer -and $_.Site.ObjectGuid -eq '%varSiteGuid%'}" GroupingClass="True">
							<Rule Name="fGetExServerException" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'esecuzione di 'get-ExchangeServer'" Text="Errore durante l'esecuzione di 'get-ExchangeServer' nel server {2}. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
							<Setting Key1="Name">
								<Rule Name="szLocalAdSiteBHServer" Query="$."/>
							</Setting>
							<Setting Key1="AdminDisplayVersion"/>
							<Rule Name="iLocalHubs" Query="count($szLocalAdSiteBHServer)" AlwaysEvaluate="True" Error="None" Title="Trovati {1} computer con ruolo server Trasporto Hub locale" Text="Trovati {1} computer con ruolo server Trasporto Hub installati nello stesso sito di Active Directory del server {2} tramite il GUID '{3}' del sito Active Directory locale." P1="count($szLocalAdSiteBHServer)" S2="%varExName%" S3="%varSiteGuid%"/>
							<Rule Name="fNoLocalHubsFound" Query="$iLocalHubs = 0 and not($fGetExServerException)" AlwaysEvaluate="True" Error="Error" Sev="1" ReportIssue="RootCause" Title="Nessun computer con ruolo server Trasporto Hub locale trovato" Text="Impossibile trovare server con ruolo server Trasporto Hub installato nello stesso sito di Active Directory del server {2} tramite il GUID '{3}' del sito Active Directory locale." S2="%varExName%" S3="%varSiteGuid%"/>
							<Rule Name="fPossibleTopoDiscoveryIssue" Query="$fMailboxSubmissionProgress and not($iLocalTransportServerCount = $iLocalHubs) and not($fGetExServerException) and not($fBadPerfmonInstanceMailSubmission)" AlwaysEvaluate="True" Error="Error" Sev="1" ReportIssue="RootCause" Title="Problema di rilevamento di 'MSExchangeADTopology' in '{0}'" Text="Il servizio '{0}' sul server {2} non è in grado di rilevare tutti i server con ruolo server Trasporto Hub installato nel sito di Active Directory locale con il GUID '{3}'. Ciò può indicare che il rilevamento di 'MSExchangeADTopology' ha riscontrato errori di convalida oggetto." S0="MSExchangeMailSubmission" S2="%varExName%" S3="%varSiteGuid%"/>
						</Object>

						<Rule Name="szAllLocalBHServers" Query="upper-case(join('', pack($szLocalAdSiteBHServer)))" AlwaysEvaluate="True" Display="HideAll">
							<Variable Name="varAllLocalBHServers" Scope="Children"/>
						</Rule>

						<Rule Name="fMailboxRoleServiceIssue" Query="($fMSExchangeADTopologyNotStarted or $fMSExchangeISNotStarted or $fMSExchangeMailSubmissionNotStarted or $fMSExchangeMailSubmissionNotFound)" Error="Error" ReportIssue="Summary" Sev="1" Title="Trovati errori del servizio ruolo server Cassette postali" Text="Almeno un servizio critico nel server {2} necessario per l'invio del messaggio non è attivo e causerà il backup dei messaggi nella cartella Posta in uscita della cassetta postale di ciascun utente. Risolvere questi problemi di servizio e verificare il flusso dei messaggi." S2="%varExName%" AlwaysEvaluate="True"/>

					</Object>
					<!-- End Mailbox server role Health Group-->
				</Object>
				<!-- End 'Server' Group -->

				<Rule Name="szCheckMailboxRoleHealth" Query="'CheckMailboxRoleHealth'">
					<Variable Name="varPreviousName" Scope="Children"/>
				</Rule>
				<Rule Name="szExErrorStateText" Query="if($fMailboxRoleServiceIssue or $fNoLocalHubsFound ,string(@Title),$szExNoErrorStateText)" Title="È stato identificato un potenziale problema del ruolo server Cassette postali" AlwaysEvaluate="True">
					<Variable Name="varErrorStateText" Scope="Global"/>
				</Rule>
				<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema del ruolo server Cassette postali che influisca sull'invio del trasporto locale"/>
				<Rule Name="szCheckMailboxRoleHealthResult" Query="string(@Title)" Title="Risultati controllo integrità ruolo server Cassette postali">
					<Variable Name="varDisplayTitle" Scope="Global"/>
				</Rule>
				<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckMailboxRoleHealthStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				<Rule NextStep="CheckLocalBhHealth" Name="fGotoCheckLocalBhHealth" Query="$iLocalHubs &gt; 0" Priority="2" Text="- Avviare l'analisi di integrità ruolo server Trasporto Hub" Display="Hide" AlwaysEvaluate="True"/>
			</Object>
		</Object>
	</Object>

	<!-- Check Hub Transport server role for health problems that prevent submission from Mailbox server role -->
	<Object Type="Step" Name="CheckLocalBhHealth" Title="Controlla integrità ruolo server Trasporto Hub del sito di Active Directory" Display="Left">

		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varExName%" Substitution="varExMBRoleName" Display="Hide"/>
			<Setting Key1="%varAllLocalBHServers%" Substitution="varAllLocalBHServers" Display="Hide"/>

			<Object Type="Progress" Title="Controllo integrità ruolo server Trasporto Hub" Text="Attendere. È in corso la verifica dell'integrità di tutti i computer con ruolo server Trasporto Hub nello stesso sito di Active Directory di questo computer con ruolo server Cassette postali. Ciò include la verifica dello stato appropriato dei servizi necessari e della raccolta dei dati relativi alle prestazioni allo scopo di determinare l'avanzamento degli invii al trasporto." HelpId="html\c37f4514-a529-4315-bb42-b2438e277d1a.htm">
				<!-- Let's check the health of the services on the Hub Servers in that site -->
				<!-- Begin 'Server' Group -->
				<Object Type="Variable" Name="LocalHubServerList" Key1="Unpack" Key2="%varAllLocalBHServers%" Display="Hide">
					<Setting Key1="__VALUE" Substitution="varExName"/>

					<!-- Begin 'Server' Group -->
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" SecurityContext="EXLOGON" Display="Hide">

						<!-- Begin Hub Transport Server Role Health Group -->
						<Object Type="Group" Name="Hub Transport Server Role Health" Class="Area" GroupingClass="True" Display="Hide">

							<Object Type="Registry" Key1="%varExName%" Key3="Software\Microsoft\Exchange\Setup">
								<Setting Key1="Services" Substitution="EXCHBINPATHD" SubstitutionFormat="\\----\\"/>
								<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\MSExchangeTransport.exe'">
									<Setting Key1="LastModified"/>
									<Setting Key1="Version">
										<!--Need to check version and condition fMSExchangeTransportAccountIncorrect on this value-->
										<Rule Name="szFileVersionTransportSvc" Query="$."/>
									</Setting>
								</Object>
								<Object Type="WMI" Key1="%varExName%" Key3="CIM_Datafile" Key4="name = '%EXCHBINPATHD%\\bin\\EdgeTransport.exe'">
									<Setting Key1="LastModified"/>
									<Setting Key1="Version"/>
								</Object>
							</Object>

							<!-- Check whether the MSExchangeTransport service is up and running on each hub server -->
							<Object Type="WMI" Key1="%varExName%" Key3="Win32_Service" Key4="Name='MSExchangeTransport'">
								<Rule Name="fWmiException" Query="../Exception/@Message" Error="Error" Title="Errore durante l'accesso all'archivio WMI" Text="Si è verificata un'eccezione durante la query al servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}." P1="../Exception/@Message" S2="%varExName%"/>
								<Rule Name="fMSExchangeTransportNotFound" Query="count(../Instance)=0" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non trovato." Text="Il servizio '{0}' sul server {2} non è installato, ma l'attributo '{4}' indica che il ruolo server Trasporto Hub è installato. Il servizio è necessario affinché i messaggi inviati dai client sul server {3} siano instradati ai destinatari." S0="MSExchangeTransport" S2="%varExName%" S3="%varExMBRoleName%" S4="msExchCurrentServerRoles"/>
								<Setting Key1="Started">
									<Rule Name="fMSExchangeTransportStarted" Query="$.='True'"/>
									<Rule Name="fMSExchangeTransportNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non in esecuzione" Text="Il servizio '{0}' sul server {2} non è in esecuzione. È importante che il servizio sia in esecuzione affinché il ruolo server Cassette postali su {3} sia in grado di inviare messaggi al ruolo server Trasporto Hub su questo computer." S0="MSExchangeTransport" S2="%varExName%" S3="%varExMBRoleName%"/>
								</Setting>
								<Setting Key1="State">
									<Rule Name="fMSExchangeTransportRunning" Query="$fMSExchangeTransportStarted and $.='Running'" Error="None" Title="Servizio '{0}' avviato e in esecuzione" Text="Il servizio '{0}' nel server {2} è stato avviato ed è in esecuzione." S0="MSExchangeTransport" S2="%varExName%"/>
									<Rule Name="fMSExchangeTransportNotRunning" Query="not($.='Running' and not($fMSExchangeTransportNotStarted))" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' non in esecuzione" Text="Lo stato del servizio '{0}' sul server {2} è '{1}'. È importante che il servizio sia in esecuzione affinché il ruolo server Cassette postali su {3} sia in grado di inviare messaggi al ruolo server Trasporto Hub su questo computer." S0="MSExchangeTransport" P1="$." S2="%varExName%" S3="%varExMBRoleName%"/>
								</Setting>
								<Setting Key1="StartMode">
									<Rule Name="fMSExchangeTransportDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio '{0}' disabilitato" Text="Il servizio '{0}' sul server {2} è disabilitato. È importante che il servizio is in esecuzione affinché il ruolo server Cassette postali su {3} sia in grado di inviare messaggi al ruolo server Trasporto Hub su questo computer." S0="MSExchangeTransport" S2="%varExName%" S3="%varExMBRoleName%"/>
									<Rule Name="fMSExchangeTransportSvcManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale del servizio '{0}'" Text="Il servizio '{0}' nel server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' in quanto il corretto funzionamento di Exchange dipende da questo servizio." S0="MSExchangeTransport" S2="%varExName%"/>
								</Setting>
								<Setting Key1="StartName">
									<Rule Name="fMSExchangeTransportAccountIncorrect" Query="substring($szFileVersionTransportSvc, 7, 4) &gt; 556 and not($.='NT AUTHORITY\NetworkService')" Error="Error" ReportIssue="RootCause" Title="L'account del servizio '{0}' è stato modificato dall'impostazione predefinita" Text="L'account del servizio '{0}' è stato modificato dall'impostazione predefinita 'NT AUTHORITY\NetworkService' a '{1}'. Ciò potrebbe causare ulteriori problemi di accesso insufficiente alle risorse necessarie per questo servizio." S0="MSExchangeTransport" P1="$."/>
								</Setting>
							</Object>

							<Object Type="Pdh" Name="HubRolePerfData" Key1="%varExName%" Key2="5" Key3="6" Level="1" Async="0">
								<Rule Name="fGeneralErrorAccessPerf" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni del ruolo server Trasporto Hub" Text="Errore durante l'accesso ai contatori di prestazioni sul server {2}. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
								<Rule Name="fBDBErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni del ruolo server Trasporto Hub" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Ciò potrebbe essere causato da autorizzazioni insufficienti. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
								<Rule Name="fContactErrorAccessPerf" Query="contains(../Exception/@Message, '0x800007d0')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Errore durante l'accesso ai contatori delle prestazioni sul server {2}. Il server potrebbe non essere disponibile oppure il servizio Registro di sistema remoto potrebbe non essere in esecuzione sul server. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
								<Rule Name="fNonEngErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bb8') and @S1='1'" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni" Text="Impossibile accedere ai contatori di Performance Monitor. Questo strumento deve essere eseguito su un sistema operativo in lingua Inglese (U.S.A.)." S1="%varNonEnglishOS%"/>

								<!--Test for Transport Submission Progress (includes submissions through all paths including MAPI, SMTP, and PICKUP-->
								<Setting Key1="MSExchangeTransport Database" Key2="MailItem new total" Key3="_Total">
									<Rule Name="fTransportDatabaseSubmissionProgress" Query="not (list-min($.)=list-max($.))"/>
									<Rule Name="fTransportDatabaseSubmissionProgressDisplay" Query="not($fTransportDatabaseSubmissionProgress)" Error="None" Title="Nessun invio al trasporto rilevato" Text="Non è stato rilevato alcun invio al trasporto sul server {2} nel corso dei precedenti 60 secondi di esempio." S2="%varExName%"/>
								</Setting>

								<Setting Key1="MSExchangeTransport Database" Key2="MailItem new/sec" Key3="_Total">
									<Rule Name="iAvgTransportDatabaseSubmissionRate" Query="list-average($.)" Error="None" Title="Velocità di invio del database di trasporto" Text="La velocità degli invii al database di trasporto nel server {2} è di {1} messaggi al secondo negli ultimi 60 secondi." P1="list-average($.)" S2="%varExName%"/>
									<Rule Name="fBadPerfmonInstanceTransportDB" Query="$iAvgTransportDatabaseSubmissionRate = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati dei contatori delle prestazioni per l'oggetto '{4}'" Text="Dati prestazioni mancanti per l'oggetto '{4}' istanza '{5}' nel server {2}." S2="%varExName%" P4="../@Key1" P5="../@Key3"/>
								</Setting>

								<Setting Key1="MSExchange Store Driver" Key2="Outbound: Mapi Events Without Message" Key3="_total">
									<Rule Name="fBadPerfmonInstanceTransportStoreDriver" Query="list-average($.) = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati dei contatori delle prestazioni per l'oggetto '{4}'" Text="Dati prestazioni mancanti per l'oggetto '{4}' istanza '{5}' nel server {2}." S2="%varExName%" P4="../@Key1" P5="../@Key3"/>
									<Rule Name="fStoreDriverNotificationErrors" Query="not (list-min($.)=list-max($.))" Error="Error" Sev="1" ReportIssue="RootCause" Title="Invii locali del trasporto '{1}' non riusciti" Text="Invii locali del trasporto '{1}' sul server {2} non riusciti." S1="StoreDriver" S2="%varExName%"/>
								</Setting>

								<Setting Key1="MSExchange Store Driver" Key2="Outbound: Submitted Mail Items" Key3="_total">
									<Rule Name="fBadPerfmonInstanceStoreDriverSubmission" Query="list-average($.) = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati del contatore di prestazioni per l'oggetto '{4}'" Text="Dati prestazioni mancanti per l'oggetto '{4}' istanza '{5}' sul server {2}." S2="%varExName%" P4="../@Key1" P5="../@Key3"/>
									<Rule Name="fStoreDriverSubmissionProgress" Query="not (list-min($.)=list-max($.))"/>
									<Rule Name="fStoreDriverSubmissionProgressDisplay" Query="not($fStoreDriverSubmissionProgress)" Error="None" Title="Nessun invio a '{1}' rilevato" Text="Non è stato rilevato alcun invio a '{1}' sul server {2} nel corso dei precedenti 60 secondi di esempio." S1="StoreDriver" S2="%varExName%"/>

								</Setting>

							</Object>
							<Rule Name="fLocalBhServiceHealthIssue" Query="($fMSExchangeTransportNotStarted or $fMSExchangeTransportNotRunning or $fMSExchangeTransportDisabled)" AlwaysEvaluate="True" Error="Error" ReportIssue="Summary" Sev="1" Title="Rilevati problemi del servizio 'MSExchangeTransport'" Text="È stato rilevato un problema con il servizio 'MSExchangeTransport' su {2}. Questo servizio è necessario per l'invio del trasporto locale dal ruolo server Cassette postali su {3} e non è attualmente in esecuzione. Quando il servizio non è in esecuzione, è possibile che si verifichi il backup dei messaggi nella cartella Posta in uscita della cassetta postale di ciascun utente su {3}. Risolvere questi problemi del servizio e controllare che il flusso dei messaggi funzioni correttamente." S2="%varExName%" S3="%varExMBRoleName%"/>
						</Object>
						<!--End Hub Transport server role Health Group-->
					</Object>
					<!--End 'Server' Group-->
				</Object>
				<!-- End 'LocalHubServerList' Variable Object -->

				<Rule Name="szCheckLocalBhHealth" Query="'CheckLocalBhHealth'">
					<Variable Name="varPreviousName" Scope="Children"/>
				</Rule>
				<Rule Name="szExErrorStateText" Query="if($fLocalBhServiceHealthIssue ,string(@Title),$szExNoErrorStateText)" Title="Sono stati identificati uno o più problemi potenziali del ruolo server Trasporto Hub" AlwaysEvaluate="True">
					<Variable Name="varErrorStateText" Scope="Global"/>
				</Rule>
				<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema del ruolo server Trasporto Hub che influisca sull'invio del trasporto locale"/>
				<Rule Name="szCheckLocalBhHealthResult" Query="string(@Title)" Title="Risultati controllo integrità ruolo server Trasporto Hub">
					<Variable Name="varDisplayTitle" Scope="Global"/>
				</Rule>

				<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckLocalBhHealthStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
			</Object>
		</Object>
	</Object>

	<!-- Find E12 Edge Subscriptions(s) -->
	<Object Type="Step" Name="FindEdgeSubscriptions" Title="Rilevamento sottoscrizioni Edge di Active Directory" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>

			<Object Type="Progress" Title="Rilevamento sottoscrizioni Edge di Active Directory in corso" Text="Attendere. Tentativo di recupero di tutte le informazioni sulle sottoscrizioni di Edge e sul dominio accettato in Active Directory in corso...">
				<Object Type="MonadCommand" Name="Name" Key1="get-exchangeserver -DomainController %varDCName% | where {$_.IsEdgeServer}" Class="Server" GroupingClass="True">
					<Rule Name="fGetExServerException" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante l'esecuzione di 'get-ExchangeServer'" Text="Errore durante l'esecuzione di 'get-ExchangeServer' con parametro DomainController {3}. Messaggio di errore: {1}." P1="../Exception/@Message" S3="%varDCName%"/>
					<Rule Name="fEdgeServersNotFound" Query="count(../Instance) = 0" AlwaysEvaluate="True" Error="Warning" Sev="1" ReportIssue="RootCause" Title="Nessuna sottoscrizione di Edge trovata in Active Directory" Text="Impossibile trovare sottoscrizioni del computer con ruolo server Trasporto Edge in Active Directory. Ciò indica che non sono state create sottoscrizioni di Edge e che non viene utilizzato EdgeSync."/>
					<Setting Key1="Site.Name" Substitution="SITENAME"/>
					<Setting Key1="Site.ObjectGuid" Substitution="SITEGUID" Display="Hide"/>
					<Setting Key1="Name" Substitution="EDGECN">
						<Rule Name="szEdgeServerCn" Query="$."/>
					</Setting>
					<Setting Key1="Fqdn" Substitution="EDGEFQDN">
						<Rule Name="szEdgeServerFqdn" Query="$." Error="None" Title="Sottoscrizione Edge per {1} trovata in Active Directory" Text="Sottoscrizione Edge per {1} trovata nel sito Active Directory {2}." P1="$." S2="%SITENAME%"/>
					</Setting>
					<Setting Key1="AdminDisplayVersion"/>
					<Setting Key1="WhenCreated"/>
					<Object Type="MonadCommand" Name="Name" Key1="get-exchangeserver -DomainController %varDCName% | where {$_.IsHubTransportServer -and $_.Site.ObjectGuid -eq '%SITEGUID%'}" GroupingClass="True">
						<Rule Name="fGetExServerException2" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'esecuzione di 'get-ExchangeServer'" Text="Errore durante l'esecuzione di 'get-ExchangeServer'. Messaggio di errore: {1}." P1="../Exception/@Message"/>
						<Rule Name="iHubServersFound" Query="count(../Instance) &gt; 0" AlwaysEvaluate="True" Error="None" Title="Trovato/i {1} computer con ruolo server Trasporto Hub" Text="Trovato/i {1} computer con ruolo server Trasporto Hub nello stesso sito di Active Directory della sottoscrizione di Edge per {2}." P1="count(../Instance)" S2="%EDGEFQDN%"/>
						<Rule Name="fHubServersNotFound" Query="count(../Instance)=0" AlwaysEvaluate="True" Error="Error" Sev="1" ReportIssue="RootCause" Title="Nessun computer con ruolo server Trasporto Hub trovato" Text="Impossibile trovare server con ruolo server Trasporto Hub installato nello stesso sito di Active Directory della sottoscrizione di Edge per {2}." S2="%EDGEFQDN%"/>
						<Rule Name="szAllHubInstances" Query="join('', pack($szHubServer))" AlwaysEvaluate="True" Display="HideAll">
							<Variable Name="varEdgeServer[%EDGEFQDN%]" Scope="Children"/>
							<Variable Name="varHubServers[%SITEGUID%]" Scope="Children"/>
						</Rule>
						<Setting Key1="Name">
							<Rule Name="szHubServer" Query="upper-case($.)"/>
						</Setting>
						<Setting Key1="Fqdn"/>
						<Setting Key1="WhenChanged"/>
					</Object>
				</Object>

				<Rule Name="szAllEdgeFqdnInstanceFQDN" Query="join(',',$szEdgeServerFqdn)">
					<Variable Name="varAllRemoteServerFQDN" Scope="Children"/>
				</Rule>

				<Rule Name="fFindEdgeSubscriptionErrors" Query="$fGetExServerException or $fGetExServerException2 or $fHubServersNotFound or $fEdgeServersNotFound" Error="Error" Sev="1" ReportIssue="Summary" Title="Problemi rilevati durante il recupero delle informazioni sulla sottoscrizione di Edge" Text="Sono stati rilevati uno o più errori durante il recupero delle informazioni sulla sottoscrizione di Edge da Active Directory. Se lo strumento è stato eseguito su un server con ruolo server Trasporto Edge installato, eseguirlo su un server che sia membro della foresta in cui è stata creata la sottoscrizione di Edge." AlwaysEvaluate="True"/>

				<Rule Name="szFindEdgeSubscriptions" Query="'FindEdgeSubscriptions'">
					<Variable Name="varPreviousName" Scope="Children"/>
				</Rule>
				<Rule Name="szExErrorStateText" Query="if($fFindEdgeSubscriptionErrors,string(@Title),$szExNoErrorStateText)" Title="Uno o più errori rilevati durante la ricerca di sottoscrizioni di Edge." AlwaysEvaluate="True">
					<Variable Name="varErrorStateText" Scope="Global"/>
				</Rule>
				<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema della sottoscrizione Edge di Active Directory"/>
				<Rule Name="szFindEdgeSubscriptionsResult" Query="string(@Title)" Title="Rilevamento risultati sottoscrizioni Edge di Active Directory">
					<Variable Name="varDisplayTitle" Scope="Global"/>
				</Rule>
				<Rule NextStep="DisplayResultsStep" Name="fDisplayFindEdgeSubscriptionsStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				<Rule NextStep="CheckAdEdgeSyncConfig" Name="fGotoCheckAdEdgeSyncConfig" Query="not($fEdgeServersNotFound) and not($fHubServersNotFound)" Priority="3" Text="- Recuperare le informazioni sulla configurazione di EdgeSync e sul dominio accettato da Active Directory." Display="Hide" AlwaysEvaluate="True"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="CheckAdEdgeSyncConfig" Title="Recupera configurazione di EdgeSync da Active Directory" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<!--TODO:Obtain configuration DC from Hub server running EdgeSync to ensure we are checking same replica-->
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>

			<Object Type="Progress" Title="Recupera configurazione di EdgeSync da Active Directory" Text="Attendere. È in corso il recupero della configurazione del dominio accettato e delle credenziali EdgeSync utilizzate da ogni computer con ruolo server Trasporto Hub da Active Directory. Le credenziali includono il nome dell'account da utilizzare durante la connessione a un'istanza ADAM (Active Directory Application Mode) sul computer con ruolo server Trasporto Edge e la password crittografata.">
				<Object Type="Directory" Name="cn" Key1="LDAP://%varDCName%/">
					<Rule Name="szExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
					<Rule Name="fFatalDirectoryError" Query="../Exception/@Message or ../Instance/Object/Exception/@Message" Error="Error" Sev="1" Title="Errore durante l'accesso ad Active Directory" Text="Impossibile eseguire la query alla directory nel server {2}. {1}" P1="$szExceptionText" S2="%varDCName%" AlwaysEvaluate="True"/>

					<Setting Key1="configurationNamingContext" Substitution="CONFIGDN" Display="Hide"/>
					<Setting Key1="currentTime">
						<Rule Name="dCurrentAdDateTime" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')"/>
					</Setting>

					<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%CONFIGDN%">
						<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>

						<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Services,%CONFIGDN%">
							<Rule Name="fDirectoryServicesContainerError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero del contenitore '{4}' da Active Directory" Text="Impossibile recuperare il contenitore '{4}' da Active Directory sul server {2}. {1}" P1="../Exception/@Message" S2="%varDCName%" S4="Services" AlwaysEvaluate="True"/>
							<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>

							<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="cn=Microsoft Exchange,%DN%">
								<Rule Name="fDirectoryExContainerError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero del contenitore '{4}' dall'istanza ADAM" Text="Impossibile recuperare il contenitore '{4}' da Active Directory sul server {2}. {1}" P1="../Exception/@Message" S2="%varDCName%" S4="Microsoft Exchange" AlwaysEvaluate="True"/>
								<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>

								<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%DN%" Key3="objectClass=msExchOrganizationContainer" Key4="OneLevel">
									<Rule Name="fNoExchangeOrgContainer" Query="count(../Instance)=0" Error="Error" Sev="1" Title="Impossibile trovare l'organizzazione di Exchange nell'istanza ADAM" Text="Impossibile trovare l'organizzazione di Exchange nel contenitore '{4}' da Active Directory sul server {2}." S2="%varDCName%" S4="Microsoft Exchange" AlwaysEvaluate="True"/>
									<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>

									<!--Retrieve AcceptedDomain Configuration-->
									<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Transport Settings,%DN%">
										<Rule Name="fDirectoryTransportSettingsContainerError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero delle informazioni sul contenitore '{4}' da Active Directory" Text="Impossibile recuperare le informazioni sul contenitore '{4}' da Active Directory. {1}" P1="../Exception/@Message" S4="Transport Settings" AlwaysEvaluate="True"/>
										<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>
										<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Accepted Domains,%DN%">
											<Rule Name="fDirectoryAcceptedDomainContainerError" Query="count(../Instance)=0" Error="Error" Sev="1" Title="Errore durante il recupero delle informazioni sul contenitore '{4}' da Active Directory" Text="Impossibile recuperare le informazioni sul contenitore '{4}' da Active Directory. {1}" P1="../Exception/@Message" S4="Accepted Domains" AlwaysEvaluate="True"/>
											<Setting Key1="distinguishedName" Substitution="DN"/>
											<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%DN%" Key3="(objectClass=msExchAcceptedDomain)" Key4="OneLevel">
												<Rule Name="fNoAcceptedDomainFoundinAD" Query="count(../Instance)=0" Error="Error" ReportIssue="RootCause" Sev="1" Title="Impossibile trovare oggetti dominio accettato in Active Directory" Text="Nessun oggetto dominio accettato trovato in Active Directory sul server {2}. Ciò potrebbe causare problemi nella capacità dell'organizzazione di ricevere posta da Internet." S2="%varDCName%" AlwaysEvaluate="True"/>
												<Setting Key1="cn" Substitution="CN"/>
												<Setting Key1="msExchAcceptedDomainName" Substitution="DOMAINNAME"/>
												<Setting Key1="msExchAcceptedDomainFlags">
													<Rule Name="szAcceptedDomainFlags" Query="$.">
														<Variable Name="varAcceptedDomain[%DOMAINNAME%]" Scope="Children"/>
													</Rule>
													<Rule Name="fAcceptedDomainDefault" Query="bitwise-and($.,4)=4" Error="None" Title="Il dominio accettato {1} è '{2}'" Text="Il dominio accettato {1} è '{2}'." S1="%DOMAINNAME%" S2="Default"/>
													<Rule Name="fAcceptedDomainAuthoritative" Query="bitwise-and($.,3)=0" Error="None" Title="Il dominio accettato {1} è '{2}'" Text="Il dominio accettato {1} è '{2}'." S1="%DOMAINNAME%" S2="Authoritative"/>
													<Rule Name="fAcceptedDomainInternalRelay" Query="bitwise-and($.,3)=2" Error="None" Title="Il dominio accettato {1} è '{2}'" Text="Il dominio accettato {1} è '{2}'." S1="%DOMAINNAME%" S2="InternalRelay"/>
													<Rule Name="fAcceptedDomainExternalRelay" Query="bitwise-and($.,3)=1" Error="None" Title="Il dominio accettato {1} è '{2}'" Text="Il dominio accettato {1} è '{2}'." S1="%DOMAINNAME%" S2="ExternalRelay"/>
												</Setting>
												<Setting Key1="WhenCreated"/>
												<Setting Key1="WhenChanged"/>
											</Object>
										</Object>
									</Object>

									<!--Retrieve Server Configuration-->
									<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,%DN%">
										<Rule Name="fDirectoryServersContainerError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero delle informazioni sul contenitore '{4}'" Text="Impossibile recuperare le informazioni sul contenitore '{4}' da Active Directory sul server {2}." S2="%varDCName%" S4="Servers" AlwaysEvaluate="True"/>
										<Setting Key1="distinguishedName" Display="Hide"/>

										<Object Type="Variable" Name="SiteHubServerList" Key1="List" Key2="varHubServers" Display="Hide">
											<Setting Key1="__KEY" Substitution="ADSITEGUID" Display="Hide"/>
											<Setting Key1="__VALUE" Substitution="HUBINSTANCES" Display="Hide"/>

											<!--Retrieve information about Edge Transport server role computer object in Active Directory-->
											<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)((msExchCurrentServerRoles=64)))" Class="Server" GroupingClass="True">
												<Rule Name="fNoSuchEdgeServerFoundinAD" Query="count(../Instance)=0" Error="Error" ReportIssue="RootCause" Sev="1" Title="Errore durante il recupero delle informazioni sul computer con ruolo server Trasporto Edge da Active Directory" Text="Errore durante il recupero delle informazioni sul ruolo server Trasporto Edge da Active Directory sul server {2}." S2="%varDCName%" AlwaysEvaluate="True"/>
												<Setting Key1="distinguishedName" Substitution="EDGEDN" Display="Hide"/>
												<Setting Key1="CN" Substitution="EDGECN" Display="Hide"/>
												<Setting Key1="WhenCreated" Display="Hide"/>
												<Setting Key1="WhenChanged" Display="Hide"/>
												<Setting Key1="networkAddress" Display="Hide">
													<Rule Name="szAdEdgeFQDN" Query="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" Error="None" Title="Nome di dominio completo (FQDN) del server" Text="Il nome di dominio completo (FQDN) del server {2} è {1}." P1="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" S2="%EDGECN%"/>
												</Setting>
												<Setting Key1="msExchEdgeSyncCredential" Format="Ascii" Display="Hide">
													<Rule Name="szAdEdgeSyncCredentials" Query="pack($.)">
														<Variable Name="varAdEdgeSyncCredentials[%EDGECN%]" Scope="Children"/>
													</Rule>
													<Rule Name="fAdEdgeEdgeSyncCredentialFound" Query="count($.) &gt; 0" Error="None" Title="Credenziali EdgeSync trovate in Active Directory per il computer con ruolo server Trasporto Edge {2}" Text="{1} credenziali EdgeSync trovate in Active Directory per il computer con ruolo server Trasporto Edge {2}." P1="count($.)" S2="%EDGECN%" AlwaysEvaluate="True"/>
												</Setting>
												<Rule Name="fNoAdEdgeEdgeSyncCredentialFound" Query="not($fAdEdgeEdgeSyncCredentialFound)" Error="Error" ReportIssue="RootCause" Sev="1" Title="Nessuna credenziale EdgeSync trovata in Active Directory per il computer con ruolo server Trasporto Edge {2}" Text="Nessuna credenziale EdgeSync trovata in Active Directory per il computer con ruolo server Trasporto Edge {2}. Ciò si verifica quando lo strumento non è in grado di recuperare uno o più valori per l'attributo '{4}' nell'oggetto server '{3}' in Active Directory." S2="%EDGECN%" S3="%EDGEDN%" S4="msExchEdgeSyncCredential" AlwaysEvaluate="True"/>
											</Object>

											<!--Retrieve information about each Hub Transport server role computer object in Active Directory-->
											<Object Type="Variable" Name="HubServers" Key1="Unpack" Key2="%HUBINSTANCES%" Display="Hide">
												<Setting Key1="__VALUE" Substitution="varHubName" Display="Hide"/>

												<Object Type="Group" Name="%varHubName%" Class="Server" GroupingClass="True">

													<Object Type="Directory" Key1="LDAP://%varDCName%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)((cn=%varHubName%)))">
														<Rule Name="fNoSuchHubServerFoundinAD" Query="count(../Instance)=0" Error="Error" ReportIssue="RootCause" Sev="1" Title="Errore durante il recupero delle informazioni sul ruolo server Trasporto Hub dall'istanza ADAM di Edge" Text="Impossibile recuperare il computer con ruolo server Trasporto Hub {3} dall'istanza ADAM (Active Directory Application Mode) sul server {2}." S2="%varDCName%" S3="%varHubName%" AlwaysEvaluate="True"/>
														<Setting Key1="distinguishedName" Substitution="HUBDN" Display="Hide"/>
														<Setting Key1="CN" Substitution="HUBCN" Display="Hide"/>
														<Setting Key1="WhenCreated" Display="Hide"/>
														<Setting Key1="WhenChanged" Display="Hide"/>
														<Setting Key1="networkAddress" Display="Hide">
															<Rule Name="szAdHubFQDN" Query="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" Error="None" Title="Nome di dominio completo (FQDN) del server" Text="Il nome di dominio completo (FQDN) del server {2} è {1}." P1="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" S2="%HUBCN%">
																<Variable Name="varAdFQDN[%HUBCN%]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchEdgeSyncCredential" Format="Ascii" Display="Hide">
															<Rule Name="fAdHubEdgeSyncCredentialFound" Query="count($.) &gt; 0" Error="None" Title="Credenziali EdgeSync trovate in Active Directory per il computer con ruolo server Trasporto Hub {2}" Text="{1} credenziali EdgeSync trovate in Active Directory per il computer con ruolo server Trasporto Hub {2}." P1="count($.)" S2="%varHubName%" AlwaysEvaluate="True"/>
														</Setting>
														<Rule Name="fNoAdHubEdgeSyncCredentialFound" Query="not($fAdHubEdgeSyncCredentialFound)" Error="Error" ReportIssue="RootCause" Sev="1" Title="Nessuna credenziale EdgeSync trovata in Active Directory per il computer con ruolo server Trasporto Hub {2}" Text="Nessuna credenziale EdgeSync trovata in Active Directory per il computer con ruolo server Trasporto Hub {2}. Ciò si verifica quando il servizio EdgeSync sul server {2} non riesce ad aggiornare l'attributo '{4}' dell'oggetto server {2} in Active Directory." S2="%varHubName%" S4="msExchEdgeSyncCredential" AlwaysEvaluate="True"/>
													</Object>
												</Object>
												<!--End Hub Server Group-->

											</Object>

										</Object>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
				<Rule Name="szCheckAdEdgeSyncConfig" Query="'CheckAdEdgeSyncConfig'">
					<Variable Name="varPreviousName" Scope="Children"/>
				</Rule>
				<Rule Name="szExErrorStateText" Query="if($fFatalDirectoryError or $fNoAcceptedDomainFoundinAD or $fNoAdEdgeEdgeSyncCredentialFound or $fNoAdHubEdgeSyncCredentialFound or $fDirectoryAcceptedDomainContainerError,string(@Title),$szExNoErrorStateText)" Title="Sono stati identificati uno o più problemi durante il recupero della configurazione di EdgeSync e del dominio accettato da Active Directory" AlwaysEvaluate="True">
					<Variable Name="varErrorStateText" Scope="Global"/>
				</Rule>
				<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema relativo alla configurazione di EdgeSync o al dominio accettato di Active Directory"/>
				<Rule Name="szCheckAdEdgeSyncConfigResult" Query="string(@Title)" Title="Risultati della configurazione di EdgeSync e del dominio accettato">
					<Variable Name="varDisplayTitle" Scope="Global"/>
				</Rule>
				<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckAdEdgeSyncConfigStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				<Rule NextStep="CheckEdgeSyncDnsConfig" Name="fGotoCheckEdgeSyncDnsConfig" Query="not($fFatalDirectoryError)" Priority="3" Text="- Verificare configurazione DNS di EdgeSync" Display="Hide" AlwaysEvaluate="True"/>
				<Rule NextStep="CheckEdgeAdamInstances" Name="fGotoCheckEdgeAdamInstances" Query="not($fFatalDirectoryError)" Priority="4" Text="- Esegue il test delle connessioni alle istanze ADAM (Active Directory Application Mode) di Edge" Display="Hide" AlwaysEvaluate="True"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="CheckEdgeSyncDnsConfig" Title="Verifica configurazione DNS di EdgeSync" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Verifica configurazione DNS di EdgeSync" Text="Attendere. Verifica della configurazione del DNS di EdgeSync in corso...">
				<Object Type="Variable" Name="HubServerList" Key1="List" Key2="varAdFQDN" Display="Hide">
					<Setting Key1="__KEY" Substitution="SERVERNAME" Display="Hide">
						<Rule Name="szEdgeSyncDnsServerName" Query="$.">
							<Variable Name="varExName" Scope="Children"/>
						</Rule>
					</Setting>
					<Setting Key1="__VALUE" Substitution="SERVERFQDN" Display="Hide">
						<Rule Name="szEdgeSyncDnsServerFQDN" Query="$.">
							<Variable Name="varExFQDN" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
			</Object>
			<Rule NextStep="CheckDNSAvailability" Name="fGotoCheckDNSAvailability" Query="true()" Priority="2" Text="- Verificare impostazioni scheda DNS sui computer con ruolo server Trasporto Hub" Display="Hide" AlwaysEvaluate="True"/>
			<Rule NextStep="CheckEdgeDNSRecords" Name="fGotoCheckEdgeDNSRecords" Query="true()" Priority="2" Text="- Verificare i record DNS per i computer con ruolo server Trasporto Hub con sottoscrizioni di Edge" Display="Hide" AlwaysEvaluate="True"/>

		</Object>
	</Object>

	<Object Type="Step" Name="CheckEdgeDNSRecords" Title="Controlla record DNS per i server 'Trasporto Edge'" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varDCName%" Substitution="varDCName" Display="Hide"/>
			<Setting Key1="%varAllRemoteServerFQDN%" Substitution="varAllRemoteServerFQDN" Display="Hide"/>
			<Setting Key1="%varAllRemoteServerDomain%" Substitution="varAllRemoteServerDomain" Display="Hide"/>
			<Setting Key1="%varAllDNSAddress%" Substitution="varAllDNSAddress" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo dei record DNS" Text="Attendere. È in corso il controllo della capacità dei server DNS utilizzati dal server {2} di restituire record validi per i server che rappresentano sottoscrizioni di Edge." S2="%varExName%">
				<Object Type="Group" Name="Edge Server DNS Records" Class="Area" GroupingClass="True" Display="Hide">
					<!-- Let's check whether each DNS contains the records of each destination server -->
					<Object Type="If" Name="DNSAvailableServer" Key1="'%varAllDNSAddress%'!=';'">
						<Object Type="Cache" Name="RemoteServerList" Key1="Add" Key2="RemoteServer" Key3="%varAllRemoteServerFQDN%" Key4="," Class="Nome" GroupingClass="True" Display="Hide">
							<Rule Name="fNoEdgeServerFQDN" Query="count(../Instance)=0"/>
							<Setting Key1="EdgeServerFqdn" Substitution="REMOTESRVNAME"/>
							<Object Type="DNS" Name="ServerARecord" Key1="%varAllDNSAddress%" Key2="%REMOTESRVNAME%" Async="100">
								<Setting Key1="A">
									<Rule Name="szEdgeResolvedHost" Query="if (string-length($.[contains(.,'DNS Query Result')]) &gt; 19, substring-after($.[4],'DNS Query Result = '))" AlwaysEvaluate="True"/>
								</Setting>
								<Rule Name="fEdgeNoHostRecords" Query="count ($szEdgeResolvedHost) &lt;1" Error="Error" Sev="2" ReportIssue="RootCause" Title="Nessun record 'Host' trovato per il server {1}" Text="Il server {1} dispone di una sottoscrizione di Edge in Active Directory, ma non è possibile ottenere alcun record 'Host' per il server {1} dai seguenti server DNS ({2}). Ciò può causare errori di EdgeSync." S1="%REMOTESRVNAME%" S2="%varAllDNSAddress%"/>
								<Rule Name="fEdgeHostRecordsFound" Query="count ($szEdgeResolvedHost) &gt;0" Error="None" Title="Record 'Host' trovato/i per il server {1}" Text="I server DNS ({2}) hanno risolto gli indirizzi IP del server {1}: {4}" S1="%REMOTESRVNAME%" S2="%varAllDNSAddress%" P4="join(',', $szEdgeResolvedHost)"/>
							</Object>
						</Object>
					</Object>

					<Rule Name="szCheckEdgeDNSRecords" Query="'CheckEdgeDNSRecords'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fNoEdgeServerFQDN or $fEdgeNoHostRecords, string(@Title), $szExNoErrorStateText)" Title="Identificati potenziali problemi del DNS." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema del DNS identificato."/>
					<Rule Name="szConnectExTestResult" Query="string(@Title)" Title="Risultati analisi record DNS di Edge">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>
					<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckEdgeDNSRecordsStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>


	<Object Type="Step" Name="CheckEdgeAdamInstances" Title="Verifica integrità servizi ADAM (Active Directory Application Mode) di Edge" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varAllAdEdgeSyncUsers%" Substitution="varAllAdEdgeSyncUsers" Display="Hide"/>

			<Object Type="Progress" Title="Verifica integrità servizi Trasporto Edge e ADAM (Active Directory Application Mode)" Text="Attendere. È in corso la verifica dello stato dei servizi Trasporto Edge e delle connessioni a ciascuna istanza ADAM (Active Directory Application Mode) di Edge a cui è associata una sottoscrizione di Edge.">
				<Object Type="Variable" Name="EdgeServerList" Key1="List" Key2="varEdgeServer" Display="Hide">
					<Setting Key1="__KEY" Substitution="EDGEFQDN" Display="Hide"/>
					<Setting Key1="__VALUE" Substitution="HUBINSTANCES" Display="Hide"/>

					<!-- Begin 'Server' Group -->
					<Object Type="Group" Name="%EDGEFQDN%" Class="Server" GroupingClass="True" SecurityContext="EDGELOGON">

						<Object Type="WMI" Key1="%EDGEFQDN%" Key3="Win32_Service" Key4="Name='ADAM_MsExchange'">
							<Rule Name="fAdamSvcWmiException" Query="../Exception/@Message" Error="Error" Title="Errore di accesso all'archivio WMI" Text="Si è verificata un'eccezione durante l'esecuzione della query al servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%EDGEFQDN%"/>
							<Rule Name="fAdamSvcNotFound" Query="count(../Instance)=0 and count(../Exception)=0" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non trovato" Text="L'installazione del servizio '{0}' non è stata rilevata nel server {2}, ma l'attributo '{4}' nell'oggetto Exchange Server in Active Directory indica che il ruolo server Trasporto Edge è installato in questo server. Il servizio è necessario affinché il ruolo server Trasporto Edge funzioni correttamente." S0="ADAM_MsExchange" S2="%EDGEFQDN%" S4="msExchCurrentServerRoles"/>
							<Rule Name="fAdamSvcIssuesFound" Query="$fAdamSvcNotFound or $fAdamSvcNotStarted or $fAdamSvcNotRunning" AlwaysEvaluate="True" Error="Error" ReportIssue="Summary" Sev="1" Title="Sono stati rilevati uno o più problemi con il servizio &quot;{0}&quot;" Text="Trovati uno o più problemi con il servizio '{0}' sul computer con ruolo server Trasporto Edge {2} che possono impedire il corretto funzionamento di EdgeSync e determinare problemi di flusso della posta." S0="ADAM_MsExchange" S2="%EDGEFQDN%"/>
							<Setting Key1="Started">
								<Rule Name="fAdamSvcStarted" Query="$.='True'"/>
								<Rule Name="fAdamSvcNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non in esecuzione" Text="Il servizio '{0}' sul server {2} non è in esecuzione. Il servizio deve essere in esecuzione affinché il ruolo server Trasporto Edge funzioni correttamente." S0="ADAM_MsExchange" S2="%EDGEFQDN%"/>
							</Setting>
							<Setting Key1="State">
								<Rule Name="fAdamSvcRunning" Query="$fAdamSvcStarted and $.='Running'" Error="None" Title="Servizio &quot;{0}&quot; avviato e in esecuzione" Text="Il servizio &quot;{0}&quot; sul server {2} è avviato e in esecuzione." S0="ADAM_MsExchange" S2="%EDGEFQDN%"/>
								<Rule Name="fAdamSvcNotRunning" Query="not($.='Running') and not($fAdamSvcNotStarted)" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non in esecuzione" Text="Lo stato del servizio '{0}' sul server {2} è '{1}'. Il servizio deve essere in esecuzione affinché il ruolo server Trasporto Edge funzioni correttamente." S0="ADAM_MsExchange" P1="$." S2="%EDGEFQDN%"/>
							</Setting>
							<Setting Key1="StartMode">
								<Rule Name="fAdamSvcDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Il servizio &quot;{0}&quot; è disattivato" Text="Servizio '{0}' sul server {2} disabilitato. Il servizio deve essere in esecuzione affinché il ruolo server Trasporto Edge funzioni correttamente." S0="ADAM_MsExchange" S2="%EDGEFQDN%"/>
								<Rule Name="fAdamSvcSvcManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale del servizio &quot;{0}&quot;" Text="Il servizio &quot;{0}&quot; sul server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su 'Automatico' poiché il corretto funzionamento di Exchange dipende da questo servizio." S0="ADAM_MsExchange" S2="%EDGEFQDN%"/>
							</Setting>
							<Setting Key1="StartName">
								<Rule Name="fAdamSvcAccountIncorrect" Query="not($.='NT AUTHORITY\NetworkService')" Error="Error" ReportIssue="RootCause" Title="L'impostazione predefinita dell'account del servizio '{0}&quot; è stata modificata" Text="L'impostazione predefinita &quot;NT AUTHORITY\NetworkService&quot; dell'account del servizio &quot;{0}&quot; è stata modificata in &quot;{1}&quot;. Ciò può comportare ulteriori problemi a causa dell'insufficiente accesso alle risorse richieste da questo servizio." S0="ADAM_MsExchange" P1="$."/>
							</Setting>
						</Object>

						<Object Type="WMI" Key1="%EDGEFQDN%" Key3="Win32_Service" Key4="Name='EdgeCredentialSvc'">
							<Rule Name="fEdgeCredentialSvcWmiException" Query="../Exception/@Message" Error="Error" Title="Errore di accesso all'archivio WMI" Text="Si è verificata un'eccezione durante l'esecuzione della query al servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%EDGEFQDN%"/>
							<Rule Name="fEdgeCredentialSvcNotFound" Query="count(../Instance)=0 and count(../Exception)=0" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non trovato" Text="L'installazione deI servizio '{0}' non è stata rilevata sul server {2}, ma l'attributo '{4}' nell'oggetto Exchange Server in Active Directory indica che il ruolo server Trasporto Edge è installato su questo server. Il servizio è necessario affinché il ruolo server di Trasporto Edge funzioni correttamente." S0="EdgeCredentialSvc" S2="%EDGEFQDN%" S4="msExchCurrentServerRoles"/>
							<Rule Name="fEdgeCredentialSvcIssuesFound" Query="$fEdgeCredentialSvcNotFound or $fEdgeCredentialSvcNotStarted or $fEdgeCredentialSvcNotRunning" AlwaysEvaluate="True" Error="Error" ReportIssue="Summary" Sev="1" Title="Trovati uno o più problemi con il servizio '{0} sul computer con ruolo server Trasporto Edge" Text="Sono stati rilevati uno o più problemi con il servizio &quot;{0}&quot; sul server {2} che possono impedire il corretto funzionamento di EdgeSync e causare problemi di flusso della posta." S0="EdgeCredentialSvc" S2="%EDGEFQDN%"/>
							<Setting Key1="Started">
								<Rule Name="fEdgeCredentialSvcStarted" Query="$.='True'"/>
								<Rule Name="fEdgeCredentialSvcNotStarted" Query="$.='False'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non in esecuzione" Text="Il servizio '{0}' sul server {2} non è in esecuzione. Il servizio deve essere in esecuzione affinché il ruolo server di Trasporto Edge funzioni correttamente." S0="EdgeCredentialSvc" S2="%EDGEFQDN%"/>
							</Setting>
							<Setting Key1="State">
								<Rule Name="fEdgeCredentialSvcRunning" Query="$fEdgeCredentialSvcStarted and $.='Running'" Error="None" Title="Servizio &quot;{0}&quot; avviato e in esecuzione" Text="Il servizio &quot;{0}&quot; sul server {2} è avviato e in esecuzione." S0="EdgeCredentialSvc" S2="%EDGEFQDN%"/>
								<Rule Name="fEdgeCredentialSvcNotRunning" Query="not($.='Running') and not($fEdgeCredentialSvcNotStarted)" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non in esecuzione" Text="Lo stato del servizio '{0}' sul server {2} è '{1}'. Il servizio deve essere in esecuzione affinché il ruolo server Trasporto Edge funzioni correttamente." S0="EdgeCredentialSvc" P1="$." S2="%EDGEFQDN%"/>
							</Setting>
							<Setting Key1="StartMode">
								<Rule Name="fEdgeCredentialSvcDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Il servizio &quot;{0}&quot; è disattivato" Text="Servizio '{0}' sul server {2} disabilitato. Il servizio deve essere in esecuzione affinché il ruolo server Trasporto Edge funzioni correttamente." S0="EdgeCredentialSvc" S2="%EDGEFQDN%"/>
								<Rule Name="fEdgeCredentialSvcManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale del servizio &quot;{0}&quot;" Text="Il servizio &quot;{0}&quot; sul server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su &quot;Automatico&quot; poiché il corretto funzionamento di Exchange dipende da questo servizio." S0="EdgeCredentialSvc" S2="%EDGEFQDN%"/>
							</Setting>
						</Object>

						<!--Check for custom ADAM port configuration-->
						<Object Type="If" Name="Edge Transport ADAM Port Configuration" Key1="true()">
							<!--Set default port values to use if registry is not available-->
							<Setting Key1="50389" Substitution="ADAMLDAPPORT" Display="Hide"/>
							<Setting Key1="50636" Substitution="ADAMSSLPORT" Display="Hide"/>
							<!--Connect to registry to read ADAM port configuration-->
							<Object Type="Registry" Key1="%EDGEFQDN%" Key3="SOFTWARE\Microsoft\Exchange\v8.0\EdgeTransportRole\AdamSettings\MsExchange">
								<Rule Name="fFatalEdgeRegistryError" Query="../Exception/@Message" Error="Error" Title="Errore durante l'accesso al Registro di sistema" Text="Si è verificata un'eccezione durante la connessione al registro di sistema sul server {2}, Messaggio di eccezione: {1}. Qualsiasi convalida dell'istanza ADAM (Active Directory Application Mode) su questo server utilizzerà le configurazioni della porta predefinite." P1="../Exception/@Message" S2="%EDGEFQDN%"/>
								<Rule Name="szADAMLDAPPORT" Query="if($fFatalEdgeRegistryError,'%ADAMLDAPPORT%',$szAdamCustomLdapPort)" AlwaysEvaluate="True">
									<Variable Name="varADAMLDAPPORT[%EDGEFQDN%]" Scope="Children"/>
								</Rule>
								<Rule Name="szADAMSSLPORT" Query="if($fFatalEdgeRegistryError,'%ADAMSSLPORT%',$szAdamCustomSslPort)" AlwaysEvaluate="True">
									<Variable Name="varADAMSSLPORT[%EDGEFQDN%]" Scope="Children"/>
								</Rule>
								<Setting Key1="LdapPort">
									<Rule Name="szAdamCustomLdapPort" Query="$." AlwaysEvaluate="True"/>
									<Rule Name="fAdamCustomLdapPort" Query="not($.='50389')" Error="None" Title="Porta LDAP ADAM non è il valore predefinito" Text="La porta LDAP di ADAM (Active Directory Application Mode) sul server {2} non è il valore predefinito e la porta è in ascolto su TCP/{1}." P1="$." S2="%EDGEFQDN%"/>
								</Setting>
								<Setting Key1="SslPort">
									<Rule Name="szAdamCustomSslPort" Query="$." AlwaysEvaluate="True"/>
									<Rule Name="fAdamCustomSslPort" Query="not($.='50636')" Error="Warning" Sev="1" ReportIssue="Error" Title="La porta SSL ADAM è stata personalizzata" Text="La porta LDAP di ADAM (Active Directory Application Mode) sul server {2} è stata personalizzata ed è in ascolto su TCP/{1}. Se la modifica della configurazione di (ADAM (Active Directory Application Mode) è stata eseguita dopo la creazione della sottoscrizione di Edge, si verificheranno problemi con EdgeSync." P1="$." S2="%EDGEFQDN%"/>
								</Setting>
							</Object>
						</Object>
					</Object>

					<Rule Name="szCheckEdgeAdamInstances" Query="'CheckEdgeAdamInstances'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fAdamSvcWmiException or $fAdamSvcIssuesFound or $fEdgeCredentialSvcWmiException or $fEdgeCredentialSvcIssuesFound or $fFatalEdgeRegistryError,string(@Title),$szExNoErrorStateText)" Title="Uno o più problemi identificati durante il recupero della configurazione di EdgeSync e del Dominio accettato dalle istanze ADAM (Active Directory Application Mode) di Edge" AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema di configurazione EdgeSync o Dominio accettato identificato nelle istanze ADAM (Active Directory Application Mode)"/>
					<Rule Name="szCheckEdgeAdamInstancesResult" Query="string(@Title)" Title="Controllo dei risultati dell'istanza ADAM (Active Directory Application Mode) di Edge">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>
					<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckEdgeAdamInstancesStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>

					<Rule NextStep="CheckEdgeAdamObjects" Name="fGotoCheckEdgeAdamObjects" Query="true()" Priority="2" Text="- Verificare l'esistenza della configurazione critica nelle istanze di ADAM (Active Directory Application Mode) di Edge" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckEdgeSyncSvcHealth" Name="fGotoCheckEdgeSyncSvcHealth" Query="true()" Priority="3" Text="- Verificare l'integrità del servizio EdgeSync sui computer con ruolo server Trasporto Hub" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckEdgeSyncSvcEvents" Name="fGotoCheckEdgeSyncSvcEvents" Query="true()" Priority="4" Text="- Controllare i registri eventi applicazioni del ruolo server Trasporto Hub" Display="Hide" AlwaysEvaluate="True"/>

				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="CheckEdgeAdamObjects" Title="Verifica l'esistenza della configurazione critica nelle istanze di ADAM (Active Directory Application Mode) di Edge" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varAllAdEdgeSyncUsers%" Substitution="varAllAdEdgeSyncUsers" Display="Hide"/>

			<Object Type="Progress" Text="Attendere. È in corso la verifica della completa sincronizzazione da parte di EdgeSync degli oggetti di configurazione critica per ciascuna istanza ADAM (Active Directory Application Mode) di Edge a cui è associata una sottoscrizione di Edge." Title="Verifica la configurazione critica nelle istanze di ADAM (Active Directory Application Mode) di Edge">
				<Object Type="Variable" Name="EdgeServerList" Key1="List" Key2="varEdgeServer" Display="Hide">
					<Setting Key1="__KEY" Substitution="EDGEFQDN" Display="Hide"/>
					<Setting Key1="__VALUE" Substitution="HUBINSTANCES" Display="Hide"/>

					<!-- Begin 'Server' Group -->
					<Object Type="Group" Name="%EDGEFQDN%" Class="Server" GroupingClass="True" SecurityContext="EDGELOGON">

						<Object Type="Variable" Key1="Scalar" Display="Hide">
							<Setting Key1="%varADAMLDAPPORT[%EDGEFQDN%]%" Substitution="ADAMLDAPPORT" Display="Hide"/>
							<Setting Key1="%varADAMSSLPORT[%EDGEFQDN%]%" Substitution="ADAMSSLPORT" Display="Hide"/>

							<Object Type="Port" Name="IsAdamPortAlive" Key1="%EDGEFQDN%">
								<Setting Key1="%ADAMLDAPPORT%" Key3="1">
									<Rule Name="fLDAPPortRemoteServerSuccess" Query="$.[2]='%ADAMLDAPPORT% Available'" Error="None" Title="La porta {9} ha risposto" Text="La porta {9} ha risposto correttamente sul server {2}." S2="%EDGEFQDN%" S9="%ADAMLDAPPORT%"/>
									<Rule Name="fLDAPPortRemoteServerError" Query="not($fLDAPPortRemoteServerSuccess)" Error="Error" Sev="1" ReportIssue="Error" Title="La porta {9} non ha risposto" Text="La porta {9} non ha risposto sul server {2}. La porta viene utilizzata per recuperare informazioni dall'istanza ADAM (Active Directory Application Mode) sul server {2}. Se risulta impossibile eseguire la connessione a questa porta sul server {2}, non sarà possibile verificare la coerenza dell'archivio ADAM su tale server. Ciò si verifica se un firewall di rete blocca le comunicazioni tra il computer su cui viene eseguito lo strumento e il computer con ruolo server Trasporto Edge." S2="%EDGEFQDN%" S9="%ADAMLDAPPORT%"/>
								</Setting>
								<Setting Key1="%ADAMSSLPORT%" Key3="2">
									<Rule Name="fLDAPSPortRemoteServerSuccess" Query="$.[2]='%ADAMSSLPORT% Available'" Error="None" Title="La porta {9} ha risposto" Text="La porta {9} ha risposto correttamente sul server {2}." S2="%EDGEFQDN%" S9="%ADAMSSLPORT%"/>
									<Rule Name="fLDAPSPortRemoteServerError" Query="not($fLDAPSPortRemoteServerSuccess)" Error="Error" Sev="1" ReportIssue="RootCause" Title="La porta {9} non ha risposto" Text="La porta {9} non ha risposto sul server {2}. EdgeSync utilizza questa porta per eseguire la sincronizzazione tra Active Directory e ADAM (Active Directory Application Mode) sul server {2}. Questa porta potrebbe non rispondere se si verifica una delle seguenti condizioni: il server non è disponibile, il servizio ADAM non è in esecuzione, la connettività di rete è interrotta oppure un firewall di rete blocca la comunicazione con questa porta." S2="%EDGEFQDN%" S9="%ADAMSSLPORT%"/>
								</Setting>
							</Object>

							<Object Type="Directory" Name="cn" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/">
								<Rule Name="fFatalADAMError" Query="../Exception/@Message and not($fDirectoryConfigurationNCError)" Error="Error" Sev="1" Title="Errore di accesso ad ADAM" Text="Impossibile creare una connessione all'istanza ADAM (Active Directory Application Mode) sul server {2} utilizzando le credenziali del server Trasporto Edge fornite. {1}" P1="../Exception/@Message" S2="%EDGEFQDN%" AlwaysEvaluate="True"/>

								<Setting Key1="configurationNamingContext" Substitution="CONFIGDN" Display="Hide">
									<Rule Name="szAdamConfigurationNC" Query="$." Error="None" Title="Contesto dei nomi di configurazione ADAM recuperato correttamente" Text="È stato recuperato il contesto dei nomi di configurazione dell'istanza ADAM (Active Directory Application Mode) sul server {2} tramite accesso anonimo. Il valore è '{1}'." S1="%CONFIGDN%" S2="%EDGEFQDN%"/>
								</Setting>
								<Setting Key1="currentTime">
									<Rule Name="dCurrentAdamDateTime" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')"/>
								</Setting>

								<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="%CONFIGDN%">
									<Rule Name="fDirectoryConfigurationNCError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero del contenitore &quot;{4}&quot; dall'istanza ADAM" Text="Impossibile recuperare il contenitore '{4}' dall'istanza ADAM (Active Directory Application Mode) sul server {2}. {1}" P1="../Exception/@Message" S2="%EDGEFQDN%" S4="%CONFIGDN%" AlwaysEvaluate="True"/>
									<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>

									<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="cn=Services,%CONFIGDN%">
										<Rule Name="fDirectoryServicesContainerError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero del contenitore &quot;{4}&quot; dall'istanza ADAM" Text="Impossibile recuperare il contenitore '{4}' dall'istanza ADAM (Active Directory Application Mode) sul server {2}. {1}" P1="../Exception/@Message" S2="%EDGEFQDN%" S4="Services" AlwaysEvaluate="True"/>
										<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>

										<!--Unpack varAdEdgeSyncCredentials[%EDGECN%] to validate that ESRA user objects exist (new section) -->
										<Object Type="Variable" Name="AdEdgeCredentials" Key1="List" Key2="varAdEdgeSyncCredentials" Display="Hide">
											<Setting Key1="__KEY" Substitution="SERVERCN" Display="Hide"/>
											<Setting Key1="__VALUE" Substitution="PACKEDXML" Display="Hide"/>
											<Object Type="If" Name="EdgeSync User Credentials" Key1="starts-with(upper-case('%EDGEFQDN%'),concat(upper-case('%SERVERCN%'),'.'))">
												<Object Type="Variable" Name="EdgeSyncCredentialList" Key1="Unpack" Key2="%PACKEDXML%" Display="Hide">
													<Rule Name="iCountEdgeSyncCreds" Query="count(../Instance)"/>
													<Setting Key1="__VALUE" Substitution="CREDXML" Display="Hide"/>
													<Object Type="If" Name="EdgeCredentialProperties" Key1="true()" Display="Hide">
														<Setting Key1="substring-after(substring-before('%CREDXML%','&lt;/EdgeServerFQDN&gt;'),'&lt;EdgeServerFQDN&gt;')" Substitution="CREDFQDN" Display="Hide"/>
														<Setting Key1="substring-after(substring-before('%CREDXML%','&lt;/ESRAUsername&gt;'),'&lt;ESRAUsername&gt;')" Substitution="CREDUSERDN" Display="Hide"/>
														<Setting Key1="substring-after(substring-before('%CREDXML%','&lt;/EffectiveDate&gt;'),'&lt;EffectiveDate&gt;')" Substitution="CREDEFFDATE" Display="Hide"/>
														<Setting Key1="substring-after(substring-before('%CREDXML%','&lt;/Duration&gt;'),'&lt;Duration&gt;')" Substitution="CREDDURATION" Display="Hide"/>
														<Setting Key1="substring-after(substring-before('%CREDXML%','&lt;/IsBootStrapAccount&gt;'),'&lt;IsBootStrapAccount&gt;')" Substitution="CREDISBOOTSTRAP" Display="Hide"/>

														<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="%CREDUSERDN%">
															<Rule Name="fDirectoryServicesEsraUserError" Query="count(../Instance)=0 or ../Exception/@Message" Error="Error" Sev="1" ReportIssue="RootCause" Title="Errore durante il recupero dell'oggetto utente EdgeSync dall'istanza ADAM" Text="Impossibile recuperare l'oggetto utente EdgeSync '{3}' dall'istanza ADAM (Active Directory Application Mode) sul server {2}. {1}" P1="../Exception/@Message" S2="%EDGEFQDN%" S3="%CREDUSERDN%" AlwaysEvaluate="True"/>
															<Setting Key1="cn" Substitution="CREDUSERCN" Display="Hide">
																<Rule Name="szESRAUserCN" Query="$." AlwaysEvaluate="True"/>
															</Setting>
															<Setting Key1="memberOf">
																<!--TODO:Need to detect when this attribute has no values, possible solution is to replace setting with Directory object and checking if user DN is member of DL object-->
																<Rule Name="fESRAUserNotMemberOfAdminGroup" Query="not(contains($.,'CN=Administrators,CN=Roles,CN=Configuration'))" Error="Error" Sev="1" ReportIssue="RootCause" Title="Oggetto utente EdgeSync '{1}' trovato ma è un membro del gruppo Administrators" Text="L'oggetto utente EdgeSync '{1}' esiste ma non è un membro del gruppo Administrators all'interno dell'istanza ADAM (Active Directory Application Mode) sul server {2}. L'appartenenza a questo gruppo è necessaria affinché EdgeSync possa mantenere gli oggetti in questa istanza ADAM." S1="%CREDUSERCN%" S2="%EDGEFQDN%"/>
																<Rule Name="fESRAUserObjectNoIssuesFound" Query="not($fESRAUserNotMemberOfAdminGroup)" Error="None" Title="Nessun problema trovato nell'oggetto utente EdgeSync '{1}'" Text="È stato trovato un oggetto utente EdgeSync '{1}' all'interno dell'istanza ADAM (Active Directory Application Mode) sul server {6} con data di validità '{2}' e durata '{3}' ({5}='{4}'). L'oggetto utente appartiene inoltre al gruppo Administrators in ADAM." S1="%CREDUSERCN%" S2="%CREDEFFDATE%" S3="%CREDDURATION%" S4="%CREDISBOOTSTRAP%" S5="IsBootStrapAccount" S6="%EDGEFQDN%"/>
															</Setting>
															<Setting Key1="WhenCreated"/>
															<Setting Key1="WhenChanged"/>
														</Object>
													</Object>
													<Rule Name="iCountEsraUsers" Query="count($szESRAUserCN)"/>
													<Rule Name="fESRAUserObjectsNoIssuesFound" Query="count($fESRAUserObjectNoIssuesFound) = $iCountEdgeSyncCreds" Error="None" Title="Nessun problema trovato negli oggetti utente EdgeSync" Text="Non è stato trovato alcun problema in {1} oggetti utente EdgeSync corrispondenti alle credenziali EdgeSync trovate nell'oggetto server {3} in ADAM (Active Directory Application Mode) sul server {2}." P1="count($fESRAUserObjectNoIssuesFound)" S2="%EDGEFQDN%" S3="%SERVERCN%"/>
													<Rule Name="fESRAUserObjectsIssuesFound" Query="not($fESRAUserObjectsNoIssuesFound)" Error="Error" Sev="1" Title="Uno o più problemi trovati negli oggetti utente EdgeSync" Text="Sono stati rilevati uno o più problemi negli oggetti utente EdgeSync associati alle credenziali EdgeSync trovate nell'oggetto server {3} nell'istanza ADAM (Active Directory Application Mode) sul server {2}." S2="%EDGEFQDN%" S3="%SERVERCN%"/>
												</Object>
											</Object>
										</Object>
										<!--End Unpack (new section) -->

										<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="cn=Microsoft Exchange,%DN%">
											<Rule Name="fDirectoryExContainerError" Query="../Exception/@Message or ../Instance/Object/Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero del contenitore '{4}' dall'istanza ADAM" Text="Impossibile recuperare il contenitore '{4}' dall'istanza ADAM (Active Directory Application Mode) sul server {2}. {1}" P1="concat(../Exception/@Message, ../Instance/Object/Exception/@Message)" S2="%EDGEFQDN%" S4="Microsoft Exchange" AlwaysEvaluate="True"/>

											<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>
											<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="%DN%" Key3="objectClass=msExchOrganizationContainer" Key4="OneLevel">
												<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>

												<!--transportserver verification-->
												<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,%DN%">
													<Rule Name="fDirectoryServersContainerError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero delle informazioni sul contenitore &quot;{4}&quot;" Text="Impossibile recuperare le informazioni sul contenitore '{4}' dall'istanza ADAM (Active Directory Application Mode) sul server {2}. {1}" P1="../Exception/@Message" S2="%EDGEFQDN%" S4="Servers" AlwaysEvaluate="True"/>
													<Setting Key1="distinguishedName" Display="Hide"/>

													<!--Retrieve information about Edge Transport server role computer object-->
													<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)((msExchCurrentServerRoles=64)))">
														<Rule Name="fNoSuchEdgeServerFound" Query="count(../Instance)=0" Error="Error" ReportIssue="RootCause" Sev="1" Title="Impossibile recuperare le informazioni sul ruolo server Trasporto Edge dall'istanza ADAM di Edge" Text="Impossibile recuperare l'oggetto computer con ruolo server Trasporto Edge dall'istanza ADAM (Active Directory Application Mode) sul server {2}." S2="%EDGEFQDN%" AlwaysEvaluate="True"/>
														<Setting Key1="distinguishedName" Substitution="EDGEDN" Display="Hide">
															<Rule Name="szAdamEdgeDn" Query="$."/>
														</Setting>
														<Setting Key1="CN" Substitution="EDGECN" Display="Hide">
															<Rule Name="szAdamEdgeCn" Query="$."/>
														</Setting>
														<Setting Key1="WhenCreated"/>
														<Setting Key1="WhenChanged">
															<Rule Name="fEdgeSyncStaleError" Query="get-seconds(date-difference($dCurrentAdamDateTime, date-parse(substring($.,1,19), 'MM/dd/yyyy HH:mm:ss')))&gt; 43200" Error="Error" ReportIssue="Issue" Title="EdgeSync non ha completato la replica con l'istanza ADAM di Edge nelle ultime 12 ore" Text="EdgeSync non ha completato la replica con l'istanza locale ADAM (Active Directory Application Mode) sul server {2} nelle ultime 12 ore. Ciò comporterà configurazione e informazioni sul destinatario obsolete, determinando risultati imprevisti. Ultima replica di EdgeSync completata correttamente alle {1} GMT (l'ora corrente è {3} GMT)" P1="$." S2="%EDGEFQDN%" P3="$dCurrentAdamDateTime"/>
														</Setting>
														<Setting Key1="msExchEdgeSyncLease" Format="Ascii" Display="Hide">
															<!--<Adpath;Expiration;LeaseTokenType>-->
															<!--<Value>CN=<serverCn>,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=<OrgName>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<domain>,DC=com;6/14/2006 12:04:31 AM;O</Value>-->
															<Rule Name="szAdamEdgeSyncLeaseServerName" Query="substring-before (substring-after ($.,'CN='),',CN=Servers,')" Error="None" Title="Nome server di licenza EdgeSync" Text="Il server {1} detiene una licenza EdgeSync per l'istanza ADAM (Active Directory Application Mode) sul server {2}" P1="substring-before (substring-after ($.,'CN='),',CN=Servers,')" S2="%EDGEFQDN%"/>
															<Rule Name="szAdamExchEdgeSyncLeaseExpiration" Query="substring-before (substring-after ($.,';'),';')" Error="None" Title="Scadenza licenza EdgeSync" Text="Il valore di scadenza di &quot;{4}&quot; è &quot;{1}&quot;" P1="substring-before (substring-after ($.,';'),';')" S4="msExchEdgeSyncLease"/>
														</Setting>
														<Setting Key1="msExchEdgeSyncCredential" Format="Ascii" Display="Hide">
															<!--<Header<LF>EdgeServerFQDN<LF>ESRAUsername<LF>EncryptedESRAPassword<LF>EffectiveDate<LF>Duration<LF>IsBootStrapAccount> -->
															<!--From EdgeSyncSubscriptionConfig.cs-->
															<!--bootstrapDuration=4hrs in ticks-->
															<!--standardDuration=15days in ticks-->
															<!--EffectiveDate is in ticks-->
															<Rule Name="fAdamEdgeEdgeSyncCredentialFound" Query="count($.) &gt; 0" Error="None" Title="Credenziali EdgeSync rilevate in ADAM per il computer con ruolo server Trasporto Edge {2}" Text="{1} credenziale/i EdgeSync rilevata/e in Active Directory Application Mode (ADAM) per il computer con ruolo server Trasporto Edge {2}." P1="count($.)" S2="%EDGECN%" AlwaysEvaluate="True"/>
															<Rule Name="fAdamEdgeSyncCredentialCountMismatch" Query="not (count($.) = $iCountEsraUsers)" Error="Error" ReportIssue="RootCause" Sev="1" Title="Mancata corrispondenza oggetto utente EdgeSync" Text="Il numero di oggetti utente EdgeSync locali ({1}) non corrisponde al numero di credenziali EdgeSync del server Edge rilevato nell'istanza ADAM (Active Directory Application Mode) ({2}). È possibile che si siano verificati problemi con il servizio '{3}', responsabile della gestione delle credenziali locali, oppure gli oggetti utente EdgeSync sono stati modificati con altri mezzi." P1="$iCountEsraUsers" P2="count($.)" S3="EdgeCredentialSvc"/>
														</Setting>
														<Rule Name="fNoAdamEdgeEdgeSyncCredentialFound" Query="not($fAdamEdgeEdgeSyncCredentialFound)" Error="Error" ReportIssue="RootCause" Sev="1" Title="Nessuna credenziale EdgeSync rilevata in ADAM per il computer con ruolo server Trasporto Edge {3}" Text="Nessuna credenziale EdgeSync rilevata in ADAM (Active Directory Application Mode) sul server {2} per il computer con ruolo server Trasporto Hub {3}, Ciò si verifica quando risulta impossibile trovare l'attributo '{4}' nell'oggetto server '{3}' in ADAM." S2="%EDGEFQDN%" P3="$szAdamEdgeCn" S4="msExchEdgeSyncCredential" AlwaysEvaluate="True"/>
													</Object>

													<!--Retrieve information about each Hub Transport server role computer object replicated to ADAM by EdgeSync-->
													<Object Type="Variable" Name="EdgeHubServerList" Key1="Unpack" Key2="%HUBINSTANCES%" Display="Hide">
														<Setting Key1="__VALUE" Substitution="varHubName" Display="Hide"/>
														<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=%varHubName%))">
															<Rule Name="fNoSuchHubServerFound" Query="count(../Instance)=0" Error="Error" ReportIssue="RootCause" Sev="1" Title="Errore durante il recupero delle informazioni sul ruolo server Trasporto Edge dall'istanza ADAM" Text="Impossibile recuperare il computer con ruolo server Trasporto Hub dall'istanza ADAM (Active Directory Application Mode) sul server {2}." S2="%EDGEFQDN%" S3="%varHubName%" AlwaysEvaluate="True"/>
															<Setting Key1="distinguishedName" Substitution="HUBDN" Display="Hide"/>
															<Setting Key1="CN" Substitution="HUBCN" Display="Hide"/>
															<Setting Key1="WhenCreated"/>
															<Setting Key1="WhenChanged"/>
															<Setting Key1="networkAddress" Display="Hide">
																<Rule Name="szExHubFQDN" Query="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" Error="None" Title="Nome di dominio completo del server (FQDN)" Text="Il nome di dominio completo (FQDN) del server {2} è {1}" P1="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" S2="%varHubName%"/>
															</Setting>
														</Object>
													</Object>
												</Object>
												<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="CN=Transport Settings,%DN%">
													<Rule Name="fDirectoryTransportSettingsContainerError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero delle informazioni sul contenitore &quot;{4}&quot;" Text="Impossibile recuperare le informazioni sul contenitore &quot;{4}&quot; dall'istanza ADAM (Active Directory Application Mode) sul server {2}." S2="%EDGEFQDN%" S4="Transport Settings" AlwaysEvaluate="True"/>
													<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>
													<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="CN=Accepted Domains,%DN%">
														<Rule Name="fDirectoryAcceptedDomainContainerError" Query="count(../Instance)=0" Error="Error" Sev="1" Title="Errore durante il recupero delle informazioni sul contenitore &quot;{4}&quot;" Text="Impossibile recuperare le informazioni sul contenitore '{4}' dall'istanza ADAM (Active Directory Application Mode) sul server {2}. {1}" P1="../Exception/@Message" S2="%EDGEFQDN%" S4="Accepted Domains" AlwaysEvaluate="True"/>
														<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>

														<!--msExchAcceptedDomain verification-->
														<Object Type="Variable" Name="AcceptedDomainList" Key1="List" Key2="varAcceptedDomain" Display="Hide">
															<Setting Key1="__KEY" Substitution="ADACCEPTEDDOMAIN" Display="Hide">
																<Rule Name="szAdAcceptedDomain" Query="$." AlwaysEvaluate="True"/>
															</Setting>
															<Setting Key1="__VALUE" Substitution="ADACCEPTEDDOMAINFLAG" Display="Hide"/>
															<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="%DN%" Key3="&amp;((objectClass=msExchAcceptedDomain)(msExchAcceptedDomainName=%ADACCEPTEDDOMAIN%))" Key4="OneLevel">
																<Rule Name="fNoAcceptedDomainFound" Query="count(../Instance)=0" Error="Error" ReportIssue="Issue" Sev="1" Title="Errore durante il recupero dell'oggetto Dominio accettato per &quot;{1}&quot; dall'istanza ADAM" Text="Impossibile recuperare l'oggetto Dominio accettato per &quot;{1}&quot; dall'istanza ADAM (Active Directory Application Mode) sul server {2}. Questo oggetto esiste in Active Directory e non è stato ancora replicato in questa istanza ADAM, indicando l'esistenza di un problema di sincronizzazione tra Active Directory e ADAM. Ciò può comportare il rifiuto della posta diretta ai destinatari nel dominio '{1}'." S1="%ADACCEPTEDDOMAIN%" S2="%EDGEFQDN%" AlwaysEvaluate="True"/>
																<Setting Key1="cn"/>
																<Setting Key1="msExchAcceptedDomainName" Substitution="NAME">
																	<Rule Name="szAcceptedDomainName" Query="$." AlwaysEvaluate="True"/>
																</Setting>
																<Setting Key1="msExchAcceptedDomainFlags">
																	<Rule Name="fAcceptedDomainFlagMismatch" Query="not($. = '%ADACCEPTEDDOMAINFLAG%')" Error="Error" Sev="1" ReportIssue="Issue" Title="Mancata corrispondenza del valore dell'attributo &quot;{4}&quot; per il dominio accettato {0}" Text="Il valore dell'attributo &quot;{4}&quot; ({1}) per il Dominio accettato '{0}' nell'istanza ADAM (Active Directory Application Mode) sul server {3} non corrisponde al valore in Active Directory ({2}). Questo può determinare problemi di flusso della posta." S0="%ADACCEPTEDDOMAIN%" P1="$." S2="%ADACCEPTEDDOMAINFLAG%" S3="%EDGEFQDN%" S4="msExchAcceptedDomainFlags"/>
																</Setting>
																<Setting Key1="WhenCreated"/>
																<Setting Key1="WhenChanged"/>
															</Object>
															<Rule Name="iAcceptedDomainCountAdam" Query="count($szAcceptedDomainName)" AlwaysEvaluate="True"/>
														</Object>
														<Rule Name="fAcceptedDomainCountValid" Query="count($szAdAcceptedDomain) = count($szAcceptedDomainName)" Error="None" Title="Tutti i domini accettati trovati nell'istanza ADAM" Text="Trovato/i {1} oggetto/i Dominio accettato in Active Directory e {2} oggetto/i Dominio accettato nell'istanza ADAM (Active Directory Application Mode) sul server {3}. Ciò indica che tutti gli oggetti Dominio accettato sono stati sincronizzati tra Active Directory e ADAM." P1="count($szAdAcceptedDomain)" P2="count($szAcceptedDomainName)" S3="%EDGEFQDN%"/>
														<Rule Name="fAcceptedDomainCountMismatch" Query="not($fAcceptedDomainCountValid)" Error="Error" Sev="1" ReportIssue="Issue" Title="Numero domini accettati non corrispondente" Text="Trovato/i {1} oggetto/i Dominio accettato in Active Directory e {2} oggetto/i Dominio accettato nell'istanza ADAM (Active Directory Application Mode) sul server {3}. La mancata corrispondenza del numero degli oggetti indica che è presente un problema di sincronizzazione tra Active Directory e ADAM. Questo può determinare problemi di flusso della posta." P1="count($szAdAcceptedDomain)" P2="count($szAcceptedDomainName)" S3="%EDGEFQDN%"/>
													</Object>
													<!--RecipientValidationEnabled verification-->
													<Object Type="Directory" Key1="LDAP://%EDGEFQDN%:%ADAMLDAPPORT%/" Key2="CN=RecipientFilterConfig,CN=Message Hygiene,%DN%">
														<Rule Name="fDirectoryRecipientFilterConfigError" Query="../Exception/@Message" Error="Error" Sev="1" Title="Errore durante il recupero delle informazioni sull'oggetto di configurazione destinatario" Text="Impossibile recuperare le informazioni sull'oggetto di configurazione destinatario dall'istanza ADAM (Active Directory Application Mode) sul server {2}. {1}" P1="../Exception/@Message" S2="%EDGEFQDN%" AlwaysEvaluate="True"/>
														<Setting Key1="distinguishedName" Substitution="DN" Display="Hide"/>
														<Setting Key1="msExchAgentsFlags" Display="Hide">
															<Rule Name="szRecipientValidationEnabledServer" Query="if(bitwise-and($.,2048)=2048,substring-before('%EDGEFQDN%','.'))" AlwaysEvaluate="True" Error="None" Title="Convalida destinatario abilitata" Text="La convalida destinatario è abilitata per l'agente di filtro destinatario sul server {1}" S1="%EDGEFQDN%"/>
														</Setting>
														<Rule Name="szAllRecipientValidationEnabledServers" Query="join(',',$szRecipientValidationEnabledServer)">
															<Variable Name="varAllRecipientValidationEnabledServers" Scope="Global"/>
														</Rule>
													</Object>
												</Object>
											</Object>
										</Object>
										<Rule Name="fAdamReplIssuesFound" Query="$fEdgeSyncStaleError or $fNoSuchEdgeServerFound or $fNoSuchHubServerFound or $fNoAcceptedDomainFound or $fNoAdamEdgeEdgeSyncCredentialFound or $fAcceptedDomainCountMismatch or $fESRAUserObjectsIssuesFound" AlwaysEvaluate="True" Error="Error" ReportIssue="Summary" Sev="1" Title="Sono stati rilevati problemi di replica di EdgeSync con l'istanza ADAM" Text="Trovate una o più incoerenze con l'istanza ADAM (Active Directory Application Mode) sul server {2}. Ciò indica che EdgeSync non ha replicato correttamente le informazioni di configurazione critica da Active Directory a questa istanza ADAM." S2="%EDGEFQDN%"/>
										<Rule Name="fNoAdamReplIssuesFound" Query="not($fAdamReplIssuesFound) and not($fAdamValidationFailed)" Error="None" ReportIssue="Issue" Title="Nessun problema di configurazione identificato nell'istanza ADAM" Text="Non è stato rilevato alcun problema durante la convalida degli oggetti di configurazione critica nell'istanza ADAM (Active Directory Application Mode) sul server {2}." S2="%EDGEFQDN%"/>
									</Object>
								</Object>
								<Rule Name="fAllAdamConnectionsFailed" Query="$fFatalADAMError and $fLDAPSPortRemoteServerError and $fLDAPPortRemoteServerError" AlwaysEvaluate="True" Error="Error" Sev="1" ReportIssue="Issue" Title="Impossibile eseguire la connessione ad ADAM" Text="Non è stato possibile eseguire la connessione all'istanza ADAM (Active Directory Application Mode) sul server {2}." S2="%EDGEFQDN%"/>
								<Rule Name="fAdamValidationFailed" Query="($fFatalADAMError or $fDirectoryConfigurationNCError) and $fLDAPSPortRemoteServerSuccess" AlwaysEvaluate="True" Error="Error" Sev="2" ReportIssue="Issue" Title="È stata eseguita la connessione ad ADAM, ma non è possibile verificare la replica" Text="È stata eseguita la connessione all'istanza ADAM (Active Directory Application Mode) sul server {2} tramite LDAP, ma non è stato possibile recuperare oggetti da ADAM. Ciò può essere dovuto a un problema di credenziali incluse nello strumento oppure da un firewall che ha bloccato la connettività alla porta LDAP dal server in cui viene eseguito lo strumento." S2="%EDGEFQDN%"/>
							</Object>
						</Object>
					</Object>

					<Rule Name="szCheckEdgeAdamObjects" Query="'CheckEdgeAdamObjects'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fLDAPPortRemoteServerError or $fLDAPSPortRemoteServerError or $fFatalADAMError or $fAdamReplIssuesFound,string(@Title),$szExNoErrorStateText)" Title="Sono stati identificati uno o più problemi durante il recupero della configurazione di EdgeSync e del dominio accettato dalle istanze ADAM (Edge Active Directory Application Mode) di Edge" AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non è stato identificato alcun problema con la configurazione di EdgeSync o del dominio accettato in nessuna delle istanze ADAM (Active Directory Application Mode)"/>
					<Rule Name="szCheckEdgeAdamObjectsResult" Query="string(@Title)" Title="Controlla i risultati dell'istanza ADAM (Active Directory Application Mode)">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>
					<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckEdgeAdamObjectsStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="CheckEdgeSyncSvcHealth" Title="Verifica le condizioni del servizio EdgeSync del ruolo server Trasporto Hub" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Title="Verifica dell'integrità del servizio EdgeSync" Text="Attendere. Verifica del servizio EdgeSync in tutti i computer con ruolo server Trasporto Hub in corso...">
				<Object Type="Variable" Name="SiteHubServerList" Key1="List" Key2="varHubServers" Display="Hide">
					<Setting Key1="__KEY" Substitution="ADSITEGUID" Display="Hide"/>
					<Setting Key1="__VALUE" Substitution="HUBINSTANCES" Display="Hide"/>
					<Object Type="Variable" Name="HubServers" Key1="Unpack" Key2="%HUBINSTANCES%" Display="Hide">
						<Setting Key1="__VALUE" Substitution="HUBNAME" Display="Hide"/>
						<!-- Begin 'Server' Group -->
						<Object Type="Group" Name="%HUBNAME%" Class="Server" GroupingClass="True" SecurityContext="EXLOGON">
							<!-- Check whether the EdgeSync service is up and running on each Hub Transport server role computer in same site as Edge server(s) -->
							<Object Type="WMI" Key1="%HUBNAME%" Key3="Win32_Service" Key4="Name='MSExchangeEdgeSync'">
								<Rule Name="fHubWmiServiceException" Query="../Exception/@Message" Error="Error" Title="Errore di accesso all'archivio WMI" Text="Si è verificata un'eccezione durante l'esecuzione della query al servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%HUBNAME%"/>
								<Rule Name="fEdgeSyncNotFound" Query="count(../Instance)=0 and not($fHubWmiServiceException)" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non trovato" Text="L'installazione del servizio '{0}' non è stata rilevata sul server {2}, ma l'attributo '{4}' nell'oggetto Exchange Server in Active Directory indica che il ruolo server Trasporto Edge è installato su questo server. Il servizio è necessario affinché il ruolo server Trasporto Edge funzioni correttamente." S0="MSExchangeEdgeSync" S2="%HUBNAME%" S4="msExchCurrentServerRoles"/>
								<Setting Key1="Started">
									<Rule Name="fEdgeSyncStarted" Query="$.='True'"/>
									<Rule Name="fEdgeSyncNotStarted" Query="$.='False'" AlwaysEvaluate="True" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non in esecuzione" Text="Il servizio '{0}' sul server {2} non è in esecuzione. Il servizio deve essere in esecuzione affinché il ruolo server Trasporto Edge funzioni correttamente." S0="MSExchangeEdgeSync" S2="%HUBNAME%"/>
								</Setting>
								<Setting Key1="State">
									<Rule Name="fEdgeSyncRunning" Query="$fEdgeSyncStarted and $.='Running'" Error="None" Title="Servizio &quot;{0}&quot; avviato e in esecuzione" Text="Il servizio &quot;{0}&quot; sul server {2} è avviato e in esecuzione." S0="MSExchangeEdgeSync" S2="%HUBNAME%"/>
									<Rule Name="fEdgeSyncNotRunning" Query="not($.='Running') and not($fEdgeSyncNotStarted)" Error="Error" Sev="1" ReportIssue="RootCause" Title="Servizio &quot;{0}&quot; non in esecuzione" Text="Lo stato del servizio '{0}' sul server {2} è '{1}'. Il servizio deve essere in esecuzione affinché il ruolo server Trasporto Edge funzioni correttamente." S0="MSExchangeEdgeSync" P1="$." S2="%HUBNAME%"/>
								</Setting>
								<Setting Key1="StartMode">
									<Rule Name="fEdgeSyncDisabled" Query="$.='Disabled'" Error="Error" Sev="1" ReportIssue="RootCause" Title="Il servizio &quot;{0}&quot; è disattivato" Text="Servizio '{0}' sul server {2} disabilitato. Il servizio deve essere in esecuzione affinché il ruolo server Trasporto Edge funzioni correttamente." S0="MSExchangeEdgeSync" S2="%HUBNAME%"/>
									<Rule Name="fEdgeSyncManual" Query="$.='Manual'" Error="Warning" Sev="2" Title="Avvio manuale del servizio &quot;{0}&quot;" Text="Il servizio &quot;{0}&quot; sul server {2} è impostato per l'avvio manuale. È necessario impostare il servizio su &quot;Automatico&quot; poiché il corretto funzionamento di Exchange dipende da questo servizio." S0="MSExchangeEdgeSync" S2="%HUBNAME%"/>
								</Setting>
							</Object>
						</Object>
					</Object>
				</Object>

				<Rule Name="szCheckEdgeSyncSvcHealth" Query="'CheckEdgeSyncSvcHealth'">
					<Variable Name="varPreviousName" Scope="Children"/>
				</Rule>
				<Rule Name="szExErrorStateText" Query="if($fHubWmiServiceException or $fEdgeSyncNotStarted or $fEdgeSyncNotRunning or $fEdgeSyncDisabled or $fEdgeSyncManual,string(@Title),$szExNoErrorStateText)" Title="Sono stati identificati uno o più problemi durante la verifica dell'integrità del servizio EdgeSync sui server Trasporto Hub" AlwaysEvaluate="True">
					<Variable Name="varErrorStateText" Scope="Global"/>
				</Rule>
				<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema identificato nel servizio EdgeSync sui server Trasporto Hub"/>
				<Rule Name="szCheckEdgeSyncSvcHealthResult" Query="string(@Title)" Title="Controlla risultati servizio EdgeSync">
					<Variable Name="varDisplayTitle" Scope="Global"/>
				</Rule>
				<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckEdgeSyncSvcHealthStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>

			</Object>
		</Object>
	</Object>


	<Object Type="Step" Name="CheckEdgeSyncSvcEvents" Title="Controlla registri eventi applicazioni del ruolo server Trasporto Hub" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varAllRecipientValidationEnabledServers%" Substitution="varAllRecipientValidationEnabledServers" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controlla registri eventi applicazioni del ruolo server Trasporto Hub" Text="Attendere. È in corso il recupero degli eventi dal registro eventi applicazioni in tutti i computer con ruolo server Trasporto Hub dove è possibile eseguire il servizio EdgeSync.">
				<Object Type="Variable" Name="SiteHubServerList" Key1="List" Key2="varHubServers" Display="Hide">
					<Setting Key1="__KEY" Substitution="ADSITEGUID" Display="Hide"/>
					<Setting Key1="__VALUE" Substitution="HUBINSTANCES" Display="Hide"/>

					<Object Type="Variable" Name="HubServers" Key1="Unpack" Key2="%HUBINSTANCES%" Display="Hide">
						<Setting Key1="__VALUE" Substitution="HUBNAME" Display="Hide"/>

						<!-- Begin 'Server' Group -->
						<Object Type="Group" Name="%HUBNAME%" Class="Server" GroupingClass="True" SecurityContext="EXLOGON">

							<!--Retrieve local system time from remote server and calculate 12 hrs difference-->
							<Object Type="WMI" Name="RetrieveRemoteTime" Key1="%HUBNAME%" Key3="Win32_OperatingSystem" SecurityContext="EXLOGON">
								<Rule Name="fWmiEventLogException" Query="../Exception/@Message" Error="Error" Title="Errore di accesso all'archivio WMI" Text="Si è verificata un'eccezione durante l'esecuzione della query al servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%HUBNAME%"/>
								<Setting Key1="LocalDateTime" Substitution="WMICURRENTTIME" Format="CIMDateTime"/>
								<Object Type="If" Name="ApplicationEventLog" Key1="true()">
									<Setting Key1="date-add(date-parse(substring('%WMICURRENTTIME%',1,19), 'MM/dd/yyyy HH:mm:ss'),get-timespan(-(900)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
									<Setting Key1="date-add(date-parse(substring('%WMICURRENTTIME%',1,19), 'MM/dd/yyyy HH:mm:ss'),get-timespan(-(14400)))" Substitution="RECIPIENTSYNCWINDOW" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>

									<!--TODO:Combine these using an OR between EventCodes-->
									<!-- Retrieve SourceName='MSExchange EdgeSync' AND EventCode='1024' since %STARTTIME% from Application Event Log -->
									<Object Type="WMI" Key1="%HUBNAME%" Key3="Win32_NTLogEvent" Key4="LogFile='Application' AND SourceName='MSExchange EdgeSync' AND EventCode='1024' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1">
										<Rule Name="szEvent1024LogException" Query="../Exception" Error="Error" Title="Errore di accesso all'archivio WMI" Text="Si è verificata un'eccezione durante l'esecuzione della query al servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%HUBNAME%"/>
										<Setting Key1="TimeWritten" Format="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8" Substitution="Time" Display="Hide"/>
										<Setting Key1="Message" Format="([\r\n])---- " Substitution="Message" Display="Hide">
											<Rule Name="szEdgeSyncEvent1024LdapException" Query="$." AlwaysEvaluate="True" Error="Error" ReportIssue="RootCause" Sev="1" Title="Trovato ID evento 1024 di EdgeSync di Microsoft Exchange" Text="ID evento 1024 di EdgeSync di Microsoft Exchange trovato su {2} con descrizione &quot;{1}&quot;." S1="%Message%" S2="%Time%"/>
										</Setting>
										<Setting Key1="InsertionStrings"/>
									</Object>

									<!-- Retrieve SourceName='MSExchange EdgeSync' AND EventCode='1031' since %STARTTIME% from Application Event Log -->
									<Object Type="WMI" Key1="%HUBNAME%" Key3="Win32_NTLogEvent" Key4="LogFile='Application' AND SourceName='MSExchange EdgeSync' AND EventCode='1031' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1">
										<Rule Name="szEvent1031LogException" Query="../Exception" Error="Error" Title="Errore durante l'accesso all'archivio WMI" Text="Si è verificata un'eccezione durante la query del servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%HUBNAME%"/>
										<Setting Key1="TimeWritten" Format="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8" Substitution="Time" Display="Hide"/>
										<Setting Key1="Message" Format="([\r\n])---- " Substitution="Message">
											<!--Modify text, ESRA is not responsible for this event since TLA2007MBX05 logged the event while TLA2007EDG02 was down (credential did not exist on AD object)-->
											<!--(see report 6/14/2006 12:53:16 PM)-->
											<Rule Name="szEdgeSyncEvent1031CredentialRejected" Query="$." AlwaysEvaluate="True" Error="Error" ReportIssue="RootCause" Sev="1" Title="Trovata descrizione registro eventi con &quot;Credenziali EdgeSync rifiutate&quot;" Text="La descrizione dell'evento '{1}' è stata registrata su {2}. Ciò può verificarsi se la credenziale EdgeSync non è stata ancora sincronizzata con l'istanza ADAM (Active Directory Application Mode) sul computer con ruolo server Trasporto Edge oppure se le credenziali sono scadute in quanto EdgeSync non è stato completato entro il periodo di scadenza delle credenziali. Rimuovere e creare nuovamente la sottoscrizione per questo computer con ruolo server Trasporto Edge." S1="%Message%" S2="%Time%"/>
										</Setting>
										<Setting Key1="InsertionStrings"/>
									</Object>

									<!-- Retrieve SourceName='MSExchange EdgeSync' AND EventCode='1032' since %STARTTIME% from Application Event Log -->
									<Object Type="WMI" Key1="%HUBNAME%" Key3="Win32_NTLogEvent" Key4="LogFile='Application' AND SourceName='MSExchange EdgeSync' AND EventCode='1032' AND TimeWritten &gt; '%STARTTIME%'" Sort="TimeWritten DESC" Range="1">
										<Rule Name="szEvent1032LogException" Query="../Exception" Error="Error" Title="Errore durante l'accesso all'archivio WMI" Text="Si è verificata un'eccezione durante la query del servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%HUBNAME%"/>
										<Setting Key1="TimeWritten" Format="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7$8" Substitution="Time" Display="Hide"/>
										<Setting Key1="Message" Format="([\r\n])---- " Substitution="Message">
											<Rule Name="szEdgeSyncEvent1032CredentialNotFound" Query="$." AlwaysEvaluate="True" Error="Error" ReportIssue="RootCause" Sev="1" Title="Trovata descrizione registro eventi con &quot;Credenziali EdgeSync non trovate&quot;" Text="La descrizione dell'evento '{1}' è stata registrata su {2}. Ciò si verifica se la credenziale EdgeSync non è stata creata dal servizio '{3}' dopo che EdgeSync ha replicato l'oggetto computer con ruolo server Trasporto Edge sul computer con ruolo server Trasporto Edge." S1="%Message%" S2="%Time%" S3="EdgeCredentialSvc"/>
										</Setting>
										<Setting Key1="InsertionStrings"/>
									</Object>

									<!-- Retrieve SourceName='MSExchange EdgeSync' AND EventCode='1000' since %RECIPIENTSYNCWINDOW% from Application Event Log (default schedule is 4 hrs) -->
									<Object Type="WMI" Key1="%HUBNAME%" Key3="Win32_NTLogEvent" Key4="LogFile='Application' AND SourceName='MSExchange EdgeSync' AND EventCode='1000' AND TimeWritten &gt; '%RECIPIENTSYNCWINDOW%'" Sort="TimeWritten DESC">
										<Rule Name="szEvent1000LogException" Query="../Exception" Error="Error" Title="Errore durante l'accesso all'archivio WMI" Text="Si è verificata un'eccezione durante la query del servizio Strumentazione gestione Windows (WMI) sul server {2}. Messaggio di eccezione: {1}" P1="../Exception/@Message" S2="%HUBNAME%"/>
										<Setting Key1="TimeWritten" Format="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7$8" Substitution="Time" Display="Hide"/>
										<Setting Key1="InsertionStrings">
											<Rule Name="szEdgeSyncEvent1000ServerName" Query="substring-after(substring-before($.[1],',CN=Servers'),'CN=')" AlwaysEvaluate="True"/>
											<Rule Name="fEdgeSyncReportSyncCompleted" Query="$.[3]='Success'" AlwaysEvaluate="True" Error="None" Title="EdgeSync ha completato la sincronizzazione di '{3}' con il server {1}" Text="EdgeSync ha completato la sincronizzazione di '{3}' con il server {1} alle {2} (UTC). Risultato: {4}" P1="$szEdgeSyncEvent1000ServerName" P2="$.[5]" P3="$.[2]" P4="$.[3]"/>
											<Rule Name="fRecipientValidationWarning" Query="not(contains($szEdgeSyncEvent1000ServerName,'%varAllRecipientValidationEnabledServers%')) and $.[2]='Recipients' and $.[3]='Success'" Error="Warning" Sev="1" ReportIssue="Error" Title="Convalida destinatario non abilitata sul server {1}" Text="EdgeSync ha completato la sincronizzazione del destinatario con il server {1}, ma la convalida destinatario non è abilitata per l'agente di filtro destinatario su tale server. È possibile abilitare la convalida destinatario utilizzando il comando di Exchange Management Shell '{2}'." P1="$szEdgeSyncEvent1000ServerName" S2="Set-RecipientFilterConfig -RecipientValidationEnabled:$TRUE"/>
										</Setting>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>

				<Rule Name="szCheckEdgeSyncSvcHealth" Query="'CheckEdgeSyncSvcEvents'">
					<Variable Name="varPreviousName" Scope="Children"/>
				</Rule>
				<Rule Name="szExErrorStateText" Query="if($fWmiEventLogException or $szEdgeSyncEvent1024LdapException or $szEdgeSyncEvent1031CredentialRejected or $szEdgeSyncEvent1032CredentialNotFound,string(@Title),$szExNoErrorStateText)" Title="Uno o più problemi identificati durante il recupero degli eventi EdgeSync dal registro eventi applicazioni sui server Trasporto Hub" AlwaysEvaluate="True">
					<Variable Name="varErrorStateText" Scope="Global"/>
				</Rule>
				<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Nessun problema di registro eventi EdgeSync identificato nei server Trasporto Hub"/>
				<Rule Name="szCheckEdgeSyncSvcEventsResult" Query="string(@Title)" Title="Controlla risultati registro eventi applicazioni di EdgeSync">
					<Variable Name="varDisplayTitle" Scope="Global"/>
				</Rule>
				<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckEdgeSyncSvcHealthStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>

			</Object>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="E12SubmissionQCheck" Title="Controlla coda di invio" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExName%" Substitution="varExName" Display="Hide"/>
			<Setting Key1="%varNonEnglishOS%" Substitution="varNonEnglishOS" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Title="Controllo stato coda di invio" Text="Attendere. Controllo dello stato della coda di invio sul server {2} in corso. L'operazione potrebbe richiedere alcuni minuti durante i quali viene eseguito un tentativo di recupero di diversi campioni di prestazioni nel periodo." S2="%varExName%">
				<!-- Let's take a look at Submission performance in general-->
				<Object Type="Group" Name="Submission Status" Class="Area" GroupingClass="True" Display="Hide">
					<Object Type="Group" Name="%varExName%" Class="Server" GroupingClass="True" Display="Hide">
						<Object Type="Pdh" Name="SubmissionBasicData" Key1="%varExName%" Key2="20" Key3="6" Level="1" SecurityContext="EXLOGON">
							<Rule Name="fGeneralErrorAccessPerf" Query="../Exception" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori di prestazioni sul server {2}. Messaggio di errore: {1}." S0="MSExchangeTransport" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fBDBErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni '{0}'" Text="Errore durante l'accesso ai contatori di prestazioni sul server {2}. Le autorizzazioni potrebbero essere insufficienti. Messaggio di errore: {1}." S0="MSExchangeTransport" P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fContactErrorAccessPerf" Query="contains(../Exception/@Message, '0x800007d0')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni" Text="Errore durante l'accesso ai contatori di prestazioni sul server {2}. Il server potrebbe non essere disponibile o il servizio Registro di sistema remoto potrebbe non essere in esecuzione sul server. Messaggio di errore: {1}." P1="../Exception/@Message" S2="%varExName%"/>
							<Rule Name="fNonEngErrorAccessPerf" Query="contains(../Exception/@Message, '0xc0000bb8') and @S1='1'" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori di prestazioni" Text="Impossibile accedere ai contatori di Performance Monitor. Questo strumento deve essere eseguito su un sistema operativo inglese (Stati Uniti)." S1="%varNonEnglishOS%"/>

							<Setting Key1="MSExchangeTransport Queues" Key2="Messages Submitted Total" Key3="_Total">
								<Rule Name="fEnterSubmissionProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="La coda '{1}' sta avanzando" Text="La coda '{1}' sta avanzando e negli ultimi {3} secondi sono stati inseriti {2} messaggi." S1="Submission" P2="$iEnterSubmission" S3="60"/>
								<Rule Name="iEnterSubmission" Query="list-max($.)-list-min($.)" AlwaysEvaluate="True"/>
							</Setting>

							<Setting Key1="MSExchangeTransport Queues" Key2="Submission Queue Length" Key3="_Total">
								<Rule Name="iAvgSubmissionQueueLength" Query="list-average($.)" AlwaysEvaluate="True"/>
							</Setting>

							<Setting Key1="MSExchangeTransport Queues" Key2="Items Resubmitted Total" Key3="_Total">
								<Rule Name="fReSubmissionProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="I messaggi vengono reinoltrati alla coda '{1}'" Text="È in corso il reinoltro dei messaggi alla coda '{1}' e negli ultimi {3} secondi sono stati reinoltrati {2} messaggi." S1="Submission" P2="$iReSubmission" S3="60"/>
								<Rule Name="iReSubmission" Query="list-max($.)-list-min($.)" AlwaysEvaluate="True"/>
							</Setting>

							<Setting Key1="MSExchangeTransport Queues" Key2="Items Queued For Delivery Total" Key3="_Total">
								<Rule Name="fItemEnterDeliveryProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="La coda '{1}' sta avanzando" Text="La coda '{1}' sta avanzando e negli ultimi {3} secondi sono stati inseriti {2} elementi." S1="Delivery" P2="$iItemEnterDelivery" S3="60"/>
								<Rule Name="iItemEnterDelivery" Query="list-max($.)-list-min($.)"/>
								<Rule Name="fEnterSubmissionExceedsDeliveryTooHigh" Query="($iEnterSubmission &gt; $iItemEnterDelivery) and $iAvgSubmissionQueueLength &gt; 5000" Error="Warning" Title="La coda '{1}' supera {8} messaggi e sta aumentando" Text="La lunghezza media della coda '{1}' supera {8} messaggi e il numero di messaggi inseriti nella coda '{1}' ({2}) è superiore al numero di messaggi inseriti nella coda '{4}' ({5}) negli ultimi {3} secondi. È possibile che le prestazioni del classificatore o di un agente potrebbero essere scadenti su questo server. Se il servizio '{6}' viene sospeso, i nuovi invii da SMTP e dal ruolo server Cassette postali verranno rifiutati e causeranno lo svuotamento della coda '{1}'. È consigliabile sospendere il servizio '{6}' fino a quando la coda '{1}' diventa integra." S1="Submission" P2="$iEnterSubmission" S3="60" S4="Delivery" P5="$iItemEnterDelivery" S6="MSExchangeTransport" S8="5000"/>
							</Setting>
							<Setting Key1="MSExchangeTransport Queues" Key2="Messages Queued For Delivery Total" Key3="_Total">
								<Rule Name="fMsgEnterDeliveryProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="La coda '{1}' sta avanzando" Text="La coda '{1}' sta avanzando e negli ultimi {3} secondi sono stati inseriti {2} messaggi." S1="Delivery" P2="$iMsgEnterDelivery" S3="60"/>
								<Rule Name="iMsgEnterDelivery" Query="list-max($.)-list-min($.)"/>
							</Setting>

							<Setting Key1="MSExchange Store Driver" Key2="Outbound: Submitted Mail Items" Key3="_total">
								<Rule Name="fBadPerfmonInstanceStoreDriverSubmission" Query="list-average($.) = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati dei contatori di prestazioni per l'oggetto '{4}'" Text="Dati prestazioni mancanti per l'oggetto '{4}' istanza '{5}' sul server {2}." S2="%varExName%" P4="../@Key1" P5="../@Key3"/>
								<Rule Name="fStoreDriverEnterSubmissionProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="La coda '{1}' sta ricevendo messaggi da '{4}'" Text="La coda '{1}' sta ricevendo messaggi da '{4}' e negli ultimi {3} secondi sono stati inseriti {2} messaggi." S1="Submission" P2="$iStoreDriverEnterSubmission" S3="60" S4="StoreDriver"/>
								<Rule Name="iStoreDriverEnterSubmission" Query="list-max($.)-list-min($.)"/>
							</Setting>

							<Setting Key1="MSExchangeTransport SmtpReceive" Key2="Messages Received Total" Key3="_Total">
								<Rule Name="fSmtpEnterSubmissionProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="La coda '{1}' sta ricevendo messaggi da '{4}'" Text="La coda '{1}' sta ricevendo messaggi da '{4}' e negli ultimi {3} secondi sono stati inseriti {2} messaggi." S1="Submission" P2="$iSmtpEnterSubmission" S3="60" S4="SMTP"/>
								<Rule Name="iSmtpEnterSubmission" Query="list-max($.)-list-min($.)"/>
							</Setting>

							<Setting Key1="MSExchangeTransport Pickup" Key2="Messages Submitted" Key3="pickup">
								<Rule Name="fPickupEnterSubmissionProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="La coda '{1}' sta ricevendo messaggi da '{4}'" Text="La coda '{1}' sta ricevendo messaggi da '{4}' e negli ultimi {3} secondi sono stati inseriti {2} messaggi." S1="Submission" P2="$iPickupEnterSubmission" S3="60" S4="Pickup"/>
								<Rule Name="iPickupEnterSubmission" Query="list-max($.)-list-min($.)"/>
							</Setting>

							<Setting Key1="MSExchangeTransport Pickup" Key2="Messages Submitted" Key3="replay">
								<Rule Name="fReplayEnterSubmissionProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="La coda '{1}' sta ricevendo messaggi da '{4}'" Text="La coda '{1}' sta ricevendo messaggi da '{4}' e negli ultimi {3} secondi sono stati inseriti {2} messaggi." S1="Submission" P2="$iReplayEnterSubmission" S3="60" S4="Replay"/>
								<Rule Name="iReplayEnterSubmission" Query="list-max($.)-list-min($.)"/>
							</Setting>

							<Setting Key1="MSExchange Extensibility Agents" Key2="Average Agent Processing Time (sec)" Key3="transport rule agent">
								<Rule Name="iAvgTransportRuleProcessingTimeSec" Query="if(f$TransportAgentInvocationProgress,list-average($.))" Error="None" Title="Prestazioni medie '{1}'" Text="Le prestazioni medie '{1}' sono {4} secondi per chiamata negli ultimi {3} secondi gestendo {2} chiamate totali." S1="transport rule agent" P2="$iTransportAgentInvocation" S3="60" P4="list-average($.)"/>
							</Setting>

							<Setting Key1="MSExchange Extensibility Agents" Key2="Total Agent Invocations" Key3="transport rule agent">
								<Rule Name="fTransportAgentInvocationProgress" Query="not (list-min($.)=list-max($.))" Error="None" Title="'{1}' sta elaborando messaggi" Text="'{1}' sta elaborando messaggi e negli ultimi {3} secondi l'agente è stato invocato {2} volte." S1="transport rule agent" P2="$iTransportAgentInvocation" S3="60"/>
								<Rule Name="iTransportAgentInvocation" Query="list-max($.)-list-min($.)"/>
							</Setting>

							<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total">
								<Rule Name="fAvgSubmissionCPUHigh" Query="list-average($.) &gt; @S6" Error="Warning" Title="Utilizzo globale del processo elevato" Text="La media '{0}' ha superato {6}% negli ultimi {3} secondi." P0="localize-path('Processor(_Total)\% Processor Time')" S3="60" S6="80"/>
							</Setting>

							<Setting Key1="PhysicalDisk" Key2="Avg. Disk sec/Transfer" Key3="_Total">
								<Rule Name="fAvgSubmissionDiskLatencyHigh" Query="list-average($.) &gt; @S6" Error="Warning" Title="Latenza totale del disco elevata" Text="La media '{0}' ha superato {6} msec negli ultimi {3} secondi." P0="localize-path('PhysicalDisk(_Total)\Avg. Disk sec/Transfer')" S3="60" S6="40"/>
							</Setting>

						</Object>
					</Object>

					<Rule Name="szE12SubmissionQCheck" Query="'E12SubmissionQCheck'">
						<Variable Name="varPreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szExErrorStateText" Query="if($fAvgSubmissionCPUHigh or $fAvgSubmissionDiskLatencyHigh,string(@Title),$szExNoErrorStateText)" Title="Possibile combinazione di prestazioni lente e avanzamento lento dalla coda di invio alla coda di recapito." AlwaysEvaluate="True">
						<Variable Name="varErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szExNoErrorStateText" Query="string(@Title)" Title="Non sono stati rilevati problemi relativi alla coda di invio"/>
					<Rule Name="szE12SubmissionQCheckResult" Query="string(@Title)" Title="Risultati analisi coda di invio.">
						<Variable Name="varDisplayTitle" Scope="Global"/>
					</Rule>

					<Rule NextStep="DisplayResultsStep" Name="fDisplayE12SubmissionQCheckStep" Query="@S1='0'" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>rvarjx9OvlFY9OEgRpzXVkVrVeY=</DigestValue></Reference></SignedInfo><SignatureValue>
    gve1r/8U1Nt979qZoJZhGoOcbE2FSvlBwn+g36pye7JD6gKvkci9IWqRU3TE/FnR+3WHfXV/
    o3qd8pC6ekSkZhwVPZi461PBpXOzbBdxlxWPhf1lzuO1rBFki2hPAVw6NaFrzvRs1PsFmtJe
    JqSApC8rhS2s9J8rhJ077BsEUZLBVYImGpOqv2o2F6ttnjFeSgtJyki6xrRIwfPJt3L7HuTk
    hSZjwofuypywyR/c6ZPnG8UKiHxYok95KoYnX1mNWtIpiV4ObLtybI1jCXew4I3WKnNKvAue
    hYMpaxhAWy1JUM7ko7yH/Y4BcSD9t3geX/tH4JMMATYfUn7RNd7Yrw==
  </SignatureValue><KeyInfo>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>
            zYGWOK5covLB397Qq5WN1jydH4vDXYYuXfCxcvWrrIhqtdqxInsLyMilS5FeIhPp+fUjnbX0
            bnau7+6kPMfEwFlcP6uzczMmpmKBYXmhYvRuiJXQbt3Hn9KkURF2YbpwimWhlhaJp12B0ERm
            5dtWnkDK/Nx2JC5EMADl1n17lRHVWB2j6E8LyYjcotZTmWzKY8qZapqSXkxNEegv01tbXl9S
            o3MtpbuERQ2MGRV2ywjamqZwFehN7Gn9XbJrj+0pUTc4i8ZGSRWUUJiw9Gik194JcWd0nneM
            HYVrl+rnX0XM4OZxDdFjAJN7MZiOC7QTvbPQ7vHfIe6pYGHuN0M9ww==
          </Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
      <X509Data>
        <X509Certificate>
          MIIFMzCCBBugAwIBAgIKYUaeywAEAAAAZTANBgkqhkiG9w0BAQUFADCBpjELMAkGA1UEBhMC
          VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p
          Y3Jvc29mdCBDb3Jwb3JhdGlvbjErMCkGA1UECxMiQ29weXJpZ2h0IChjKSAyMDAwIE1pY3Jv
          c29mdCBDb3JwLjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0EwHhcNMDYw
          NDA0MTk0MzQ2WhcNMDcxMDA0MTk1MzQ2WjB0MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz
          aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0
          aW9uMR4wHAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUA
          A4IBDwAwggEKAoIBAQDNgZY4rlyi8sHf3tCrlY3WPJ0fi8Ndhi5d8LFy9ausiGq12rEiewvI
          yKVLkV4iE+n59SOdtfRudq7v7qQ8x8TAWVw/q7NzMyamYoFheaFi9G6IldBu3cef0qRREXZh
          unCKZaGWFomnXYHQRGbl21aeQMr83HYkLkQwAOXWfXuVEdVYHaPoTwvJiNyi1lOZbMpjyplq
          mpJeTE0R6C/TW1teX1Kjcy2lu4RFDYwZFXbLCNqapnAV6E3saf1dsmuP7SlRNziLxkZJFZRQ
          mLD0aKTX3glxZ3Sed4wdhWuX6udfRczg5nEN0WMAk3sxmI4LtBO9s9Du8d8h7qlgYe43Qz3D
          AgMBAAGjggGSMIIBjjAOBgNVHQ8BAf8EBAMCBsAwHQYDVR0OBBYEFO7Za6l1U81P7htOGQYe
          o5yrz5T9MBMGA1UdJQQMMAoGCCsGAQUFBwMDMIGpBgNVHSMEgaEwgZ6AFCX4K0tdyHJUreX2
          oCoXFvvB+VOBoXSkcjBwMSswKQYDVQQLEyJDb3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0
          IENvcnAuMR4wHAYDVQQLExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jv
          c29mdCBSb290IEF1dGhvcml0eYIQaguZT8AAHasR2sQCoWYnujBLBgNVHR8ERDBCMECgPqA8
          hjpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9Db2RlU2lnblBD
          QTIuY3JsME8GCCsGAQUFBwEBBEMwQTA/BggrBgEFBQcwAoYzaHR0cDovL3d3dy5taWNyb3Nv
          ZnQuY29tL3BraS9jZXJ0cy9Db2RlU2lnblBDQTIuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQA4
          2e+VOJtcmBRdVG5p3wLI57P708JNrS+rf1QN2jK2+GrmDfshGnc+pWh6tJV+ilzyQ8SDm2V9
          iFBRfIIU9YNz16K+XMoCcM4mbBe8UhSlicC35KHMoXWdkXE9G8BWAFa1+IQm2l4z+9Ylel6a
          2qb79PJBGqxVRq1I3JE4E1gJSfHzMYcfvASOWxJlA+kLUdChDIqZvdnBqNAIFSUhtbZXiRzR
          W4Y1pcr9qofsqTc/t0Nr4yDxRbx+runxVbKhSLxlvlM02cnoBmMEBnhuUP9Iu5vqQ1qH260K
          gPVZxSzk5X9bSuUyee4ihZIMLbNQW8bCQFhYq9LN4y/Bzextnzd5
        </X509Certificate>
      </X509Data>
      <X509Data>
        <X509Certificate>
          MIIEEjCCAvqgAwIBAgIPAMEAizw8iBHRPvZj7N9AMA0GCSqGSIb3DQEBBAUAMHAxKzApBgNV
          BAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jv
          c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5MB4X
          DTk3MDExMDA3MDAwMFoXDTIwMTIzMTA3MDAwMFowcDErMCkGA1UECxMiQ29weXJpZ2h0IChj
          KSAxOTk3IE1pY3Jvc29mdCBDb3JwLjEeMBwGA1UECxMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
          MSEwHwYDVQQDExhNaWNyb3NvZnQgUm9vdCBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUA
          A4IBDwAwggEKAoIBAQCpAr3BcOY78k4bKJ+XeF4w6qKpjSVf+P6VTKO3/p2iID58UaKboo9g
          MmvRQmR57qx2yVTa8uuchhyPn4Rms8VremIj1h083g8BkuiWxL8tZpqaaCaZ0Dosvwy1WCbB
          RucKPjiWLKkoOajsSYNC44QPu5psVWGsgnyhYC13TOmZtGQ7mlAcMQgkFJ+p55ErGOY9mGMU
          YFgFZZ8dN1KH96fvlALGG9O/VUWziYC/OuxUlE6u/ad6bXROrxjMlgkoIQBXkGBpN7tLEgc8
          Vv9b+6RmCgim0oFWV++2O14WgXcE2va+roCV/rDNf9anGnJcPMq88AijIjCzBoXJsyB3E4Xf
          AgMBAAGjgagwgaUwgaIGA1UdAQSBmjCBl4AQW9Bw72lyniNRfhSyTY7/y6FyMHAxKzApBgNV
          BAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jv
          c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5gg8A
          wQCLPDyIEdE+9mPs30AwDQYJKoZIhvcNAQEEBQADggEBAJXoC8CN85cYNe24ASTYdxHzXGAy
          n54Lyz4FkYiPyTrmIfLwV5MstaBHyGLv/NfMOztaqTZUaf4kbT/JzKreBXzdMY09nxBwarv+
          Ek8YacD80EPjEVogT+pie6+qGcgrNyUtvmWhEoolD2Oj91Qc+SHJ1hXzUqxuQzIH/YIX+OVn
          bA1R9r3xUse958Qw/CAxCYgdlSkaTdUdAqXxgOADtFv0sd3IV+5lScdSVLa0AygS/5DW8AiP
          friXxas3LOR65Kh343agANBqP8HSNorgQRKoNWobats14dQcBOSoRQTIWjM4bk0cDWK3CqKM
          09VUP0bNHFWmcNsSOoeTdZ+n0qA=
        </X509Certificate>
      </X509Data>
      <X509Data>
        <X509Certificate>
          MIIEwzCCA6+gAwIBAgIQaguZT8AAHasR2sQCoWYnujAJBgUrDgMCHQUAMHAxKzApBgNVBAsT
          IkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jvc29m
          dCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5MB4XDTA2
          MDQwNDE3NDQxNFoXDTEyMDQyNjA3MDAwMFowgaYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX
          YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9y
          YXRpb24xKzApBgNVBAsTIkNvcHlyaWdodCAoYykgMjAwMCBNaWNyb3NvZnQgQ29ycC4xIzAh
          BgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBMIIBIDANBgkqhkiG9w0BAQEFAAOC
          AQ0AMIIBCAKCAQEAw8wgjbzf/z5Q7nrC1CQl9nbOIf/NKlZOypy3grI1eS0AxKgI1WPJt6X2
          6cHB1rGMlqIH+g+2glKa64LGvRDFqMDua4SOUxu7UPpkAYnBFtSCaABAeET1EjhO+2NR4Po9
          ueU3sd9jByM7cUA0R/Rrrkb1J3MeIstCGR5RtlKa06PQE8YZP3EGbfKVIURfQu3AyZlkILjB
          NPyiROZ7sh0vuKbe9KHfmyEP/lgxQVU4fq9Y5+TsWXklq/cqLxE/OHg+Qn+naOR+ImgX5kqS
          xHhEUkehT4SJk5vAZ3vqCfuGA332mXE8K6dmmMzfLeIrAhoPNEhl9TwSr/GHHB0mUm/MAwIB
          A6OCASowggEmMBMGA1UdJQQMMAoGCCsGAQUFBwMDMIGiBgNVHQEEgZowgZeAEFvQcO9pcp4j
          UX4Usk2O/8uhcjBwMSswKQYDVQQLEyJDb3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0IENv
          cnAuMR4wHAYDVQQLExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jvc29m
          dCBSb290IEF1dGhvcml0eYIPAMEAizw8iBHRPvZj7N9AMBIGCSsGAQQBgjcVAQQFAgMDAAQw
          HQYDVR0OBBYEFCX4K0tdyHJUreX2oCoXFvvB+VOBMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIA
          QwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MAkGBSsOAwIdBQADggEBAGPj4PMF
          uLDqCws00YIxPoliRdUIp/lhZcguA/o4SEHPtfIng9PjxVZTqLUZzszm8aD5VrZIlEck5akf
          3HrU9hZ6EtvzkBvsCF2zhZC5jFi7HMyV05WUM/SR3v+Im15LSVA5JjogG1Q3/H1cFZPD3ByO
          8GFSPOUH7WbveeyPzldjZZUYSaB632W33yau/sgStsaizMZfi3Dzyturgm4H3GUZuaj2hsIJ
          QpjxJqxperHBK6ewZh+lr4cIa5cTuLA2mR4FoxM4o8CsMD66IdcwpspiEhyvV43l8XoRul48
          DDfxk8GSiE4EWgVcx8/WqdnhfZF4J/u0bqWPBjNYsV4qEQ8=
        </X509Certificate>
      </X509Data>
    </KeyInfo><Object id="ts-countersig"><X509Data><X509Certificate>MIID/zCCAuegAwIBAgIQDekr8NTYKYgYMgUJXpp2iDANBgkqhkiG9w0BAQUFADBTMQswCQYDVQQG
EwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUgU3Rh
bXBpbmcgU2VydmljZXMgQ0EwHhcNMDMxMjA0MDAwMDAwWhcNMDgxMjAzMjM1OTU5WjBXMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xLzAtBgNVBAMTJlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgU2lnbmVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
slAoSN3TaHqEGERmdV1+xLifYyb/PUOcfBE4ECVVc9l1J2n9TrkgXNMK+aAbKu1VViFh2B7b5Lwz
a8fv3aM3ZY4bkwy2Ux5cfGY1XwWKRf52Tt9TgKKBIJ2uiFyiCPflMPnuIjdMQgrO38YfxNZV6YE/
tVKjLKoBevKiqo01/p/mXWoFnz1r47+WwP7MYPlA5wegROuBUW6lKvK2ihAo7Y/cBqCGUJp7SggN
MB3KEJ5r9+lYrgSpQJmyKOiPFqw841NvS9M1nbVvZB2zliy7Ped56216+RbmJq2v75lTt0Aslbh5
qv7UUqspdH5C7DkeomoW5lm7JGjYAIBDEIeAawIDAQABo4HKMIHHMDQGCCsGAQUFBwEBBCgwJjAk
BggrBgEFBQcwAYYYaHR0cDovL29jc3AudmVyaXNpZ24uY29tMAwGA1UdEwEB/wQCMAAwMwYDVR0f
BCwwKjAooCagJIYiaHR0cDovL2NybC52ZXJpc2lnbi5jb20vdHNzLWNhLmNybDAWBgNVHSUBAf8E
DDAKBggrBgEFBQcDCDAOBgNVHQ8BAf8EBAMCBsAwJAYDVR0RBB0wG6QZMBcxFTATBgNVBAMTDFRT
QTIwNDgtMS01NDANBgkqhkiG9w0BAQUFAAOCAQEAh3hw2k5SASBb4HnJgjDE/bkZlr2RAMO9zc3G
9A7Y//lNwDNiMBHF9XQb1JLeX5wgE7F8Rb5QzYPngBeDpyeTZxNG+8q4mEEDzJtRWwWLf6hv8xtQ
GyQu8mmNbCL3u8oWle0MdMBod9nrmWKHwXOQ+Il0eiOro5h7l7H3jylxTS51G0hB2vC1DSBU1neg
l4Jjaf0Jz4rwdbsJm9n5EVUmmmEyvnoCsHuGvqLDiyIseNE1drySc1z5ueZMFQojzOTS1DQuSUAV
PA9geiTGpWbvls9w6z7n9A1+3NF8o3ZxacGcT0cwNSGxoq8aYjwr2Y6qKgd72BizXHvinaVv/jyJ
rQ==</X509Certificate></X509Data><X509Data><X509Certificate>MIIDxDCCAy2gAwIBAgIQR78Zld+NUkZD99ttSA0xpDANBgkqhkiG9w0BAQUFADCBizELMAkGA1UE
BhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNV
BAoTBlRoYXd0ZTEdMBsGA1UECxMUVGhhd3RlIENlcnRpZmljYXRpb24xHzAdBgNVBAMTFlRoYXd0
ZSBUaW1lc3RhbXBpbmcgQ0EwHhcNMDMxMjA0MDAwMDAwWhcNMTMxMjAzMjM1OTU5WjBTMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpyrKk
zM0grwp9iayHdfC0TvHfwQ+/Z2G9o2Qc2rv5yjOrhDCJWH6M22vdNp4Pv9HsePJ3pn5vPL+Trw26
aPRslMq9Ui2rSD31ttVdXxsCn/ovax6k96OaphrIAuF/TFLjDmDsQBx+uQ3eP8e034e9X3pqMS4D
mYETqEcgzjFzDVctzXg0M5USmRK53mgvqubjwoqMKsOLIYdmvYNYV291vzyqJoddyhAVPJ+E6lTB
Cm7E/sVK3bkHEZcifNs+J9EeeOyfMcnx5iIZ28SzR0OaGl+gHpDkXvXufPF9q2IBj/VNC97QIlao
lc2uiHau7roN8+RN2aD7aKCuFDuzh8G7AgMBAAGjgdswgdgwNAYIKwYBBQUHAQEEKDAmMCQGCCsG
AQUFBzABhhhodHRwOi8vb2NzcC52ZXJpc2lnbi5jb20wEgYDVR0TAQH/BAgwBgEB/wIBADBBBgNV
HR8EOjA4MDagNKAyhjBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9UaGF3dGVUaW1lc3RhbXBpbmdD
QS5jcmwwEwYDVR0lBAwwCgYIKwYBBQUHAwgwDgYDVR0PAQH/BAQDAgEGMCQGA1UdEQQdMBukGTAX
MRUwEwYDVQQDEwxUU0EyMDQ4LTEtNTMwDQYJKoZIhvcNAQEFBQADgYEASmv56ljCRBwxiXmZK5a/
gqwB1hxMzbCKWG7fCCmjXsjKkxPnBFIN70cnLwA4sOTJk06a1CJiFfc/NyFPcDGA8Ys4h7Po6JcA
/s9Vlk4k0qknTnqut2FB8yrO58nZXt27K4U+tZ212eFX/760xX71zwye8Jf+K9M7UhsbOCf3P0o=</X509Certificate></X509Data><CounterSignature xmlns="http://schemas.microsoft.com/xmldsig/timestamp/2003" ts-format="cms-timestamp-message">MIIDLQYJKoZIhvcNAQcCoIIDHjCCAxoCAQExDjAMBggqhkiG9w0CBQUAMIIBEwYJKoZIhvcNAQcB
oIIBBASCAQCC97Wv/xTU233v2pmglmEag5xsTYVK+UHCf6DfqnJ7skPqAq+RyL0hapFTdMT8WdH7
dYd9dX+jep3ykLp6RKRmHBU9mLjrU8Glc7NsF3GXFY+F/WXO47WsEWSLaE8BXDo1oWvO9GzU+wWa
0l4mpICkLyuFLaz0nyuEnTvsGwRRksFVgiYak6q/ajYXq22eMV5KC0nKSLrGtEjB88m3cvse5OSF
JmPCh+7KnLDJH9zpk+cbxQqIfFiiT3kqhidfWY1a0imJXg5su3JsjWMJd7DgjdYqc0q8C56Fgylr
GEBbLUlQzuSjvIf9jgFxIP23eB5f+0fgkwwBNh9SftE13tivMYIB7DCCAegCAQEwZzBTMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgQ0ECEA3pK/DU2CmIGDIFCV6adogwDAYIKoZIhvcNAgUFAKBZMBgG
CSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA2MTEyNjIzNTUyNlowHwYJ
KoZIhvcNAQkEMRIEEKlNHBwOVA7vwwvu/aWLEzowDQYJKoZIhvcNAQEBBQAEggEAFKEHTn2RqBUY
k9iRz5TTj4sKN2xdRZRZqMtSO7qWjf2pq4Bsuy3iJ9n+LMiLUNH16Hut36H+oKGEe7eJDJBwcq4t
aP902R9NIS5mZ+m9vtpOyqisvOhMhuYP+qijJ94K3LVBCncMHJcazecmquH0OhOwMW8gMVcwLPUB
Qg/lgl8YfOVDh//ZtQPKu9mFfmAcmaK4vkJ1xI8xtoXwV4t5UifGWnSamjNLc0yN1gyp/r5pd6vd
GGMqb2xydyCT2eaBfUqYlh6gV++2dUvJgp52cpewIHcU2OxQWNDGMjRcXRkVb7BsaW7GziBnRAbP
kGTvY6SBKbPEgyDmnm6WoXhj7A==</CounterSignature></Object></Signature></Wizard>