How to empty mailbox in terminal

Hi,
I'm search the command tp empty a large amount of mail in a IMAP/POP mail box via the command line
OS X server 10.4
thanks

man ipurge

Similar Messages

  • Recreate user account in Workgroup Manager, empty mailbox

    We have OS X 10.3.8 Server version. Postfix mail server.
    We have a user/account with email problems and a huge mailbox. He (user: gordon) had over 16000 emails in his mailbox (/var/spool/imap/user/gordon). All other mail users on this server work fine, including newly created user accounts.
    Our solutions was to try and delete all mail from his mailbox via Terminal. This did not seem to decrease the size of his mailbox. Our next idea was to delete this user in Workgroup Manager and then re-created this user. Hoping to created an new mail setup and empty mailbox. This idea failed aswell.
    How does one basically purge an old account/user in Workgroup Manager, and then, recreate that same user name and effectively recreate the user with a new account, including a new/empty mailbox?
      Mac OS X (10.3.8)  

    cyradm is not part of 10.3.x
    To use it you would have to install it first. See here:
    http://www.afp548.com/article.php?story=20040814204411280&query=cyradm
    And then follow the instructions given beforehand.
    Having said that, your issue can be resolved differently. You deleted all mail manually in the file system (not a good idea, but what is done is done). So the mail is actually gone. What you are seing is Cyrus' index. Since you deleted manually the index didn't get updated. To get rid of the problem either reconstruct that users mailbox throgh Server Admin - > Mail or alternatively run:
    sudo -u cyrus reconstruct -r user/gordon (assuming that's the user's name)
    Alex

  • How to empty the spam box on Mail

    How to empty the "Spam box" on Mail (Mavericks) when the function on the menu bar is grey (instead of black)?

    Mail Preferences, Junk Mail. Set it to Move it to the Junk mailbox.
    If you don't have the Junk Mail preferences set to move it to the Junk mailbox, then that item will not be active.
    If you don't have that set, the spam is likely being moved by your email provider.
    If you don't want to change the settings, try selecting all of it in the Junk Mailbox and delete it. That would move it to Trash, I think. However, I don't have any junk email at the moment to try that.

  • In my iTunes on the iPad I've got 95 items that are stuck and I tried swiping them to delete them but it doesn't work dose any one know how to empty the download tab

    In my iTunes on the iPad I've got 95 things that are stuck and I tried swiping them to delete them but it doesn't work dose any one know how to empty the download tab

    Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
    If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
    I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
    What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
    Thanks again,
    Rob

  • How to create mailboxes under mac os x 10.6.4 either using ldapv3 or windows active directory?

    hi,
    i'm working on the mail server of our company. the plan is to implement the built in mail server feature of mac mini OS X 10.6.4 using either ldapv3 or preferably our existing window active directory users.
    i was able to set the open directory and can view the user accounts from AD. my problem is i do not have any clear documentation or manual on how to create mailboxes using either AD accounts or MAC LDAPv3. i already checked the manual of mac os x mail service administration and have found none pertaining to this case.
    i would really appreciate if someone can give me reference on how to do this. as of now im quite desperate because i have a deadline for this project.
    thank you in advance for your help.

    You said, "A 2014 iMac can't run either Snow Leopard or Lion." I know that. What I want to know is how I can install Lion or Snow Leopard on a peripheral hard drive, NOT on my iMac.
    – Larry

  • How to change directory in Terminal (ex. cd System HD)

    hi
    how to change directory in Terminal (ex. cd System HD)
    i wrote cd system hd, which did not work. Terminal understood it as cd system.
    is there some character to write a "space" between words?
    thanks

    You need to escape the spaces with a leading backslash or the shell will give you unexpected results.
    For example to cd to "folder with spaces"
    cd folder\ with\ spaces/
    Also, the bash tab-auto-complete is your friend. Type a character or two and then tab, you'll get the idea when you see the result. If there is more than one possible completion, then hit tab a couple of times quickly and you'll get a list of all of the options.
    hth

  • How can I customize my terminal?[SOLVED]

    I'm using xterm and /bin/zsh, but it looks ugly. It's a white background with a black text. On debian, I use to right click and hit preferences and went from there. But when I right click it just highlights the shell. How can I customize background color, change font, etc?
    http://dwv91.deviantart.com/art/Twily-L … -426541695 How can I get my terminal to look like this? I know the color codes, but I don't know how to actually get there!
    Last edited by BabbyUser (2014-08-28 18:14:20)

    He/she lists everything they are using right under the screenshot:
    Much of the same from my other submission...
    Arch Linux with Awesome WM and custom tile layout. Also using Compton for composition.
    Firefox Nightly (Australis) [v31.0a1] and 4-Chan with my CSS. Using Vimperator for navigation.
    (Firefox CSS can also place an url-bar on top (below the tabs or merged with the tabs on the left) or at the bottom of the browser)
    Terminals (URxvt-256color) showing from left: screenfetch and ncmpcpp + mpd.
    My files can be found at twily.info (files updated for this theme May 17th, 2014)
    The Lemon font and my vol/bat widgets belong to github.com/phallus.
    Wallpaper: http://wallbase.cc/wallpaper/2…
    If I was you, I would go through each thing listed and figure out each one.  Understanding each element is essential.

  • How to empty my icloud-storage?

    Hi,
    I wonder how I empty my storage space in my iCloud account. Or do I need to buy more space?
    //Becs

    Open the iCloud preferences on your computer. Click on the Manage button at the bottom.

  • How to empty the trash? The process end without delete

    I need help on how to empty the trash - it is 48900 items to be deleted and the process ends without deleting anythng.

    OK, I see.  have you checked your "Computer" and see if there's something mounted ?  Do you know what I mean ?  Go to the Finder menu, and click on Go > Computer.  At the bottom there might be something that is blocking the items you can't delete normally.  You need to EJECT whatever is mounted there, before the blocked items can be released.

  • How to empty the trash

    hi
    how to empty the trash, i have try many times but the files still there
    Thanx

    You can't empty the Trash or move a file to the Trash
    Solving Trash Problems
    How To Fix Stubborn Trash and Why it Won't Delete
    Restart with shift key, so you do a Safe Boot and try.
    Safe Boot, Safe Mode
    Boot in Safe Mode
    You don't need Onyx.

  • How to use IIFL trade terminal on Mac book air

    how to use IIFL trade terminal on Mac book air

    If you are referring to downloading and installing https://ttweb.indiainfoline.com/trade/Downloads.aspx it appears that is a Windows program and (only a quick look) I don't see that they offer a Mac version. To install a Windows program on a Mac you would first need to buy and install a copy of Windows (e.g. Windows 8). You would install Windows via Bootcamp Boot Camp 5.1: Frequently asked questions - Apple Support or via 3rd party software such as http://www.parallels.com/products/desktop/

  • How to empty trash in iphoto

    Can anyone tell me how to empty my iphoto trash? I realized recently that my iphoto deleted photos didn't go to the regular desktop trashcan but to the iPhoto trashcan.  I now have 34K items in that trash can.  Everytime I try to go through the empty iphoto trash, the program quits and reboots.  I've tried dragging 10 or so photos to the desktop trash can but that doesn't seem to work either.
    Any ideas?  No wonder my computer is so slow....
    MolzinNe

    Let me repost the method to try:
    Do you use ratings with your photos?  If not then select all of the photos in the trash and Control-click to bringup the contextual menu.  There will be the 5 stars for the ratings.  Select either 5 or 1 to apply that rating to the photos.
    Next create a smart album with the criteria:
    selecting the number of stars you applied to those in the Trash bin.
    Select all of the photos in the Trash bin and drag onto the Events icon above it and the Smart Album will immediately be populated with those photos. 
    Photos can now be selected in batches of about 100 photos at a time and moved to the iPhoto Trash bin with the Command+Option+_Delete key combination. Then empty the Trash bin as usual.  Repeat with groups of about 100 or so photos till they are all deleted.

  • How to empty cache in Safari 6?

    In Safari 6, the "empty cache" command is missing from the Safari menu. Does anyone know how to empty the cache in Safari 6?

    I have the development menu activated and cannot get caches to clear at all. No matter how many times I ask it to. Like it is completely being ignored. Developing web pages and need them to update when requested. Any suggestions?

  • HT2500 how to alphabetize mailboxes (mail folders) in left column of Mail application

    Does anyone know how to how to alphabetize mailboxes (mail folders) in left column of Mail application? It should be easy, but I can't find a way.
    Thanks.

    Hi sanjampet, that didn't work for me.  I disabled my five email accounts, which made the emails dissappear, all mail folders were still visible, I closed the program.  I reopened the program, re-enabled the email accounts, and all the same folders were all still visible - not in alphabetical order, so frustrating.  One would think apple would have a simple button that could be clicked to put mail box folders into order?  Drag and drop is too difficult for me too due to the number of mailboxes.  Any other thoughts?

  • HT1848 I'm trying to sync my ipad mini with itunes and i get an error message '' there is no free space on your ipad mini''..... any ideas on how to empty some space on ipad mini manually? currently i run on 6.0.2

    I'm trying to sync my ipad mini with itunes and i get an error message '' there is no free space on your ipad mini''..... any ideas on how to empty some space on ipad mini manually? currently i run on 6.0.2

    iOS device backups are stored in your iTunes library.
    Move your iTunes library to an external drive.

Maybe you are looking for