Export Apple Mail

In Troubleshooting Apple Mail in OS X 10.11 El Capitan, a user asked:

My question is will the Mboxes import back to Yosemite after being used in El Capitan, what I mean is can you go back to V2 from V3.

The short answer is, yes, if you export your mailboxes in Mail, you can import back into Yosemite Mail using File > Import > Apple Mail.

import-applemail

However, you must revert OS X 10.11 El Capitan to OS X 10.10.5. Reverting is not an easy process. Many files that upgraded like Mail from V2 to V3,will also have to be reverted to previous version. See Apple’s KB: Revert to a previous OS X version using Time Machine.

I would advise users that are having issues after upgrading to El Capitan, try to resolve their problems than try reverting. See Before upgrading to El Capitan Mail for tips that will help to nuke your failed  El Capitan Mail upgrade.

Some users have opted to move to a new User rather than fix the issues in their current User’s folder. You can test Mail first in a new User to verify the problem is in your User’s folder and not with your OS X install files.

You can use the Guest User or create a new User for testing. When you log out of Guest, all data entered will be erased. I suggest creating a test user in case you end up moving to the new User or simply want a clean environment to test future issues.

First grab your email settings and passwords. You can save these to the Shared folder for access in the new User.

Your Hard Drive/Users/Shared

Shared folder

 

CREATE A NEW USER

Go to System Preferences –> Create a New User in Users & Groups.
Switch to the New User by logging out/in or use Fast User Switching.

You can skip the Apple ID setup unless you are testing iCloud.
Select Don’t Sign in > Continue > Skip

Only default Apple apps will be in the Dock in the new User. Go to Applications to open other apps you might want to test.

Open Mail and add your accounts. I would add one at a time and let it download from the server before adding additional accounts.

Note: Any POP mail you download in the test User will not be available unless you set to “leave on server”. Under Advanced tab in Accounts, do not check the box to remove copy from server…

POP-los

If you are happy with Mail in the New User, make sure it’s set for Admin status. See this article to help moving your other data to the New User.

Export Mailboxes

Apple includes an export option under Mailbox in the Menu bar. This will export your data as an Apple mbox file. This is not a standard .mbox file. Only Apple Mail can import this type of .mbox file. This .mbox will import into any version of Apple Mail.

Mail-Export

You do not need to export your IMAP or Exchange folders. You simply add the accounts back and let the messages download from the server.

You do need to export your POP accounts (Inbox, Drafts, Sent, Trash* and Junk*) and any mailboxes (folders) under “On My Mac”.

*Optional

