Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-2010, 06:44 AM
Loyal Member
 
Posts: 92
Default [SOLVED] Delete messages with commands using filters

Hi,

I would like to know if its possible to delete messages for differents accounts using filters using zmprov and zmmailbox commands!

For example, I want to delete all the messeges whose size bigger than 7MB for mike@zimbracorreo.com or, delete all the messages whose recieved date is before of yesterday, or delete all messages whose has attachments files,etc,etc.

Thanks very much!
Reply With Quote
  #2 (permalink)  
Old 11-02-2010, 07:39 AM
Active Member
 
Posts: 39
Default

I think you will be faster connecting to mailbox of the user and doing a search... whith the zwc
__________________
Dell R905 64Go Ram cluster DRBD Xen 3.2 - SLES11 64bits
Zimbra NE V7.1.4 Xen SLES11SP1 Paravirtualized
Reply With Quote
  #3 (permalink)  
Old 11-02-2010, 09:42 AM
Loyal Member
 
Posts: 92
Default

Ok, but its not my question.

I mean with the example:

Delete all messages that have attachment with a condition (>7MB) for all mail accounts that we have right now in Zimbra

Thanks

Last edited by mnbvmnbv; 11-02-2010 at 09:58 AM..
Reply With Quote
  #4 (permalink)  
Old 11-02-2010, 09:50 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by mnbvmnbv View Post
But , when I add a filter, this filter is automatic exec??? Because it doesn't appear in the webconsole of the user that I'm aplying the filter.


"FilterRule1" active all attachment not_exists discard
"rule2" active all header "from" contains "enrique" discard
"filter2" active all attachment exists mark read


many thanks!
You need to provide the exact command that you used to add the rule.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.