Inbound email stuck in queue at Edge server

Posted on 2011-09-20
Medium Priority
Last Modified: 2012-08-14
Dear experts,

This one's been a real pain for me recently. I have a DC, an exchange 2007 server and an ISA server.  The ISA server hosts the exchange Edge Transport services and the exchange server is the Hub Transport.

Outbound mail is being processed fine but inbound mail is queueing up on the edge server. It will sit there for a random amount of time. Then all of a sudden a few will get delivered to the user's mailboxes. This happens constatntly and the users are complaing of delays receiving email.

Now - I had been seeing events suggesting that a certificate had expired. so i generated a new one using the exchange cmdlet - and subsequently wrecked something.  So I performed the following, restarting the relevant services where appropriate:

- generated new cert (I received a warning that the cert was missing in AD but that it was now fixed)
- removed the edge subscription from the HT and the ET
- created a new edge subscription and used the xml file to create a new one on the HT
- started the edge synchronisation

But still the mail is queueing up at the edge server.  I ran through the mailflow trouble shooter and get the following errors:

One or more inconsistencies were found with Active Directory Application Mode (ADAM) instance on server ISA-SERVER.domain.com. This is an indication that EdgeSync has not successfully replicated critical configuration information from Active Directory to this ADAM instance.

No EdgeSync credentials were found in Active Directory for Edge Transport server role computer %EDGECN%. This occurs when the tool is unable to retrieve one or more values for the 'msExchEdgeSyncCredential' attribute on the server object '%EDGEDN%' in Active Directory.

The test-edgesynchronisation returns a successful message
The necessary rules are in place in ISA

What have i missed?
Question by:tech53
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2

Author Comment

ID: 36572720
Anyone any ideas on this?

Author Comment

ID: 36573680
the result from the test-edgesynchronization command is:

Name                        : EdgeServer
LeaseHolder                 : HubTransportServer
LeaseType                   : Option
ConnectionResult            : Succeeded
FailureDetail               :
LeaseExpiry                 : 21/09/2011 15:11:22
LastSynchronized            : 21/09/2011 14:11:22
CredentialStatus            : Synchronized
TransportServerStatus       : Synchronized
TransportConfigStatus       : Synchronized
AcceptedDomainStatus        : Synchronized
SendConnectorStatus         : Synchronized
MessageClassificationStatus : Synchronized
RecipientStatus             : Synchronized
CredentialRecords           : Number of credentials 3


Expert Comment

ID: 36581636

try running the start-edgesyncronization command on your hub transport server.  

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.


Author Comment

ID: 36583143
I've done that too - several times! It returns a successful result.  

Expert Comment

ID: 36583214

is the exchange credential service started on the edge transport server ?

Start the Microsoft Exchange ADAM service
1.Click Start, click Run, type services.msc, and then click OK.

2.In the Services, locate the Microsoft Exchange ADAM service in the details pane.

3.Right-click the service, and then click Start.


Author Comment

ID: 36930484
The ADAM sevice is started ok.

Right.  The sync erros have disappeared now following a server reboot.  Event logs on the ISA and exchange box are nice and clean.

So i ran the exchange analyser and discovered a few issues. One particualr issue is described below:

Cannot find 'Host' or 'MX' record(s) for domain exch1
Domain exch1 is a remote domain to which server security1 is trying to send messages but neither the 'MX' records nor 'Host' records of domain exch1 can be obtained from any DNS server security1 uses. This may be causing message backups in the queue or non-delivery reports if the DNS response is 'non-existent domain'.

exch1 is the name of the HT server and security1 is the name of the ISA server, yet it seems to refer to the HT server as a domain rather than a host. The error i see against the queue for the HT is
2421 4.4.2 Connection dropped..."

See this link:

Thats exactly what i'm experienceing, but I dont see a resolution.

Accepted Solution

tech53 earned 0 total points
ID: 37060471
Ok.  I got the issue resolved.  It was caused by an upchaining issue.  I generated the self signed cert on the exchange server. But the exchange server was not the CA. I generated the cert request and had it authorised by the internal CA. Then i installed the cert on the exchange server and all is good.

Thanks for all your help.

Author Closing Comment

ID: 37087348
see my previous post

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question