Results 1 to 4 of 4

Thread: [SOLVED] Delete messages with commands using filters

  1. #1
    Join Date
    Aug 2010
    Location
    In yours
    Posts
    93
    Rep Power
    5

    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!

  2. #2
    Join Date
    Jul 2008
    Location
    Angoulême
    Posts
    39
    Rep Power
    7

    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

  3. #3
    Join Date
    Aug 2010
    Location
    In yours
    Posts
    93
    Rep Power
    5

    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 10:58 AM.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. [SOLVED] Re-creating the spam training e-mail account
    By richard-hdd in forum Administrators
    Replies: 21
    Last Post: 03-20-2012, 08:34 AM
  2. Delete all messages
    By norixam in forum Administrators
    Replies: 2
    Last Post: 01-07-2008, 07:05 AM
  3. Adding Filters using CLI commands
    By pbak in forum Developers
    Replies: 0
    Last Post: 12-07-2006, 06:08 AM
  4. Delete messages from store
    By claros in forum Administrators
    Replies: 2
    Last Post: 10-21-2006, 07:45 PM
  5. Can't delete messages in Outlook Express
    By mond in forum Administrators
    Replies: 2
    Last Post: 10-05-2006, 03:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •