Can't send email from new Exchange 2016 server

Thesis Support 66 Reputation points
2021-07-19T09:50:58.037+00:00

Hi everyone,

I'm experiencing a curious situation with a client context.
I'm working on the migration from an Exchange 2010 to 2016.

The new server is up, dns is up to date, smtp, owa is pointing to the new exchange server.
Firewall rules are ok and there is no local antivirus or firewall installed on the windows exchange server.

For the moment there is no migrated client mailbox to 2016, I'm just testing with test mailboxes created/migrated to 2016.

Problem is that I can't send emails from mailboxes located to this new exchange server.
Emails are stucked in drafts (owa) or sent but never received (outlook)..
Receive is ok but sending is ko.

The send connector is including also the new exchange server.
All the arbitration mailboxes have been migrated to the new exchange database, so I don't know what is wrong...

I've checked with the test-mailflow and received a failure result like this :

RunspaceId : 04bfdc9a-f3f7-42e3-90f8-6b3ab99d2955
TestMailflowResult : FAILURE
MessageLatencyTime : 00:00:00
IsRemoteTest : False
Identity :
IsValid : True
ObjectState : New

RunspaceId : 04bfdc9a-f3f7-42e3-90f8-6b3ab99d2955
Events : {Source : MSExchange Monitoring Mailflow Local
ID : 1001
Type : Error
Message : L'accusé de réception pour le message test de VMEXCHANGE16\SystemMailbox{9baa1ad3-4358-489d-be63-5f075ca657d9}@exserver.ch à
VMEXCHANGE16\SystemMailbox{9baa1ad3-4358-489d-be63-5f075ca657d9}@exserver.ch n'a pas été reçu dans le délai de latence d'erreur de 1 secondes. La cmdlet n'attendra plus
l'accusé de réception.}
PerformanceCounters : {Objet : MSExchange Monitoring Mailflow Local
Compteur : Mailflow Latency
Instance : VMEXCHANGE16\EX16DB1
Valeur : -1}

Any idea of what is goin on ?

Thank you,

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,632 questions
0 comments No comments
{count} votes

Accepted answer
  1. Manu Philip 18,486 Reputation points MVP
    2021-07-19T12:35:03.587+00:00

    The last event is suspicious. It indicates an issue with transport services. Check, if the ports are assigned correctly in all the receive connectors.
    The ports are as follows:

    Client Proxy: 465
    Client Frontend: 587
    Default: 2525
    Default Frontend: 25
    Outbound Proxy Frontend:717
    After assigning the correct port, restart transport services to see if the issue is solved. Sometimes, you may need to recreate the connector (in case, the settings were corrupted before)

    Port reference here: receive-connectors

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Manu Philip 18,486 Reputation points MVP
    2021-07-19T10:17:35.373+00:00

    Check, if the server uses IPV6 for any transport purposes. If so, set that manually to IPV4

    1. Uncheck IPV6 from network adapter
    2. Check outlook anywhere DNS lookup settings and set IPV4 or set it manually (check it both one by one)
      115838-image.png

    Restart the exchange server if it is not working straightaway

    0 comments No comments

  2. Thesis Support 66 Reputation points
    2021-07-19T10:41:31.093+00:00

    Hi,
    Thank you for the reply.
    It's already like this, I always disable ipv6, and I've already tried to put manually the dns lookup ips.
    Still the same.

    Thank you,

    0 comments No comments

  3. Manu Philip 18,486 Reputation points MVP
    2021-07-19T11:36:38.74+00:00

    Can you check, if you see the following eventlog also generated in the server?
    Event ID :1001
    Event Source: MSExchange Messaging Policies
    If that's the case : This Error event indicates that configuration information for the Journaling agent is invalid or corrupted. The configuration information for the Journaling agent is stored in Active Directory
    Fix as follows
    Run the cmdlet to Increase the diagnostic logging level on theJournaling counter of the MSExchange Messaging Policiesperformance object
    Set-EventLogLevel "MSExchange Messaging Policies\Journaling" -Level High

    0 comments No comments

  4. Thesis Support 66 Reputation points
    2021-07-19T12:17:25.823+00:00

    Thank you for the reply.
    I dont have any log like this.

    In the logs here are the error events I have :

    Event ID : 74
    Event Source : MSExchange RBAC
    Event Description : (Process w3wp.exe, PID 13228) Connection leak detected for key domain.ch/Users/Administrateur in Microsoft.Exchange.Configuration.Authorization.WSManBudgetManager class. Leaked Value 2.

    Event ID : 1032
    Event Source : MSExchangeDiagnostics
    Event Description : The EDS Job manager failed to start the following jobs:
    Job: 'PFAssistantLog' creation failed.
    Job: 'OwaClientLog' creation failed.
    Job: 'OwaClientLocation' creation failed.
    Job: 'OAuthCafeLog' creation failed.
    Job: 'OABDownloadLog' creation failed.
    Job: 'MRSAvailabilityLog' creation failed.

    Event ID : 4999
    Event Source : MSExchange Common
    Event Description : Watson report about to be sent for process id: 5228, with parameters: E12IIS, c-RTL-AMD64, 15.01.2242.004, w3wp#MSExchangeOWAAppPool, M.E.C.Owa2.Server, M.E.C.O.S.C.OwaMapiNotificationManager.SubscribeToSuiteNotification, System.NotSupportedException, 80d2-dumptidset, 15.01.2242.004.
    ErrorReportingEnabled: False

    Event ID : 16024
    Event Source : MSExchangeSubmission
    Event Description : La description de l’ID d’événement 16024 dans la source MSExchangeSubmission est introuvable. Le composant qui a déclenché cet événement n’est pas installé sur l’ordinateur local ou l’installation est endommagée. Vous pouvez installer ou réparer le composant sur l’ordinateur local.

    Si l’événement provient d’un autre ordinateur, les informations d’affichage doivent être enregistrées avec l’événement.

    Les informations suivantes étaient incluses avec l’événement :

    Faulted
    Exceptions Encountered - System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'Microsoft.Forefront.AntiSpam.SpamEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ou une de ses dépendances. Le fichier spécifié est introuvable.
    à Microsoft.Exchange.Transport.Agent.Malware.SubmissionMalwareAgentFactory..ctor()
    --- Fin de la trace de la pile d'exception interne ---
    à System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
    à System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
    à System.Activator.CreateInstance(Type type, Boolean nonPublic)
    à System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
    à System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    à System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.<>c__DisplayClass20_0.<CreateAgentFactory>b__0(Assembly assembly)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.LoadAssemblyAndCreateInstanceT
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateAgentFactory(AgentInfo agentInfo)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable..ctor(IEnumerable agents, FactoryInitializer factoryInitializer)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateDefaultFactoryTable(IEnumerable agents, FactoryInitializer factoryInitializer)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettings..ctor(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettingsFactory.CreateDefaultRuntimeSettings(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettingsFactory.Create(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExRuntime..ctor(String configFile, String agentGroup, ProcessTransportRole processTransportRole, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, FactoryInitializer factoryInitializer, ITransportComponentConfiguration transportComponentConfiguration)
    à Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper..ctor(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func2 getGrayExceptionContextData) à Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper.CreateDefaultMExWrapper(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func2 getGrayExceptionContextData)
    à Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper.Create(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func2 getGrayExceptionContextData) à Microsoft.Exchange.MailboxTransport.Submission.Categorizer.SubmissionCategorizerComponent.LoadWorker() à Microsoft.Exchange.MailboxTransport.Submission.Categorizer.SubmissionCategorizerComponent.<Load>b__36_0() à System.Threading.Tasks.Task.Execute() --- Fin de la trace de la pile d'exception interne --- ---> (Exception interne #0) System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'Microsoft.Forefront.AntiSpam.SpamEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ou une de ses dépendances. Le fichier spécifié est introuvable. à Microsoft.Exchange.Transport.Agent.Malware.SubmissionMalwareAgentFactory..ctor() --- Fin de la trace de la pile d'exception interne --- à System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) à System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) à System.Activator.CreateInstance(Type type, Boolean nonPublic) à System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) à System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) à System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.<>c__DisplayClass20_0.<CreateAgentFactory>b__0(Assembly assembly) à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.LoadAssemblyAndCreateInstance[T](AgentInfo agentInfo, CreateInstance1 createInstance, String& agentPath, Exception& exception)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateAgentFactory(AgentInfo agentInfo)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable..ctor(IEnumerable agents, FactoryInitializer factoryInitializer)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateDefaultFactoryTable(IEnumerable agents, FactoryInitializer factoryInitializer)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettings..ctor(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettingsFactory.CreateDefaultRuntimeSettings(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettingsFactory.Create(IMExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, ITransportComponentConfiguration settingsConfiguration)
    à Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExRuntime..ctor(String configFile, String agentGroup, ProcessTransportRole processTransportRole, IAgentGrayExceptionHandler agentGrayExceptionHandler, IExecutionStatisticsCollectorFactory statisticCollectorFactory, FactoryInitializer factoryInitializer, ITransportComponentConfiguration transportComponentConfiguration)
    à Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper..ctor(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func2 getGrayExceptionContextData) à Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper.CreateDefaultMExWrapper(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func2 getGrayExceptionContextData)
    à Microsoft.Exchange.MailboxTransport.StoreDriver.Shared.MExWrapper.Create(String configFilePath, ProcessTransportRole role, LatencyAgentGroup latencyAgentGroup, String agentGroup, Func`2 getGrayExceptionContextData)
    à Microsoft.Exchange.MailboxTransport.Submission.Categorizer.SubmissionCategorizerComponent.LoadWorker()
    à Microsoft.Exchange.MailboxTransport.Submission.Categorizer.SubmissionCategorizerComponent.<Load>b__36_0()
    à System.Threading.Tasks.Task.Execute()<---
    .

    La ressource de message est présente mais le message ne se trouve pas dans la table des chaînes ou des messages

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.