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

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 02-01-2008, 10:28 PM
Junior Member
 
Posts: 9
Default Mass update of "Received Date"

After importing thousands of messages from a pop server, they display in Zimbra mail with a "Received Date" set to the date they were imported, rather than the original received date.

I'm sure there was a better way to import the messages that would have preserved the info (IMAP wasn't an option), but there it is.

So I have a need to alter the "Received Date" displayed in Zimbra Mail to match the sent date on the messages (which will be close enough). I assume this means a sql update script. But I'm having trouble guessing what columns in which tables need to be tweaked.

Any help appreciated!
Reply With Quote
  #2 (permalink)  
Old 02-02-2008, 06:11 AM
Zimbra Employee
 
Posts: 1,434
Default

You need to update the DATE column of the the appropriate MBOXGROUPnnn.MAIL_ITEM table. Value is UNIX time (seconds since the epoch).

Note that the message files themselves are stored on the filesystem, not in the database.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.