Select all Mailboxes you want to export. You can select all the top default items (Inbox, Drafts, Sent, Trash, Archive, Junk, VIPS, Flags.

[Tip: Export each account’s default folders into a folder with account name. Otherwise, if you select all Inboxes you’ll get folder names like INBOX, INBOX 1, INBOX 2, etc.

Do not just select the top Unified root folder. Expand to show all Inboxes, Drafts, Sent etc.

Under Mailbox select Export Mailboxes…

Choose a destination folder. Be sure to click on Options to get the box: Export all subfolders.

Export-all-subfolders

After exporting default items, select all the local “On My Mac” folder. Be sure to include subfolders.

Note: you can manually expand all folders to view subfolders. Select all in the expanded view to export.

Note: You can export Smart folders, Flags and VIPS like a regular mailbox. Smart folders with MailTag keywords caused Mail to crash for me.

Apple Mail – Unable to send or receive

Send & Receive issues are the most complex to troubleshoot. There are many variables that need to be checked. Usually when messages are not sending or receiving, it’s a result of Mail not remembering your password. You can check in Connection Doctor. Under Window in the Menu bar, select Connection Doctor.

connection doctor

You will see green to indicate a connection and red to show there is a problem. You want to see all green symbols.

Continue reading

Before upgrading to El Capitan Mail

Before upgrading to El Capitan, you first want to clone your drive. While a Time Machine backup is a good option, if you need to revert to your previous OS X a clone is much easier and quicker than Time Machine. I suggest SuperDuper to clone your drive. SuperDuper is free to do an erase and clone. You can purchase to do schedule and smart backups. If you don’t have an external drive, check out this 3T Western Digital drive. (the 2T is often only a few dollars less). You can partition the drive and use it for clone and Time Machine.

If you are running Snow Leopard 10.6, Lion 10.7, Mountain Lion 10.8, I would suggest doing a clean install of El Capitan 10.11. If your version of OS X is 10.9 or higher, you can try upgrading El Capitan over your current install. You can always revert to the clone. Erase the internal drive and reinstall El Capitan if you find a clean install is warranted. (be sure to save the El Capitan installer. It can be found in Applications. It’s named “Install OS X El Capitan”. By default Apple deletes the installer after the install is finished.)

I’m going to focus on Apple Mail in this article. See 6 Steps to Prepare a Mac for the OS X El Capitan Update for other helpful tips before you upgrade.

Mail in 10.11 is imported from V2 to V3 folder.  See Clean up Mail folder to free up space from your drive and  Troubleshooting Apple Mail in OS X 10.11 El Capitan for more info. This import process has been troublesome for many users. I suggest you do a clean install of Mail to avoid any upgrade issues.

Before you upgrade to OS X 10.11 El Capitan.

In Mail, remove all your IMAP accounts and any Exchange accounts. Removing the account in Mail > Preferences will take you to System Preferences > Internet Accounts to remove. Simply uncheck Mail. When you add back in El Capitan all your settings will be remembered. You might need to add password again so be sure you have your passwords handy.

When you remove a POP account, the Inbox messages are removed from Mail. Be sure you export your data before removing a POP account. If the messages are no longer on the server or you do not have a backup of your Mail folder, you would loose the Inbox messages.

You can use Apple’s export as Apple Mailboxes or you can export with this third party option, Emailchemy.  If you have lots of subfolders you’ll find that Emailchemy is worth every penny.

Export a folder in Mail

Under Mailbox in the Menu bar select Export Mailbox. You will need to do this for every folder and subfolder.
Mail-Export

Use Emailchemy to export your folders.

Download Emailchemy.  The demo will mask subject and sender fields in the converted email. Please try the demo before purchasing. This will save all the folders in Mail. Your folder sturcture will be saved. To purchase: $29.95

  • Select Apple Mail to convert

EC-Import

  • Select your Mail folder. By default Emailchemy will show the correct path.
  • Select Convert

EC-Import2

  • Select your destination folder. Desktop is selected in this image.
  • Save as MBOX file (standard mbox). This saves all your folders and subfolders. You keep your folder structure.
  • You can delete the converted_email folder after importing or save to an external drive then delete.

EC-Import3png

After you have saved all your local mailboxes, in your User’s Library….

  1. Scroll down to Containers folder > delete the com.apple.mail folder
  2. Delete the Mail folder. Iif you do not have a Time Machine or clone backup of Mail simply rename to Mailxx. After you are satisfied with your El Capitan Mail upgrade, you can delete the Mailxx folder in your User’s Library.
  3. Restart and delete the Trash

Now you are ready to upgrade to El Capitan.

After the OS X 10.11 El Capitan install,  go to System Preferences > Internet Accounts to add back your accounts. I suggest you add one account at a time. Let the account download fully before adding your other accounts. Some IMAP accounts need to have the Drafts, Trash and Junk folder set correctly.

usethismailbox

Import the local “On My Mac” folders.

Under File  select  Import Malboxes…

Mail-Import

If you used Mail to export, select Apple Mail.

If you used Emailchemy select the bottom option: Files in mbox format

Mail-Import.

Using either option you will find your folders under Import folder. Toggle open to view. You can move out of Import folder by dragging to the “On My Mac” header.

import-folder.

You can select to move the messages in default folders (Inbox, Drafts, Trash, Junk) under Import back to the top folders for your POP accounts. Note if you left messages in the Inbox on the server, you will have duplicates. Before adding the imported Inbox messages back, delete any newly download Inbox messages that are in your Imported Inbox

If you need personal assistance, you can contact me for support.

Clean up Mail folder to free up space from your drive

Free up space from your drive after upgrading OS X.

Unless you have done a clean install of OS X, you might want to check your Mail folder to delete any old files that are no longer being used.

Apple Mail stores your data in your User’s Library. Unhide your User’s Library folder and locate Mail folder to get started. Continue reading

Troubleshooting Apple Mail in OS X 10.11 El Capitan

The Apple Mail upgrade process in OS X 10.11 El Capitan has been problematic for many users. Let’s look at what has changed and optons to fix a bad upgrade.

Apple Mail is stored in your User’s Library. Apple hides User’s Library by default. You’ll need to unhide in order to continue. How to enable the User’s Library folder

Since OS X 10.7 (Lion), Mail has been stored in the User’s Library > Mail > V2 folder. Starting in OS X 10.11 El Capitan, Mail is stored in User’s Library > Mail > V3 folder.

This screen shot shows my V2 folder compared to V3 folder.

Compare V2 folder to V3

This is an example of a V3 folder with a bad upgrade. As you can see, it’s a mix of old folders with new.

upgradev3

To Repair Mail in El Capitan follow these steps.

Step 1: Make sure you have backup. If you have Time Machine or clone backup you are covered. If not, be sure to duplicate your Mail folder in the User’s Library.

Step 2: Quit Mail

  • In System Preferences > Internet Accounts, uncheck Mail for each account.
  • Go to the User’s Library
    • Scroll to Containers. Drag the com.apple.mail folder to the trash.
    • Scroll to Mail. Drag Mail folder to the trash.
    • Scroll to Preferences. Drag any com.apple.mail.plist files to the trash
  • Log out under the Apple in the Menu bar
  • Log in
  • Empty the Trash. If not, Mail will continue to try and use data in the Mail folder.
  • Open System Preferences > Internet Accounts and check Mail for your primary account. I suggest adding one email account at a time.
  • Open Mail and test account.
  • For IMAP and Exchange users with no local messages under “On My Mac” there is no step 3 required.

Step 3: Import messages stored under “On My Mac”

Option 1) Use a Time Machine backup. Go back in time just prior to OS X 10.11 El Capitan upgrade. You should only see a V2 folder in Mail.

  • If you are in your User’s Library > Mail folder, enter Time Machine.  Restore the V2 folder to the Desktop. Follow step 2 to import the data into Mail.

Or

  • If you are in Mail under “On My Mac” folders (you’ll need to create a folder if one does not exist to see “On My Mac”) you can enter Time Machine in this view then go back in time and select to restore your folders.

restore from tm

Option 2)  Under File in the Menu bar select Import Mailboxes…

