How to remove mails (and attachments) permanently?

Hi!
I just realized my Archive.mbox (~/Library/Mail/V2/Mailboxes) is quite big (8.5GB) and I decided to remove old mails with large attachments.
As I use GMail account via POP3, first I removed mails from the Google account and I freed up about 1.5GB extra space. Later, I searched for mails with attachments in Mail.app, then sorted then and started to remove and emptied the trash. This operation was quite weird as some of them where moved to the Trash folder, some not.
As I was controlling the space of the Mailboxes folder this is what I noticed:
- Archive.mbox - the size of the mbox didn't change (anyone know why?)
- Deleted Messages.mbox increases while removing another mails then decreased while wiping it out (this is what I expected)
In summary, I removed a lot of mails and didn't free up ANY space! Does anyone know how to do it properly?
Also, while googling I found out about "Mail Downloads" folder which is moved from Library to ~/Library/Containers/com.apple.mail/Data/Library/Mail Downloads. As I set "Remove unedited downloads" to "When Mail Quits" can I simply remove all subdirs from this dictionary to save some space? This folder is only used for copy of attachments, right?
Thanks for anwers,
Bart

Each IMAP account it's own Archive folder. POP accounts all share the same Archive folder.
I removed a POP account in Mail but the archive messages did not delete. You would need to move them out of the Archive folder then trash to remove if you have archived other POP account messages. However, if it's only the one account, you can manually delete this folder in the User's Library then rebuild the Mail index.
Quit Mail
Go to the User's Library folder. This folder is hidden by default. To unhide: Select the Finder in the Dock. Under Go in the Menu bar > hold down the Option key and you’ll see the Library.
Scroll to Mail folder.
Mailboxes folder stores the "On My Mac" messages. IMAP accounts store it's Archive folder in the account's folder.
In Mailboxes you'll find the Archive folder. Delete.
In the MailData folder, delete the 3 files with envelope in the name.
Open Mail and it will reindex your messages.
Let me know if this helps.

