How to remove queue mails in exchange 2003
Question: How to remove queue mails in exchange 2003?
Answer:
Using a graphical user interface
- Open the Exchange System Manager (Exchange System Manager.msc).
- Expand the organization Administrative Groups target administrative group Servers.
- Expand the appropriate server container and select the Queues object.
- The right pane will display all queues on this server, including MTA, SMTP, and foreign connector queues.
- Click the Source field of the header to group the queues according to the component that they are associated with and find the appropriate SMTP virtual server.
- Click on a queue to select it and click Find Messages, or double-click the queue to open the search window. By default, the search will return 100 messages at a time.
- If you wish to restrict the search, modify the search parameters.
- Click Find Now.
- Select the message to delete by clicking on it; you can use Shift and Ctrl with additional clicks to select multiple messages. Right-click your selection, select one of the two Delete options, and confirm the deletion
Problem
Solution
Using a graphical user interface
- Download the BadmailAdminTool from:
- Extract it to a directory of your choice.
- Open a command prompt and navigate to the BadmailAdminTool directory.
- Run the following command:
> cscript.exe badmailadmin.wsf
Next, schedule the BadmailAdminTool script to run with default parameters:- Open Scheduled Tasks (All Programs Accessories System Tools Scheduled Tasks).
- Click Add Scheduled Tasks, then click Next.
- Browse to the directory where you installed the BadmailAdminTool and selectbadmailadmin.wsf.
- Leave the default task name. Select a schedule for the new task: Daily, Weekly, Monthly, One time only, When my computer starts, or When I log on and click Next.
- Provide the scheduled time and day to run the script on and click Next.
- Provide a user account with local administrative and Exchange Administrator rights to run the script and click Next.
- Check the Open advanced properties for this task when I click Finish checkbox and click Finish.
- Modify the task to provide the specific script parameters you desire.
Comments