cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2719
Views
0
Helpful
1
Replies

Mass deletion of quarantine emails - C350

richard.whelan
Level 1
Level 1

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

1 Reply 1

Tze Tai Mak
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: