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

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 01-16-2007, 04:30 AM
New Member
 
Posts: 4
Default Automaticaly deleting messages?

I am preparing a test deployment of zimbra for a small (less than 1000 employees) company, and so far, I see all that I need in the documentation.
Setting up authentication with a ADS server went painlessly, and I think I have a handle on how to auto-create accounts as soon as they appear in ADS.

However, I have a requirement that I don't know how to fulfill. I need to be able to automatically delete all messages in the database older than a set number of days. If the storage had been an ordinary courier or other IMAP server, I could run a simple find over it and remove all the files older than the limit.

However with the single-instance storage that zimbra uses, that would probably cause all kinds of trouble.

If we had access to all the user's passwords, I could write a script using Net::IMAPClient, or the like. However, since the authentication comes from ADS (another mandate), that's just not feasible.

Can anybody give me pointers on where to start?
Reply With Quote
  #2 (permalink)  
Old 01-16-2007, 05:31 AM
Moderator
 
Posts: 2,207
Default

Hello, welcome to the forum.

Quote:
Originally Posted by matija View Post
However, I have a requirement that I don't know how to fulfill. I need to be able to automatically delete all messages in the database older than a set number of days.
There's a value in the COS for that.

It's "Email message lifetime", check here : http://wiki.zimbra.com/index.php?tit...ilbox_Features

The zmprov value is "zimbraMailMessageLifetime" (0 in the default COS).

Last edited by Klug; 01-16-2007 at 05:34 AM..
Reply With Quote
  #3 (permalink)  
Old 01-16-2007, 07:36 AM
New Member
 
Posts: 4
Lightbulb

Oh, WOW!

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.