I think there are a couple ways of doing that. Wiser heads may have other
recommendations, but what I used was the below powershell commands:
To export the messages in a queue for replay
Run Get-Queue to find your "QueueName"
#Suspend all messages in the queue
get-queue -Id "QUEUENAME" | Get-Message | Suspend-Message
#Get all messages from the queue
$array = @(Get-Message -Queue "QUEUENAME" -ResultSize unlimited)
#Export all messages from the queue
$array | ForEach-Object {$i++;Export-Message $_.Identity | AssembleMessage
-Path ("C:\ExportFolder\"+ $i +".eml")}
From: [email protected] [mailto:[email protected]] On
Behalf Of J- P
Sent: Thursday, January 22, 2015 11:37 AM
To: [email protected]
Subject: RE: [Exchange]Ex2013 all messages stuck in undefined submission NEW
ERROR
When restart the transport a few messages will be delivered, then it starts
building up again-
it queue file is at 1.5gb-
Can i safely stop the service, remove the mail.que file and let it replay (MS
once did this for me in 2010)
________________________________
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Date: Thu, 22 Jan 2015 11:18:15 -0800
Subject: RE: [Exchange]Ex2013 all messages stuck in undefined submission NEW
ERROR
For the InternalDNSServers that are listed on your server's network cards for
internal communications (for example). Do not modify ExternalDNS entries.
https://technet.microsoft.com/en-us/library/jj215695(v=exchg.150).aspx<https://technet.microsoft.com/en-us/library/jj215695%28v=exchg.150%29.aspx>
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of J- P
Sent: Thursday, January 22, 2015 11:03 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: [Exchange]Ex2013 all messages stuck in undefined submission NEW
ERROR
just to be clear, use the internal AD dns servers IP NOT external i.e. google
8.8.8.8?
Jean-Paul Natola
________________________________
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Date: Thu, 22 Jan 2015 10:46:02 -0800
Subject: RE: [Exchange]Ex2013 all messages stuck in undefined submission NEW
ERROR
Try changing the Internal DNS Lookups on mailbox servers to "Custom" and
manually add DNS servers ("Servers" menu / Select "server" to edit select "DNS
Looksups" )
Get-TransportService -ID MAILBOX_Server | fl *dns* to check
before and after
Put the server's own IP address in its hosts file in both formats "ip server"
"ip fqdn" on both mailbox/cas if seperated
Optional (Put the primary and secondary DNS servers in hosts as well in both
formats)
Restart Transport Services
See if it works... if not
This may also need to be run via power shell for the "FrontEndTransportService"
internal DNS lookups as well
Get-FrontEndTransportService -ID CAS_Server | fl *dns*
Set-FrontEndTransportService -ID CAS_Server InternalDNSServers
"1.2.3.4,5.6.7.8"
Restart FrontEndTransport Services
All usual production change disclaimers applied... (backups, documentation, Do
not swim for at least one hour... )
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of J- P
Sent: Thursday, January 22, 2015 10:33 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: [Exchange]Ex2013 all messages stuck in undefined submission NEW
ERROR
ok, although in the queue viewer there is no last error, when I look at the
message itself there is a last error
[{LRT=}:{LED=}:{FQDN=}:{IP=}]
________________________________
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Date: Thu, 22 Jan 2015 08:53:50 -0800
Subject: RE: [Exchange] Ex2013 all messages stuck in undefined submission
What is the "Last Error" displayed in the messages queues?
I had a similar problem, although with a Split Exchange 2013 Mailbox CAS
implementation. The remediation steps may be helpful in your case if the
errors are DNS related.
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of J- P
Sent: Thursday, January 22, 2015 8:12 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: [Exchange] Ex2013 all messages stuck in undefined submission
its in submission, appears both ways although we can "send" nothing ever
leaves, and nothing has come in (internal or external)
Jean-Paul Natola
________________________________
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Subject: RE: [Exchange] Ex2013 all messages stuck in undefined submission
Date: Thu, 22 Jan 2015 16:03:26 +0000
Stuck where? In the outbound queue or coming into the exchange?
Gavin Wilby
IT Support Engineer
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of J- P
Sent: 22 January 2015 15:37
To: [email protected]<mailto:[email protected]>
Subject: [Exchange] Ex2013 all messages stuck in undefined submission
As the title says, all messages stuck since last night, I have restart the
transport services and no joy-
People can connect (owa/outlook) they can send , but obviously not receiveing
2012r1/EX2013 hyper v , running on 2012r1
thanks
SMP Partners Limited, SMP Trustees Limited and SMP Fund Services Limited are
licensed by the Isle of Man Financial Supervision Commission. SMP Accounting &
Tax Limited is a member of the ICAEW Practice Assurance Scheme.
SMP Partners Limited registered in the Isle of Man, Company Registration No:
000908V
Directors: M.W. Denton, M.J. Derbyshire, P.N. Eckersley, S.E McGowan, O. Peck,
J.J. Scott, S.J. Turner
SMP Trustees Limited registered in the Isle of Man, Company Registration No:
068396C
Directors: A.C. Baggesen, M.W. Denton, O. Peck, J.J. Scott, J. Watterson, J.
Cubbon
SMP Fund Services Limited registered in the Isle of Man, Company Registration
No: 120288C
Directors: V. Campbell, M.W. Denton, P.N. Eckersley, D.A. Manser, S.E McGowan,
O. Peck, J.J. Scott, R.K. Corkill
SMP Accounting & Tax Limited registered in the Isle of Man, Company
Registration No: 001316V
Directors: I.F. Begley, A.J. Dowling, P. Duchars, P.N. Eckersley, J.J. Scott,
S.J. Turner
SMP Capital Markets Limited registered in the Isle of Man, Company Registration
No: 002438V
Directors: M.W. Denton, M.J. Derbyshire, D.F Hudson, S.E McGowan, O. Peck, J.J.
Scott.
SMP Partners Limited, SMP Trustees Limited, SMP Fund Services Limited, SMP
Accounting & Tax Limited and SMP Capital Markets Limited are members of the SMP
Partners Group of Companies.
This email is confidential and is subject to disclaimers. Details can be found
at: http://www.smppartners.com/disclaimer.html
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________