I had some amusement when someone tried sending a 1MB email to 400 people and the server was set for direct delivery. It flattened out the ADSL and caused lots of problems, first job was to click the “disable outbound mail” button in the Exchange System Manager under queues. Then temporarily close port 25 on the firewall for inbound and outbound mail.
Then you can manually remove the mails from all the queues but that would take ages instead I used a program called aqadmcli.exe to clear it all out quickly from the CLI.
All sent by email@example.com
Stopped port 25 inbound and outbound on the Firewall.
Run aqadmcli.exe from a command line with the following syntax to delete all messages from all queues:
Or you can:
Run aqadmcli.exe from a command line with the following syntax to delete all messages from a specific sender address:
You can download aqadmcli.exe from: