+ Post New Thread
Results 1 to 7 of 7
Cloud Services Thread, Filter and Remove thousands of emails from an Office365 mailbox in Technical; A colleague went on holiday to China, whilst they were there they signed into a public computer to check their ...
  1. #1
    DaveMurphy's Avatar
    Join Date
    Aug 2009
    Location
    Manchester
    Posts
    210
    Thank Post
    12
    Thanked 9 Times in 8 Posts
    Rep Power
    13

    Filter and Remove thousands of emails from an Office365 mailbox

    A colleague went on holiday to China, whilst they were there they signed into a public computer to check their college emails. (facepalm)

    When they got home their college email account had been spammed. (you can see where I'm going with this)

    The account had 900,000 emails in the inbox of failed delivery receipts from the spam trying to send emails from the account and failing.

    Since then the spam has stopped coming into the mailbox however I need to now remove the emails that are already on the account!

    I've added the mailbox to Outlook 2013 and created several rules to filter the emails from the inbox and move them into the deleted items folder - the rule has constantly been running day and night for the past 2 weeks.

    I'm now on 65,9572 emails, it's deleted 27k in the last 24 hours.

    Since we're on Office365 for Education is there any other way we can have removed or remove the emails faster?

    Abandoning the mailbox is a no go as well.

  2. #2
    Sam_Brown's Avatar
    Join Date
    Sep 2009
    Location
    Northampton
    Posts
    574
    Thank Post
    97
    Thanked 40 Times in 38 Posts
    Rep Power
    18
    Run a rule to move everything before the spam date to a folder. Copy folder to new mailbox. Delete spam mail box and recreate and copy back in the old stuff.

    Would that work?

  3. #3

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,068
    Thank Post
    160
    Thanked 925 Times in 727 Posts
    Blog Entries
    3
    Rep Power
    273
    do the NDRs come from a single e-mail address? or are they all unique/different?

    I suppose you could do a search for all e-mails that contain a specific word, and they maybe place the rule upon that to then send to deleted items, and then delete them from there. It might be easier to do this via Outlook Client as oppose to OWA.

    I'm just thinking out loud, let me have a think about this properly tomorrow to see if they maybe another way to get through this.

    James.

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,054
    Thank Post
    888
    Thanked 1,729 Times in 1,492 Posts
    Blog Entries
    12
    Rep Power
    454
    Quote Originally Posted by EduTech View Post
    do the NDRs come from a single e-mail address? or are they all unique/different?

    I suppose you could do a search for all e-mails that contain a specific word, and they maybe place the rule upon that to then send to deleted items, and then delete them from there. It might be easier to do this via Outlook Client as oppose to OWA.

    I'm just thinking out loud, let me have a think about this properly tomorrow to see if they maybe another way to get through this.

    James.
    They have done that but its taking ages.

  5. #5
    DaveMurphy's Avatar
    Join Date
    Aug 2009
    Location
    Manchester
    Posts
    210
    Thank Post
    12
    Thanked 9 Times in 8 Posts
    Rep Power
    13
    Quote Originally Posted by EduTech View Post
    do the NDRs come from a single e-mail address? or are they all unique/different?

    I suppose you could do a search for all e-mails that contain a specific word, and they maybe place the rule upon that to then send to deleted items, and then delete them from there. It might be easier to do this via Outlook Client as oppose to OWA.

    I'm just thinking out loud, let me have a think about this properly tomorrow to see if they maybe another way to get through this.

    James.
    Since the emails aren't from one specific sender; the rule is on Outlook 13 running constant moving the emails to the deleted items folder.

    The rules so far this morning have moved 10 thousand emails to the deleted folder. 648363 left!

    - - - Updated - - -

    Quote Originally Posted by Sam_Brown View Post
    Run a rule to move everything before the spam date to a folder. Copy folder to new mailbox. Delete spam mail box and recreate and copy back in the old stuff.

    Would that work?
    There's simply too many emails in the account prior to this for us to do this, it was my first thought.

  6. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,054
    Thank Post
    888
    Thanked 1,729 Times in 1,492 Posts
    Blog Entries
    12
    Rep Power
    454
    As a lesson i think you should make the user sort this for themselves

  7. #7

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,068
    Thank Post
    160
    Thanked 925 Times in 727 Posts
    Blog Entries
    3
    Rep Power
    273
    Quote Originally Posted by FN-GM View Post
    They have done that but its taking ages.
    ah yeah! it was late #nosleep!

    In terms of doing this quicker, you can try opening a support request and speaking to one of the Exchange Online engineers they maybe able to do something although it's unlikely because you want mail to be moved from someone's mailbox and in the interests of privacy etc. I would say the answer would be no, and there is no way via powershell that i know off for you as the global administrator to do such.

    It might just have to be a long wait..

    James.

  8. Thanks to EduTech from:

    FN-GM (27th July 2014)

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 19
    Last Post: 5th September 2013, 02:32 PM
  2. Extract Files etc out of or from an MSI
    By mac_shinobi in forum General Chat
    Replies: 6
    Last Post: 5th April 2013, 12:41 PM
  3. Replies: 4
    Last Post: 21st September 2010, 02:45 PM
  4. removing an email from SBS
    By IA76 in forum Windows
    Replies: 3
    Last Post: 29th July 2008, 08:36 AM

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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