Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Mass deletion of quarantine emails - C350

Hi,

Over the weekend, a mail message with a "profanity" word inside was sent through our C350s. Unfortunately it seems that the mailbox had a mail forward rule which has meant that it's bounced back and forth, and we've got over 500k messages on each of local quarantine queues.

Short of using the GUI, and deleting 250 msgs at a time, is there a way of removing these messages from the CLI? The C350s are still running 7.0.1 and have a queue retention set to 30d. Thought about reducing this but to set that lower could also mean removing legitimate mail as well.

Thanks in advance.

Cheers,

Richard

Everyone's tags (4)
1 REPLY
Cisco Employee

Mass deletion of quarantine emails - C350

Dear Richard,

You can follow the below link in Knowledgebase to use command to delete 500 messages at a time if you know the first and last MIDs of those quarantine messages. It should still be faster than reloading the GUI to click and select 500 quarantined messages to delete.

http://tinyurl.com/efonf

e.g. If the first quarantined MID is 29137600, add 499 to the number as last MID each time

quarantineconfig deletemsg 29137600-29138099 Policy

quarantineconfig deletemsg 29138099-29138498 Policy

...

...

You may want to write a script to automate this.

Tommy

1566
Views
0
Helpful
1
Replies
CreatePlease to create content