What's the terminal command to reindex mail?

Hi all!
I have a corrupt POP mailbox (among a dozen or so active accounts I check with mail). Using the "rebuild" command simply loses all but the past few days of messages. Trashing the envelope files in my library file and forcing a reindex has the same effect -- I lose all but a couple of days worth of messages.
I have seen, in pre-Lion postings, references to using this command in terminal to fix a corrupt mailbox:
sqlite3 ~/Library/Mail/Envelope\ Index vacuum;
But I am not sure that the syntax is correct, given that the subdirectories of the ~/Library/Mail folder were changed in Lion.
Does anyone have the correct syntax for this?
Any other help tips and suggestions would also be appreciated. The problem appears to affect only the inbox for one of my many accounts.
Thanks for any help!
Greg

Hi hello
Tell me, you try make a magic triangle with Lion ?
Have you solve your issue ?
Sudo disconfigad -enablesso ? worked for you ??? for me command not found
Thanks for your help

Similar Messages

  • What is the terminal command to list USB devices?

    In Ubuntu Linux the command lsusb lists all devices connected to the usb ports. What is the equivalent command in OS-X? Thanks.

    Linc:
    Thanks. The new thread, if you want to comment on it is:
    Activate/Deactivate USB connected device
    If I am able to deactivate or unattach or disable the driver that is responsible for controlling the usb web cam that I have in my Mac mini, the virtualization program (VBox) would be able to capture it (already configured with the appropriate filter) for my guest OS. Now, I only get a message saying that the camera is busy from a previous request.
    When I run your command, I get no response.

  • What's the terminal command to insert the text that appears when I send mail to Bcc addresses?

    I remember there was a cool add-on to some mail clients like Eudora years back where one could juggle the text that people receive instead of the addresses if you send mail in Bcc... Is there any possibility to change what Apple Mail sends?
    What if, insetad of the usual "undisclosed recipients" I want something else like "omissis" to appear?

    (1) you can't insert a sheet in Pages. Only tables !
    (2) before pasting your table in Pages, you may resize it so that it may fit in a page.
    (3) the users which took time to look in Pages User Guide are aware of a feature described as : Linking Text Boxes.
    It's a good answer to your problem.
    In a Word Processor document, create a text box and paste your table in the new tex box.
    At the bottom of the box you will see a small square with a symbol plus. It's a flag warning you  that the box contents is too large for the box.
    No problem, insert a page break to force the opening of a new page then read carefully the user guide :
    Applying what I highlighted, you will create a new box linked to the first one so that your table will flow in it.
    If it's not sufficient, you may link a third box …
    More, we are allowed to rotate the text boxes so you may edit them a way allowing them to host your landscape table.
    From my user's point of view, it's absolutely intuitive.
    Yvan KOENIG (VALLAURIS, France) dimanche 26 juin 2011 21:29:56
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • What are the terminal commands to list all plugins, extensions, etc?

    I remember a while ago reading a thread on diagnosing kernel panics and such, where someone listed a number of commands (I think there were four separate terminal commands) which produced lists of plugins, daemons, background enhancers, extensions etc which could sap resources or drive up temperature without necessarily showing up in activity monitor or anything like that.
    Anyone know what these commands are? I'm having some serious overheating problems at the moment when doing nothing but for instance watching a youtube video with no other processes running so I'd like to get these dumps and see if there's anything installed which could be causing trouble.

    Check this out : http://helpx.adobe.com/story/help/keyboard-shortcuts.html

  • What Is The Terminal Command For PRAM & SMC Reset?

    Hi Folks - Cant get my Macbook Pro to shut down (instead it does a re-start) thus the key combination for these re-sets doesnt seem to function (no chimes). I saw in another thread a terminal command entry "sudo nvram boot-args=”-p -r” but I also saw it mentioned that entering that casued the following to pop-up "Note that resetting the PRAM will wipe out the contents of the boot-args environment variable, which means the command would need to be reissued each startup." Whats with "reissued each startup"? Also would like a an SMC re-set command. THANKS in advance!

    I dont know of a terminal command but here is how to reset the SMC:
    Resetting the System Management Controller (SMC)
    Resetting the SMC on Mac portables with a battery you can remove
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery (to remove the battery - click here: MacBook or MacBook Pro).
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • What is the terminal command to open sound preferences in Mac Snow Leopard

    Hi
    I want to know what is the command to open sound preferences dialog from command prompt.
    short key for doing this is option key + F12. But I am looking for somehting I can enter in terminal to open sound preferences.

    Get under the hood with Command Line and the Terminal. Unix forum is here for fast answer:
    http://discussions.apple.com/forum.jspa?forumID=735

  • What is the Terminal command to determine whether booted in 32 or 64 bit mode?

    I understand some newer computers are using the 64 bit kernel by default: http://support.apple.com/kb/HT3770
    How do I determine via the command line whether I'm booted in 32 bit mode or 64 bit mode?

    To make your Mac always start up 64 bit  the only thing necessary is to alter one line of a configuration file. You can do that by opening the Terminal and entering:
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot 'Kernel Flags' 'arch=x86_64'
    To return to 32 bit mode, you would repeat the command but enter an empty string, which would just be the single quotes (where arch=x86_64 is) with nothing in between.
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot 'Kernel Flags' ''

  • What does the Archive command do in Mail.app?

    Can someone explain the use of the "Archive" command in Mail>Mailbox>Archive (CMD+'A'). I see the Archive Folder in my IMAP list of items in Mailboxes and I thought to use this folder and the Archive command to store old mail so as to keep my Inbox clear. However I have run into trouble with this and somehow the folders are now badly out of sync. I now get this when trying to move/add messages to the Archive folder.
    Note that the command on the server says "COPY" not move. I think that this is a key to the problem.
    Questions:
    Can I do this instead on the Server Side?
    How will Mail sync with this folder?
    Can I use other folders to copy even older messages to?
    Where can I find advice about managing server-side messages and Mail?

    Alberto Ravasio wrote:
    I didn't mean to use Archive on the local folder. I did mean move from server side to your local computer. Dragging a message is equivalent to move it.
    FWIW, Alberto,  in playing around with the server side, it seems like the best, most immediate way to make changes to folders there is on the web portal for the server.
    I made the changes to the folders because my IMAP server imposes a 25,000 message limit to each server-side mailbox 'folder'. I finally got this from my Server provider's help desk (GoDaddy). So I set up and MOVED the email messages from the ARCHIVE folder to these longer term folders. Call me weird but I want to be able to access these folders from any device, if needed, which is the reason to have them on the server in the first place. Therefore (until I ditch them) the Sent + Inbox folders are 'archived' to these folders by year.
    The current year's messages are 'archived' to the ARCHIVE folder, also found on the server. There is NO LOCAL Archive folder for messages in Mail.
    The problem is that Mail.app version 7.3 (build 1878.6) is VERY BAD at dealing with (these or any) folders resident on the server. Other versions of Mail may differ in their responses to server folders and message contents. The problems in this version that I found and identified so far are:
    No sync with server folders.
    Archive command copies but doesn't move messages appropriately from Inbox to Archive using the command "Archive" (Mail>Message>Archive).
    Old archived messages still stay in Inbox and do not sync with the condition of the Inbox on the IMAP server.
    If you actually compared your messages and can confirm or provide a workaround to these issues in the same version  of Mail, please let me know. Thanks,
    Henry

  • What is the terminal command in OS X SL for enabling my touchpad?

    When I boot into the install disc I can use the terminal, but not the touchpad. I can't get past the choosing of a hard disk w/o using my touchpad. Thanks!

    If your touchpad is not working in the installer, it is Broke!
    The Installer software is an incorruptible, "one size fits all" software, provided you are using an Installer appropriate for your Mac.
    Installer Software older than the version that was on your Mac when it was new will not work.
    Installer Software for a different Mac will not work because it will not contain drivers for your Hardware.

  • What is the terminal command to rename a folder?

    If someone could tell me this it would awesome.
    thx to all replies

    Use the mv command with the current and desired paths supplied. For example:
    mv ~/Desktop/34 ~/Desktop/35
    for a folder on the desktop.
    (32999)

  • What's the terminal command to stop and start LDAP?

    I'm trying to intergate my companies AD kerberose with the services hosted on a Lion Server in a golden triangle setup.
    Here's what I've tried so far.
    1. Bind to AD host.
    2. sudo dsconfigad -enablesso
    3. Make a Opendirectory Master
    4. sudo kinit list, all listed services should point to AD KDC..
    Am I missing something?
    I've tried other way as well, but it always shuts down LDAP.
    1. Bind to AD host.
    2. Make a Opendirectory master
    4. Sudo disconfigad - enablesso
    5. sudo sso_util remove -k -a username -p password -r NAME.OF.KERBEROSREALM
    (here use the OD diradmin and PW)
    6.. reboot
    Help please..!

    Hi hello
    Tell me, you try make a magic triangle with Lion ?
    Have you solve your issue ?
    Sudo disconfigad -enablesso ? worked for you ??? for me command not found
    Thanks for your help

  • What's The Terminal Command To Find Apache Log Files?

    I can't find it anywhere.
    Thank you.

    It looks like either:
    $ grep ErrorLog /private/etc/apache2/httpd.conf
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    ErrorLog "/private/var/log/apache2/error_log"
    or
    /usr/sbin/apachectl -V | egrep 'HTTPD_ROOT|ERRORLOG'
    -D HTTPD_ROOT="/usr"
    -D DEFAULTERRORLOG="logs/errorlog"
    Though red_menace probably knows better that I.
    Message was edited by: Nils C. Anderson

  • What are all the 'Terminal' Commands?

    I use Terminal for fun with the commands and the killall argument command but i really want to know all the terminal commands so that i am not that bored. I always use the commands i know but they are getting old so please help.
    PLEASE!!!!!!!!!!!!
    Thanks,
    Andrew.

    The commands are be scattered around the hd.  A command is any file with the execution bit set on.
    The best way to go is to go to your local library and find any book on unix or bash.  There will be some difference between what you read and what is available in X.  the man command should key you in on the differences.
    A book on Bash would be helpful.
    Here is the book that I use:
    Mac OS X Tiger in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly))
    This is also good & was in my local library.
    Practical Guide to Linux Commands, Editors, and Shell Programming, A (2nd Edition) [Paperback] the book Don't be fooled by the name, the second addition includes Mac OS X.  
    Advanced Bash Script. premise: Examples for everything. I have revision 6.2.
    tldp.org/LDP/abs/abs-guide.pdf
    BASH Programming - Introduction HOW-TO
    http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html#toc14
    Apple administrative commands
    http://manuals.info.apple.com/en_US/IntroCommandLine_v10.6.pdf
    Apple Shell Scripting Primer
    https://developer.apple.com/library/mac/documentation/OpenSource/Conceptual/Shel lScripting/ShellScripting.pdf
    Check you local library. Any book on Bash syntax will do. There will be minor differences but they will not be great.
    Sometimes you can get a good deal on used books in Amazon.
    Bash Cookbook, Carol Albing, JP Vossen & Cameron Newham (O'Reilly)

  • #30 | can i run the Terminal Command to stop Snapshots with no problems?

    i am somewhat surprised to find out that the 75 GB of "Backups" that are taking up space on my MBP may be due to some "feature" in Mavericks or the new OS's or whatever and i have had to MOVE all my data off my laptop as a consequence of this over the last two months because i have no more space on my Hard Drive.
    is it legit and OK to follow the terminal commands in #30 without having any problems?
    i am on a mid 2009 MBP running Mavericks and i have a 2 TB Time Capsule that i am wirelessly backing up my data.
    as some kind of sadistic test in advance of running this terminal command - can i plug my laptop into the Time Capsule, unplug the laptop from the time capsule, restart and see how much space got recaptured on my HD for my data?
    i mean, well - i must be missing something but i mean i am hoping i can get this to stop so i can get my data back on my laptop. i'm walking around with an external HD of all my Mac Pro information just so i can get work done when i go to a coffee shop or something.

    for those suffering through this:
    https://discussions.apple.com/message/24878591#24878591
    In Terminal:
         sudo tmutil disablelocal
    Turn off local Time Machine snapshots and trigger automatic cleanup of accumulated local snapshot data. Requires root privileges.
    (use sudo tmutil enablelocal to turn back on)
    this got rid of my 75 GB backup file (!!) and now i am going to move my data back to my laptop...
    not sure if there is an apple tech article to link to regarding this issue but it would be good to post if there is one.

  • What is the key command to open Audition in Logic 8?

    The little play icon in the bin, sample editor, etc.
    The one for auditioning things.
    Doesn't work for me. The only way I can get, for example, a playback from cursor position in the sample editor--is to manually click on the little green play icon with the mouse. Same with the bin, loops, and so on.
    For many years I've had key commands to do this kind of thing, but it is broken for me since Logic 8. What is the key command for this called? I've tried disabling the space bar as a key command, and I've also tried re-enabling it for "play or stop". Although in the latter case, that should still function the way it does in the arrange window.
    Actually, I've tried a lot of things and I'm completely out of ideas.
    I posted on this subject several months ago and it remains unresolved. For the life of me I cannot get the audition button to work via any key command.
    Help?
    TIA
    Message was edited by: danseq

    Hi
    If you imported your key commands from version 7 there can be problems in version 8.
    Try using one of the key command presets from version 8.
    HTH
    CCT

Maybe you are looking for

  • Is it possible to boot from a USB 2.0 drive?

    I use CCC to clone my main drive to external drives. I have used these to boot using either Firewire 400 or Firewire 800. Will a USB 2.0 drive also work as a boot drive? Thanks.

  • Problem to receive my mails in iMail

    Hi, I have a problem by receiving my mails on iMail on my MacBook Pro (OS X Lion). I have two different mail accounts, first iCloud and an account by an other provider. Often iMail can't receive my mail on both accounts, somtimes just iCloud and somt

  • Passing output to a method, I'm lost!

    I want to put all of my "output" including the returns on the three Temp functions in my method DisplayTemperatures, but I'm stuck and don't know how to do this. Please help import javax.swing.*; import java.text.DecimalFormat; public class Temp {   

  • HT4847 Where do I find information about my mobileme account paid subscription?

    Moving from Mobileme to iCloud has been a waste of valuable time. I need to transfer my iWeb homepage from Mobileme to ... somewhere Now, I cannot find information anywhere about my paid subscription. i need to pay now for a web host, since I cannot

  • Error when connection to SQL2005 from MX7

    I am trying to connect to a Microsoft SQL2005 database from cfadmin on MX7. Seems pretty straightforward as it looks set up like the cf5. However, I keep getting the following error: "Connection verification failed for data source: ProfDev java.sql.S