Results 1 to 3 of 3

Thread: Automaticaly deleting messages?

  1. #1
    Join Date
    Jan 2007
    Posts
    4
    Rep Power
    8

    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?

  2. #2
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    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 06:34 AM.

  3. #3
    Join Date
    Jan 2007
    Posts
    4
    Rep Power
    8

    Lightbulb

    Oh, WOW!

    Thank you!

Similar Threads

  1. New messages not showing up in outlook
    By bersrker in forum Zimbra Connector for Outlook
    Replies: 4
    Last Post: 01-16-2007, 08:17 AM
  2. Deleting messages via SOAP
    By rafrio in forum Developers
    Replies: 1
    Last Post: 01-09-2007, 01:55 PM
  3. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM
  4. Spam assassain not traiing properly!
    By Mike T in forum Administrators
    Replies: 1
    Last Post: 10-09-2006, 02:34 PM
  5. Deleting Messages from Outlook 2000/2003
    By soxfan in forum Administrators
    Replies: 4
    Last Post: 08-22-2006, 01:56 PM

Posting Permissions

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