Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 516
  • Last Modified:

2007 exchange submission queue filling up

Is it possible to delete certain emails in the submission queue?

I need to delete one with a particular from address.
Capture.PNG
0
rdefino
Asked:
rdefino
1 Solution
 
becraigCommented:
I came across a blog which says it might work:


Get-Queue -id Submission | Get-Message -ResultSize unlimited | where{$_.fromaddress -like "user@domain.com"} | Remove-Message -WithNDR $false


http://zahirshahblog.com/2012/03/13/clear-submission-queue-on-microsoft-exchange-server-2007-2010-remove-message-from-queue-on-hub-transport-server-delete-ambigous-messages-from-submission-queue-emails-are-stuck-in-the-exchange/
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now