File-import

Select Apple Mail

File-import.

Navigate to your Mail backup folder. Select Mailboxes folder in V2 > Import.

(Most users did not export mailboxes prior to upgrading but if you did, navigate to your exported folders)

Your messages will show up under “On My Mac” in a folder named Import. It will most likely be at the bottom of your folder list and not listed alphabetically.

File-import..

Occassionally, I have seen importing from V2 to show messages formatted incorrectly. If you cannot export from Mail in a prior version of OS X, you can use Emailchemy to convert these to mbox files that will import in the correct format. Emailchemy has a demo you can try first. $29.95 to purchase.

Comments are now closed.

 

 

No Mail Sounds with POP Accounts El Capitan v10.11.1

Apple issued a fix for no mail sounds in OS X 10.11.1. However the fix is only working for users with IMAP accounts.

I verified this by creating a new User as a blank canvas for testing.

  • I added a new POP account and tested. No sound.
  • I deleted the POP account and added it back as IMAP. Now I get sound when receiving.

Is this a bug or by design? It’s hard to understand how sound can work for IMAP and Exchange but not POP if not by design. Users need to send Apple Feedback so it can be logged and put in the queue to be fixed. http://www.apple.com/feedback/macosx.html

In the mean time, the only workaround seems to be to create a rule to play a sound. See this example by ThoughtForce on Apple Discussions.

I suggest all users with POP accounts switch to IMAP if possible. Most email providers offer IMAP as an option now.

What’s the difference between IMAP and POP?

IMAP works by keeping mail on the server. All folders (Inbox, Drafts, Sent, Trash) including your custom folders are saved on the server.

POP works by downloading from your Inbox only. If you read on one device, the read status will not be reflected on other devices. If you delete from server the message only exists on your Mac.

Moving to a new computer or recovering from a crash, IMAP is the easiest option with no loss of data.

By default, Mail will setup most accounts as IMAP. However if you have your account set as POP you will need to remove the account first then add it back as IMAP.

Before deleting your POP account in Mail, any messages in your POP Inbox will need to be saved. Create a mailbox (folder) under “On My Mac”. Move all the Inbox messages for the POP account to this folder. Do this for every POP account that you have. When you remove the POP account, Mail deletes all messages in the Inbox. It does not delete messages in your other folders.

If your provider is not in Apple’s default setup, check your email provider for setup instructions. If your provider does not offer IMAP there are many good free options you can use [ iCloud, Comcast, Yahoo, Gmail, AOL, MSFT’s (Hotmail, Live, MSN, Outlook.com)]

If you need assistance switching to IMAP, you can post a comment for help.

 

 

This copy of the Install OS X Yosemite application can’t be verified. It may have been corrupted or tampered with during downloading.

If you are trying to use an installer you downloaded previously…

OS X installers downloaded prior to 14 February 2016 won’t work- See TidBITS article: Previously Downloaded OS X Installers No Longer Work [Added 02 Mar 2016]

Trying to update a client’s computer today. After downloading Yosemite installer it failed to run. It would start but fail with the following error:

This copy of the Install OS X Yosemite application can’t be verified. It may have been corrupted or tampered with during downloading.

First step was to download again. That failed. Tried downloading again. Failed. Started looking for help and found many suggestions that worked for some users. After trying reset date, repair permissions, repair drive, remove RAM and downloading multiple times, user purchased a USB thumb drive and we were able to create a bootable OS 10.10 Yosemite installer drive using the installer that failed to run.

  1. The Install Mac OS X Yosemite.app must be in Applications.
  2. Format the USB drive as GUID in Disk Utility. 8GB or larger
  3. Name “Untitled”
  4. Paste the following into the Terminal
    sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
  5. Enter Password
  6. When the process is finished you will see Copy Complete. Done. (the process took about 30 min so be patient)
  7. Select the drive in System Preferences > Startup Disk to install.

