How can I delete all the email from a user's account?

I have a user account with a huge amount of mail (around 50K messages) that Apple Mail can't deal with... it constantly hangs and/or crashes whether I use POP or IMAP to try and delete all the mail from the client.
How can I delete all the mail from the mailbox on the server? I don't want to delete the account entirely, I just want to empty everything out of it.
Thanks!

sudo -u _cyrus /usr/bin/cyrus/bin/ipurge -d 0 -f user/mailboxname
HTH,
Alex

Similar Messages

  • How can I delete all the email from a user's account? (Update for 10.6)

    When I tried this on OS X Server 10.6:
    http://discussions.apple.com/thread.jspa?threadID=2317213&tstart=0
    I got an error about "configdirectory" option not being specified in configuration file... anyone know what this means and how to fix it?
    Thanks!

    Hi
    If I've understood you correctly and if you've used that exact same command It's not surprising it won't work. Perhaps you've forgotten but Cyrus is not part of 10.6 Server. It was replaced with Dovecot. I've not used 10.6 Mail Services yet so I'm not certain but I think deleting the User deletes the mailbox?
    Perhaps someone who is can verify?
    Tony

  • HT204085 How can we delete all the data from iphone keychain of all the apps?

    Is it possible to delete all the data from keychain? Cleaning keychain, which delete all the item stored in keychain of all the applications on iDevices. Programatically can we do it?

    Depends whether you have selected Lock when Full or Wrap when Full for the Buffer Mode. If you have selected Lock When Full, the capture will stop when the the buffer is full. You can then Save the Buffer and download it in the form of sniffer file and start you capture again. This will over write the old data. If you have selected Wrap when Full, then it will continue the capture when the buffer is full. The oldest packets are discarded as new packets arrive.

  • How can I delete all the music from my iPhone and reinstall it?

    I am trying to delete all the music from my iPhone 5 and reinstall it.  The names of some of the albums and the artists did not import correctly from my CDs.  I went back into iTunes and made corrections, synced my phone and no changes were made to the music on my phone.  And two of the albums (I only have albums, not individual songs) are duplicated on the phone, though they are not in my iTunes library. 
    I have gone into iTunes, selected the device at the top right corner, selected all the music that showed up in the window - gone to the Edit menu, selected "all" and then "delete."  The list of tracks disappears from the device list.  I then synced the phone again, and the albums are still on the phone.  What am I missing, please?  I've even shut the phone down and restarted it, synced it again, but nothing changes. 
    Help, please?

    Follow the instructions here or here; the first set of instructions may require a power source other than a computer's USB port, so you should have one of these before proceeding. Your iPod is a fourth generation model.
    (19638)

  • How can i delete all the emails that are downloaded on to my phone

    How can I delete the emails that are downloaded to my phone with out doing it one (or one page or so) at a time?

    You cant. Sorry

  • How can I delete all my email from my outlook account without deleting the account?

    I am trying to delete the many emails from my outlook account which I can bring up on my ipad mini.  I want to keep the outlook email on the ipad.  So far all I have been able to do is bring up the email list, touch edit, then touch each email then move to trash.  I have a lot of email and would like to delete them all at once.  Thanks for any assistance!

    The Apple instructions state:
    Edit a mailbox.
    While viewing a list of messages, tap Edit. Select certain messages or tap Mark All, then:
    Tap Mark to Flag, Mark as Read or Move to Junk
    Tap Move to move selected messages into a mailbox
    Tap Trash to move them to the trash
    If you make a mistake, shake iPhone immediately to undo.
    Unfortunately, the MOVE and the Trash buttons never activate ... is there a fix for this or is this an oversight?

  • How do I delete all the emails from the inbox of my ipod touch?

    As a result of my lack of management, I now have 1500 emails in the inbox of my ipod Touch. I know how do delete them using "Edit", selecting each email and then deleting, but I would like to delete them all, in one action. How do I do this, please?

    There doesn't seem to be an easy way to do it. and there should be.
    Try this, I never have but it should work.
    on your touch go to
    1 Settings
    2 Mail, Contacts, Calendars
    3 select your email account ( the one with 1500 emails)
    4. scroll down and select Advanced
    5. select Remove
    6. select After one day  ( the default is never)
    tomorrow your 1500 emails should be gone. any new emails should be there.
    You may want to keep the setting at one day, one week, one month or never. BUT you should probably cleanup and delete some of those 1500 old emails.

  • How can I delete all the songs from my iPhone 5s.

    The software is up to date so its not that. I have also turned off the 'show all' option and there are still tracks left. It won't let me drag the songs sideways to delete, and when I connect the phone on my iTunes and click un-sync it from my music it STILL doesn't remove all of it (despite a message saying this will remove all songs and playlists- rubbish).
    Hey Apple your new itunes is awful. Any solutions would be appreciated.

    Go to your Settings.
    *General
    *Usage
    then find your music, swipe over it from right to left. "Delete" option will come and and just press.
    Ta da..  Just managed myself so I am very happy/proud
    Asli

  • How can i delete all the music from my ipod

    i recently purchases an ipod from a friend and it has alot of music on it that i realy dont want. how do i go about deleting them? im not sure what generation it is but it isn't color and it does have the click wheel. it is a 20GB. it says it is version 3.1.1

    Follow the instructions here or here; the first set of instructions may require a power source other than a computer's USB port, so you should have one of these before proceeding. Your iPod is a fourth generation model.
    (19638)

  • How can I delete all my music from my iPhone 4s

    How can I delete all the music from my iPhone?

    I finally went to Apple Care tech support (the best!) for help.
    Plug your phone into the computer.
    I-Tunes should open.
    Toward the top left of the page, click on the small I-Phone icon.
    Select Music in the sidebar.
    In the right window, your music should appear.
    De-select what you don't want, then click Sync.
    Voila.
    I am running Yosemite 10.1.1
    I-Phone 4S  8.1

  • How can I delete all the files in the Adobe CS4 Master Collection from my machine?

    How can I delete all the files in the Adobe CS4 Master Collection from my machine. I have tried Control Panel but it will not do anything, there are no error messages, it is like as if it is ignoring my instruction. Why should it be so difficult to delete programs one does not want. Any ideas please.

    Moved from Cloud forum to Downloading, Installing forum
    Try running the Adobe Cleaner Tool
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • How can I delete groups of emails from my gmail account?

    How can I delete groups of emails from my gmail account?

    Sign in to gMail web mail client > tick the boxes > click the trash can
    OR you could tell us what OS X version you have and what mail client you are using

  • How can you delete all the e mail at one time instead of one at a time?

    How can you delete all the e mail at one time instead of one at a time?

    you'd have to do it from the computer,

  • How do I erase all the emails from my iPad in one or two clicks?

    How do I erase all the emails from my iPad in just a few clicks?

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • How do I delete all the contacts from my iPhone 3?

    How do I delete all the contacts from my old iPhone 3 without having to do each one individually?

    If you've already deleted "everything else"...then plug your phone into a power source and: Settings>General>Reset>Erase All Content & Settings.
    Make sure you plug into a power source first...not your computer...as on an iPhone 3G, this can take some time. When finished, all data will be gone.