Similar Messages

  • How do I clear Mail and Attachments?

    My Ipad2  says I'm low on storage and goto usage to manage it.
    I have a number of Apps but it says my mail and attachments is 3.6GB. I have no mail files at the moments, all mailboxes are empty. How do I remove these mail and attachments? Where are they?  version 8.0.2
    Vern C

    Settings/safari/clear history;clear cookies and data

  • How to remove bullets and spacing for url links in the Related Links iview?

    I tried to look for a property that I can edit the look-n-feel of the url links in the Related Link iView using "Theme Editor".
    All I need is to remove the bullets and increase some vertical spacing between the links.
    Currently, it looks like this:
    URL iView A
    URL Iview B
    I go through the whole section of Related Links properties, none of them seems to do what I want.
    Here are the list of properties in Related Link section (of Navigation Panel):
    Link Color
    Text Decoration of Link
    Hover Color
    Text Decoration of Hovered Link
    Initially, I thought "Text Decoration of Link" should be the right property I should look at. But there are a drop-down with 5 options: None, Underline, Blinking, Overline and Line-Through, which really can't achieve what I want.
    Thanks for advice.
    Kent
    Post with Diagram Illustration:
    <a href="http://sapnetweaverforum.blogspot.com/2006/11/how-to-remove-bullets-and-spacing-for.html">How to remove bullets and spacing for url links in the Related Links iview?</a>
    Message was edited by: Kent C.

    Hi, Kai.
    I checked the Related iView properties (URL Template), I don't see what layoutset it is really using. I am not sure, is that a layout set apply to the Related Link Iview?
    For the regular KM iView, I will see what Layout Set I want to apply, then I can go and change the properties (of layout coontroller, collection renderer & resource renderer)you mentioned. But for this Related Link iView, I really don't know. I guess it may be in the code itself.
    If there is a layout set for Related Link iView (or the place to apply layout set to it), can you point to me which one is that? (I did a search through the layout set names, I only find the AppQuicklinkExplorer (I used this for Dynamic Nav. Link iView before), if I can aply this layout set to Related Link iView, my problem will be solved.)
    Thanks for help.
    Kent

  • HT4099 How to change it and keep permanent?

    I have two accounts and changing between them changes Login panel back to US Layout. I would like to keep Colemak layout all the time. How to change it and keep permanent?

    I have this problem too. Any solutions?

  • How to remove mail account in mail in windows 8?

    I said is the windows store mail app. how to remove an account in it?
    On the other hand, I also don't know how to ADD a second acccount in Mail.

    Thanks for that!  I run a blazing fast laptop (ASUS ZenBook UX51) yet the Charm Bar takes forever to load and sometimes I need several attempts.  So I've blocked the entire UI by using Start 8 and never go to the Win8 UI except for Mail.  This
    issue with GMail hanging out there without connecting, coupled with the MS Live ID policy of never allowing you to ever reuse a password pretty much kept me away from Windows for over a month. I use Linux for all of my telephony and speech recognition consulting
    work.
    MS Live ID now has a pwd that I have on a Post It Note on my desk (like millions who are forced to use MS Live).  Some security policies do not make sense when weighed against the unintended consequences of extremely tight policies.  MSoft sadly
    has never listened to security experts who also are user interface experts with understanding of psychology. <<<Not me, but I work with a few of them and boy they flame MS about security issues with end users!
    I had a couple of minutes this morning, so I found this post.  I appreciate the time you spent posting the instructions.  I removed GMail and am considering removing the other accounts too since they are now covered by the very insecure MS Live
    ID (My password is on my desk.....)
    IMHO, MSoft should add in another UI control within the mail app to do this. Perhaps if only a visible link. Classically there have been at least three ways to accomplish an action in Windows.  By limiting it to just one that is optimized for the less
    than optimized UI touch, MSoft is making it difficult for end user.

  • How to remove folder and leaf icons from a tree

    Hi,
    I know how to remove when we have a mx component i.e.,
    <mx:Tree folderOpenIcon={null} ...../> similarly for
    closed and default leaf icon.
    But how do i achieve this from an action script like say i
    have,
    var tree:Tree = new Tree();
    tree.setFolderOpenIcon(null); ///is there something like this
    or any other alternative.
    Please advice.
    Thanks,
    Lucky

    the folderOpenIcon is a style so you have to set it with the
    setStyle method
    try:
    tree.setStyle("folderOpenIcon",null);

  • How to reinstall mail and restore preferences

    Mail is going crazy on my MBP and MP. I am on IMAP and the spam functions on both my mac won't work. I have tried a restore and nothing will change. I have some rules and preferences that I would like to keep. How do I uninstall mail and do a clean reinstall? I have app cleaner. I also want to reload my junk mail rules and signatures.
    Cheers.

    "Mail is going crazy," is not a very descriptive explanation of your issues. You should provide some details, i.e, what mail service provider are you sing, what error messages are you getting, are you using Mail's junk filtering or a program like SpamSieve, have you tried deleting the Mail accounts and adding them back?
    In any case, don't delete the Mail app, unless you want to reinstall Mavericks, the only way to get it back.

  • How to restore MAIL and ability to update software

    By accident, I erased all website data. Now no MAIL and no updates.

    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads. Recovery software usually provide trial versions that enable you to determine if the software would help before actually paying for it. Beyond this or if the drive has completely failed, then you would need to send the drive to a recovery service which is very expensive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.
    Recover Files in The Trash
    If you simply put files in the Trash you can restore them by opening the Trash (left-click on the Trash icon) and drag the files from the Trash to your Desktop or other desired location.  OS X also provides a short-cut to undo the last item moved to the Trash -press COMMAND-Z.
    If you empty the Trash the files are gone. If a program does an immediate delete rather than moving files to the Trash, then the files are gone.  Recovery is possible but you must not allow any additional writes to the hard drive - shut it down. When files are deleted only the directory entries, not the files themselves, is modified. The space occupied by the files has been returned to the system as available for storage, but the files are still on the drive. Writing to the drive will then eventually overwrite the space once occupied by the deleted files in which case the files are lost permanently. Also if you save a file over an existing file of the same name, then the old file is overwritten and cannot be recovered.

  • How to restore Mail and Safari from TM

    Here's the background... I posed this question earlier today...
    Just got my daughter a new 2.4GHz/160GB HDD/Wht Macbook for college. when she was running the initial setup for User/Account/Shortcut name she input her email user name as her shortcut account name (the name that appears in Finder under Places with the house icon).
    Question is - can the name she enter that appears in Finder under Places with the house icon be changed or renamed??
    Niel answered/solved the question via the following instruction:
    Open the Accounts pane of System Preferences, release the padlock, control-click her name, choose Advanced Options, and change the settings.
    end background info.
    So, being the idiot Dad that I am... I decide to do the same on my 2 year old iMac (that was working wonderfully I might add) only to find out that my ALL my mail and associated folders "On My Mac" disappeared as well as ALL my Safari bookmarks, Dock, Menu Bar and you knows what else changed and/or dissappeared. Its like the system did an OS reset. YIKES! Niel's instruction didn't indicate this... not that it's his fault - its mine! Niel's instruction worked fine on a NEW Mac, but changed things terribly on my 2yr iMac.
    So "my" question is - how can I recover from this??
    Did multiple TM backups on 7/12/08. went to restore latest 7/12/08 backup but wasn't really sure what to backup. I hope I'm not messed up and can recover from this. My name change was so minor I feel like an idiot for doing it and these discussion groups have ALWAYS helped. So please - HELP me again. Can I or should I do a complete system restore to get me back or does this apparent OS reset mean I'm screwed? Also, never done a restore yet, so I'm kind of worried I'll make things worse. I LOVED my machine before I made the change and would LOVE to get back. Any and all input welcomed.
    Signed,
    Dummy Daddy

    Should I call you Daddy, or just Dummy? (LOL),
    You have one of two options. If you really want to use the new name, you can do so, but it will entail using the command line (Terminal). It's a pretty easy thing to do, though.
    Another option is to just go back to the "Accounts" pane, and reverse the change you made.
    Your old HOME folder, along with all the things you are now missing, is still there. If you have any doubts, look in the "Users" folder for it. Do not "monkey" with it until you decide which of the above options you would like to use.
    Post back with your choice, and I'll provide instructions.
    Scott

  • How to move Mail and Address book content from 10.3 emac to 10.5 iMac

    How do I move Mail and Address book content from my old 10.3 emac to my new 10.5 Leopard iMac directly, or do I have to move the names etc, one by one?
    Richard

    I cannot find a migration assistant. I have copied the Mail and Address Book applications over from 10.3 to 10.5 and tried using mailboxes import, but 10.5 Mail will not accept any of the options. The same for address book. Can you give more specific instructions?
    The applications, Mail and Address Book, don't actually store your data in the application. So, moving the applications over to your new computer will have no useful effect and could be detrimental if you replaced the newer versions with the old.
    Migration Assistant is in you Utilities folder and should have asked to be run during the installation.
    Your Mail data is stored in yourUserName/Library/Mail. The Address Book data is stored in yourUserName/Library/Application Support/AddressBook. If your new installation is blank with no data, you can actually replace those directories on the 10.5 version with the old. For Mail, you also have to get the com.apple.mail.plist file from your old username/Library/Preferences/ folder and put it in the new 10.5 folder of the same name. Once that is done, when you open Mail and Address Book, they will update the data to the new format.
    Migration Assistant will do all of this for you.
    EDIT: Based on roam's comments, you may have to move the Mail manually. You can also just bring the Mail directory over to the 10.5 machine and use Mail's Import command to get all the mail out of the old Mail directory.
    Message was edited by: Barney-15E

  • How to delete mail and trash in OSX 10.9.2 without opening them

    How do you delete mail and trash in OSX 10.9.2 without opening them.  I don't want to open suspect mail that might cause a problem.

    I think you can just drag it to the trash folder.  Otherwise you have to select it and press delete.  If you have the preview window going, just selecting it will open it.  So you have to have the preview window closed.
    P.S.
    I don't think you can get into any trouble just opening a message in Apple Mail. 

  • Partial installs - how to remove them and start afresh

    Hi,
    I'm in the middle of installing BOXI 31 on a 32 bit unix machine, distro Red Hat Ent 5.0.
    How do you uninstall the partially deployed BO install. Is there a script that removes what was installed. Or is it simply a case of Add/Remove Programs and then physically removing the files copied top the directories.
    I'm keen not to lock up any of the ports from previous installs thereby affecting the workings of the correctly installed version.
    Here's the error in more detail below.
    Thanks for taking the time to read this post.
    I've managed to partially install the software but got an error midway through of
    [error] Errcode 1: cp -r /home/o2mars/perl/* /home/o2mars//perl
    [error] [PostInstallScripts::WaitForCMS] CMS is not started, giving up.
    ~                                                                               
    I presume this is due to my hosts file
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    ::1             localhost6.localdomain6 localhost6
    192.168.0.162   oxygen

    Hi Caroline,
    cheers for the reply.
    Impatient and went ahead and removed the the directories completely - bit rash but it worked OK.
    On reinstall still managed to get that error but the progress of the install as a whole didn't fall over as it did previously on about 55% of Total Progress. This time it reached about 90% then came back with the message of
    BO installed with Errors etc.
    I then ran the setupinit.sh, everything was OK then on login to CMC and InfoView.
    I asked around the traps here (my colleagues would have loads more experience with Unix than I) and the said don't worry about it once the perl dir was there since it seemed to be copying to itself.
    [o2mars@oxygen ~]$ du -hs perl
    67M     perl
    so not as big as you say.
    It is a bit of a worry I suppose I would have preferred a clean install entirely.
    So far only the Red Hat Ent 5.0 and BOXI 3.1 itself are the only programs loaded so it would have only been the partial installs that could have consumed those port resources (it happened on a previous install I did before Christmas)
    Thanks for your tips
    Cheers, Ed

  • How to activate mail and games?

    How can I start activating mail and games?

    Add your email accounts to the iPad by going to Settings>Mail, Contacts, Calendars>Add Account. Make a selction from the next window and enter the appropriate information.
    What games? You can download games in the App Store. Even if you want to use Game Center you still need to install those games.

  • How to remove Header and Footer from Flat File

    Hi,
    In a scenario , we are going to recieve a flat file which will contains header , footer and data. We have to have to load data in Oracle tables and remove header and footer.
    once the data load is complete , we have to delete flat file from source directory.
    Please help me in solving this issue.
    Thanks,
    Kamlesh

    You have a header parameter in the file datastore. You can provide any number to skip rows from top of the file. For footer you can create a filter in staging area.
    Filter coould be something like this.
    where source_alias.source_column not like '%FOOTER_OR_ANY_VALUE_AS_PER_YOUR_REQ'

  • How to send mail with attachments - ALBPM 5.7

    Hi All,
    I am new to BPM,
    Someone could help giving me a example of Send Mail with attachments in Aqualogic Studio 5.7?
    thanks,
    Renata

    nombrefichero="C:\\Temp\\test.doc"
    subject as String="Subject"
    message as String="Message"
    mailAttachment = Fuego.Net.MailAttachment(source : BinaryFile.readToBinaryFrom(name : nombrefichero), fileName : "test2.doc")
    mailAttachments[0] = mailAttachment
    correo as Mail
    correo.attachments = mailAttachments
    correo.contentType = "text/html"
    send correo
    using from = "[email protected]",
    recipient = "[email protected]",
    subject = subject,
    message = message

Maybe you are looking for