| Clean out SMTP queue in MS Exchange |
|
|
| Windows |
|
This is an issue that can cause a lot of grief if you have a lot of NDR messages in a queue, if your server has been attacked with spam, if someone is using it as an unauthorized relay, or a few other scenarios. There are 2 ways to clean it up. If its only a few messages that you need to delete, the best way is to use method 1, for a large amount of emails, use method 2. Method 1:1. Click Start, point to All Programs, point to Microsoft Exchange, and then click System Manager.
To delete several messages that are next to each other, click the first message, hold down SHIFT and click the last message, right-click one of the selected messages, and then click either Delete (no NDR) or Delete (with NDR). To delete several messages that are not next to each other, click the first message, hold down CTRL and click additional messages, right-click one of the selected messages, and then click either Delete (no NDR) or Delete (with NDR). Method 2:The second method is to use the Advanced Queuing Administration Command Line Interface tool (aqadmcli.exe).
Aqadmcli.exe can be downloaded from here: Run aqadmcli.exe from a command line with the following syntax to delete all messages from all queues: setserver "Servername" Run aqadmcli.exe from a command line with the following syntax to delete all messages from a specific sender address: setserver "Servername"
|
| Last Updated on Tuesday, 23 August 2011 21:21 |

