Home > Exchange, Powershell, Quickie > Quickie: Exchange Empty Submission queue

Quickie: Exchange Empty Submission queue

Today I was solving problem with open relay Exchange server. I came to server and it was full of SPAM e-mail messages. I needed to clean all this mess from Submission queue. I used following command:

Get-Message -Filter {FromAddress -eq “<>”} -Server MAILSERVER | Remove-Message

That’s all folks 🙂

 

  1. No comments yet.
  1. No trackbacks yet.