Results 1 to 3 of 3

Thread: Delete messages from store

  1. #1
    claros's Avatar
    claros is offline Project Contributor
    Join Date
    Mar 2006
    Location
    L'Aquila, ITALIA
    Posts
    59
    Rep Power
    9

    Default Delete messages from store

    Sometimes some phishing messages pass every check and are delivered to my users.
    Actually I can perfrom a grep -R on the store, find messages and substitute the phishing site url with an abouth:blank.
    But I should be able to delete this messages from zimbra store. I don't know what to do with the database, can you help me ?

    Claudio

  2. #2
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default zmmailbox trickery

    Directly editing blobs in the store is generally a bad idea. We're keeping a message size field and a message SHA1 hash field in the database, and making the store inconsistent with the database will eventually get you in trouble. (For instance, the Outlook connector may be very unhappy if you do this.)

    I haven't done what you're describing, but I think I know how to do waht you want. You should be able to use zmmailbox to: authenticate as an administrator, then search for your target string in user mailboxes, then delete the matching messages. Warning: Test your script before actually deleting anything!
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    claros's Avatar
    claros is offline Project Contributor
    Join Date
    Mar 2006
    Location
    L'Aquila, ITALIA
    Posts
    59
    Rep Power
    9

    Default

    Quote Originally Posted by dkarp
    Directly editing blobs in the store is generally a bad idea. We're keeping a message size field and a message SHA1 hash field in the database, and making the store inconsistent with the database will eventually get you in trouble. (For instance, the Outlook connector may be very unhappy if you do this.)

    I haven't done what you're describing, but I think I know how to do waht you want. You should be able to use zmmailbox to: authenticate as an administrator, then search for your target string in user mailboxes, then delete the matching messages. Warning: Test your script before actually deleting anything!
    Thank you for your answare. This is what I was looking for.
    But I can't run zmmailbox aa. I've the following error:

    zmmailbox aa admin@domain.com passwd
    ERROR: service.UNKNOWN_DOCUMENT (unknown document: AuthRequest)

    I've tried a search but found nothing useful... Zimbra version is 4.03 GA

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra Mail Store Question (need to prove something)
    By dlochart in forum Administrators
    Replies: 7
    Last Post: 03-13-2007, 07:19 AM
  2. 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
  3. Spam assassain not traiing properly!
    By Mike T in forum Administrators
    Replies: 1
    Last Post: 10-09-2006, 01:34 PM
  4. Can't delete messages in Outlook Express
    By mond in forum Administrators
    Replies: 2
    Last Post: 10-05-2006, 02:01 AM
  5. Reindexing messages from store
    By gutzeit in forum Installation
    Replies: 1
    Last Post: 11-15-2005, 03:41 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
  •