Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SOLVED] Recall e-mails sent in error

  1. #1
    Join Date
    Jul 2006
    Location
    ireland
    Posts
    388
    Rep Power
    9

    Question [SOLVED] Recall e-mails sent in error

    we are an .edu & have 2 separate zimbra server one 4 staff & one 4 students.

    a staff member has sent an e-mail in error to ~500 students on the student zimbra, from the staff zimbra.

    Is there an easy way to recall & delete this e-mail
    Last edited by padraig; 09-17-2010 at 02:00 AM. Reason: typo
    Thanks For any replies,
    p.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by padraig View Post
    Is there an easy way to recall & delete this e-mail
    No, that feature currently is not available.

    I suppose the easiest thing to do would be to search the on-disk mailstore for the email and remove them.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jul 2006
    Location
    ireland
    Posts
    388
    Rep Power
    9

    Default

    thanks bill,
    is there a wiki/help on how to how this?
    p.

    >search the on-disk mailstore for the email and remove them
    Last edited by padraig; 09-17-2010 at 04:22 AM.

  4. #4
    Join Date
    Sep 2010
    Posts
    30
    Rep Power
    5

    Default

    ...should be something like

    grep -ril "some-uniquq-email-content" /path/to/mailstore

    Check some of the hits, and then:

    grep -ril "some-known-email-content" /path/to/mailstore | xargs rm

    This will delete any file found by the grep command, so be sure that grep finds the right files.

  5. #5
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    291
    Rep Power
    10

    Default

    whats the impact of just deleting mails off disk like that? Anyone know? Curious to see if that works
    http://www.solutionsfirst.com.au/hosting/zimbra/
    Australia's premier Zimbra Hosting Partner
    Resellers wanted!

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by dave_kempe View Post
    whats the impact of just deleting mails off disk like that? Anyone know? Curious to see if that works
    Yes, it works and there's no impact other than the removal of the message once you delete it.

    There is, of course, the following proviso:

    Quote Originally Posted by Alphaphi View Post
    This will delete any file found by the grep command, so be sure that grep finds the right files.
    You must make sure that you are going to delete the correct email - once it's removed from disk it will be gone completely. A backup first is always prudent.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Jul 2006
    Location
    ireland
    Posts
    388
    Rep Power
    9

    Default

    excellent feedback,
    thanks

  8. #8
    Join Date
    Sep 2010
    Posts
    30
    Rep Power
    5

    Default

    Quote Originally Posted by Alphaphi View Post
    grep -ril "some-uniquq-email-content" /path/to/mailstore
    [...]
    grep -ril "some-known-email-content" /path/to/mailstore | xargs rm
    Urgs... too fast... of course you must use the same pattern here:

    grep -ril "some-unique-email-content" /path/to/mailstore
    [...]
    grep -ril "some-unique-email-content" /path/to/mailstore | xargs rm

    Sorry for that.

  9. #9
    Join Date
    Sep 2010
    Posts
    30
    Rep Power
    5

    Default

    Quote Originally Posted by phoenix View Post
    You must make sure that you are going to delete the correct email - once it's removed from disk it will be gone completely. A backup first is always prudent.
    Even though backups are always a good idea, one could also do something like

    grep -ril "unique-pattern" /path/to/mailstore | while read x; do mv "$x" "/path/to/backup-dir/"; done

    Or, more sophisticated, preserving the whole original path, which should make it easier to restore a certain mail file:

    grep -ril "unique-pattern" /path/to/mailstore | while read x; do mv "$x" "/path/to/backup-dir/""$(echo $x | sed 's_/_-_g')""; done

    (untested, check first if this does the things right!)

    So in both cases you would move the files and not delete them, just in case...

  10. #10
    Join Date
    Jul 2006
    Location
    ireland
    Posts
    388
    Rep Power
    9

    Question remove an e-mail from a single user in a group

    is it possible to remove an e-mail from a single user in a group.

    e.g. if a staff member sends an e-mail to a class list, but a user changes course
    can we remove just one e-mail from the users store?

    it it possible to map the store to user account ?
    Thanks For any replies,
    p.

Similar Threads

  1. Upgrade error from 5.0.16 to 5.0.23
    By tansyuan in forum Installation
    Replies: 0
    Last Post: 06-01-2010, 09:46 PM
  2. Replies: 0
    Last Post: 04-26-2010, 12:17 PM
  3. Mails refused back in error 550 5.7.1
    By Samp in forum Administrators
    Replies: 8
    Last Post: 03-19-2010, 08:20 AM
  4. [SOLVED] Error running mailboxd after script backup
    By ttortosa in forum Administrators
    Replies: 5
    Last Post: 10-22-2008, 01:33 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 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
  •