Thanks to Dan Frakes for instructions on creating USB installer. For more details, see Dan’s blog:

http://danfrakes.com/2014/10/16/how-to-make-a-bootable-yosemite-installer-drive/

[Added info: December 3, 2015] Check out the FAQs on DiskMaker X page for help with errors making a boot disk. DiskMaker X is a free app that many find useful in creating a bootable install disk. This can be very helpful if you are running El Capitan and want to install an older version of OS X like Yosemite on another drive.

Set up Gmail POP account in Apple Mail

By default, Apple will setup your Gmail account as IMAP when you enter your Gmail address and password. However, if you prefer Gmail as POP, you have to manually setup the account. If you already have the account started as IMAP you must delete this account and create a new account as POP. You cannot change the settings on an IMAP account and make it POP.

Set Gmail as POP in your browser settings. Log in to Gmail account. Under the gear, select Settings > Forwarding and POP/IMAP. Select Enable POP. If you do not want your All Mail folder to download, select the second option “Enable POP for mail that arrices from now on”

settings

These directions are for Mavericks Mail. 

Select Add Other Mail Account… not Google.

add_account_type

Continue

add_account_type.

Enter your Email address and password > Create

add_account_type..

  • It will default to IMAP. Select POP
  • Change imap.gmail.com to pop.gmail.com
  • Enter full email address. Password should automatically be entered.

add_account_type...

Use SSL Port 993 : Authentication > Password

add_account_type....

Set outgoing server (SMTP) Enter full email address and password. Create

add_account_type.....

Enter Port 465, check SSL, Authentication > Password

Verify Settings:

Incoming:  Verify your results in the main account window for outgoing settings. If you make any changes in this window under any of the tabs, you need to click out of the window and select SAVE before the changes are saved.

add_account_type......

Outgoing:  Outgoing Mail Server SMTP:  select Edit SMTP Server list… SMTP settings..

Select account in the list. (It’s not uncommon to find extra SMTP servers listed. When you remove account, Mail does not delete the smtp info. You might need to do some clean up in the list to remove any extras.)

add_account_type.......

  • Enter name for account Gmail POP under Account information.
  • Click on Advanced tab. Verify your settings.

Use Connection Doctor to test connection

Under Windows in the Menu bar select Connection doctor.

connectiondoctor

You will see green to indicate a connection and red to show there is a problem. You can click on Show Detail button, but with multiple accounts this is often hard for some users to read results. Except for iCloud account you’ll see two entries for each account 1) receiving and 2) SMTP for sending.

If SMTP is red, recheck password was saved in the Edit SMTP settings under the advanced tab.

As you can see the fake POP Gmail I setup with Yourname@gmail.com is not connecting, but my Gmail IMAP is connected.

connected

Search include System Files and Invisible Files

Searching for data that you can’t find in a regular Spotlight search? Add System Files and Invisible files to your search.

search_kind...

How To Create Search

Click on the Desktop so the Finder is active. You’ll see Finder listed by the Apple in the Menu bar.

Finder

Command F will create a new search window.

Finder.

Select Other

search_kind

Add System Files

search_kind.

Add File Invisiblesearch_kind..

File visibility > Visible or Invisible

search_kind...

Beware of adware included in installers

Downloading an installer? Beware! You might getting more than you wanted. Before you install, check for additional installers. Especially Genieo. It’s Adware and will take over your browsing experience. OS X 10.9.3 added Genieo to list of incompatible software. Another good reason to upgrade to Mavericks.

Recommended

After a user reported the following comment on Apple Discussions, I wanted to see what CNET was doing to a perfectly good utility installer. [Just to be clear, Etrecheck is just one example of what CNET is adding to installers. You can download Etrecheck directly using this link: http://www.etresoft.com/etrecheck. It will not contain the adware. I advise downloading directly from the developer.]

Etrecheck is a no go on my system. Three days ago I downloaded it from CNET and ran it. It hijacked Safari and Firefox. Without asking It installed an Amazon shopping plugin, a Ebay plugin, a Searchme plugin, reset my home page and locked me to the new page. It took me a couple of hours to recover.

I downloaded Etrecheck from CNET. When I tried running the installer, Little Snitch brought up this request. There is no reason for Etrecheck be asking for a connection to www.mybrowserbar.com.

cnet-LS

I continued the install on a test drive and found the following.

The first window looks OK.

cnet installer

However, the second window showed the following was going to be installed unless I select under custom install to remove the extensions CNET was installing along with the utility Etrecheck.

cnet installer ads