Maybe you are looking for

  • Error Messages: "There is no disk in drive..." and "Cannot Sync (-124)

    Hello everybody, Kind of a unique case, but problems started for me when I upgraded to Itunes 8 on my new Toshiba Netbook which runs Windows XP. Seems like everytime I open Itunes and insert my ipod nano (4th gen), I get a Windows error message that

  • DV2270US Webcam Issues

    I have a DV2270US, and I can't get the integrated webcam to work. I tried to uninstall it and that failed, so I attempted to do it manually by removing the program folder, removing registry keys, etc. Now everytime I try to run the installer, I get a

  • Oracle 9 startup and shutdown

    i have installed oracle9. there is not Svrmgrl file in Bin folder as like Oracle 8 and 8i. how i start and shut down databse in oracle 9.

  • OAM Webgate 10.1.4.2 BP7 installation on RHEL5 2.6.18-92.el5 x86_64 ?

    Hello, Is it possible to install OAM Webgate 10.1.4.2.0 Bundle Patch 7 on Linux RHEL5 X86_64 (2.6.12-92.el5 x86_64 ?. If yes what is the procedure to follow? The "Oracle Identity Management 10g Release 3 (10.1.4.x) Certification Matrix .xls" claims i

  • Profile for x86

    Hi I tried to create a profile for an x86 pc to jumpstart. But when I run "check", I get an error message. My sparc-profiles are working. The only difference between those profiles is the partitions: fdisk c1t0d0s0 4000 / fdisk c1t0d0s1 256 /swap fdi