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 05-12-2011, 12:15 AM
Active Member
 
Posts: 34
Default messages with negative id

Hi all, could you please tell me why some of my messages have negative id?


Code:
zmmailbox -z -m valerio search -l 1000 'before:"01/01/2010"'

257.  -418  conv   Valerio               subject1                          04/08/09 09:37
258.   416  conv   Valerio (2)           subject2                             04/07/09 11:46
Reply With Quote
  #2 (permalink)  
Old 01-22-2012, 04:55 AM
Member
 
Posts: 10
Default

Actually that is a question I used to have until yesterday...

It comes out that all messages listed with zmmailbox command have a negative id.
Those items listed without a negative id are actually conversations, not messages.

So, for instance, if you have for user some listing like:
11023
-11022
-11021
11020

and you want to delete those, you should do

zmmailbox -z -m user dm 11022,11021 (this is deleteMessage)

and

zmmailbox -z -m user dc 11023,11020 (this is deleteConversation)
Reply With Quote
  #3 (permalink)  
Old 01-22-2012, 11:17 PM
Active Member
 
Posts: 34
Default

Great! Thank you!
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.