Contents  SpamSieve Manual  Translate  Technical Support

7.1.2.2   Resetting Mail’s Private Plug-Ins Folder

Sometimes, after you try to enable the SpamSieve plug-in, Mail will report “Incompatible Plug-ins Disabled” (even though the version that you installed is compatible) or the installed plug-in will not appear or not stay checked in the Manage Plug-ins… sheet. Such problems generally mean that something is wrong with Mail’s private plug-ins folder, the place where it stores an extra copy of plug-ins that you have installed and enabled in Manage Plug-ins…. For example, this folder often gets messed up when migrating to a new Mac or restoring from backup.

Since the private plug-ins folder only stores duplicate copies of plug-ins that are also in the public folder (/Users/<username>/Library/Mail/Bundles/), you can safely delete the private folder without losing any data, and Mail will then let you enable the plug-in. Please follow the instructions below for the version of macOS that you’re using:

macOS 11 and Later

To delete Mail’s private plug-ins folder:

/Users/<username>/Library/Application Support/Mail/Plug-ins/
  1. Quit Mail.

  2. Open your user Library folder as described in How can I open the Library folder?.

  3. Open the Application Support folder, then the Mail folder.

  4. Drag the Plug-ins folder to the trash. If macOS won’t let you delete the folder, e.g. because it says you don’t have permission, try renaming it to Plug-ins Disabled instead.

  5. If you were able to delete or rename the folder, launch Mail and click on Manage Plug-ins… in Settings ‣ General to enable the SpamSieve plug-in. You can skip the rest of the steps below.

  6. Otherwise, you will need to temporarily turn off System Integrity Protection (as instructed below) so that Mail will let you delete the folder. This may also be necessary before you can empty the trash.

    You may want to print these instructions, write them down, or open them on another computer or device so that you have access to them while rebooting your Mac.

  7. Restart your Mac in Recovery Mode. The steps for doing this depend on which type of processor your Mac has:

    • On an Intel-based Mac, click on the Apple menu and choose Restart…. Hold down the Command and R keys so that your Mac will reboot in Recovery Mode.
    • On an Apple Silicon–based Mac, click on the Apple menu and choose Shut Down…. Press and hold the power button on your Mac until you see “Loading startup options.” Click Options, then click Continue, then click Continue again.
  8. From the Utilities menu at the top of the screen, choose Terminal.

  9. Type csrutil disable and press Return. (This is what turns off SIP.) If it asks Allow booting unsigned operating systems and any kernel extensions for OS, enter n.

  10. Click on the Apple menu and choose Restart.

  11. You can now repeat Steps 2–4 to delete the Plug-ins folder.

  12. Launch Mail and click on Manage Plug-ins… to enable the SpamSieve plug-in.

  13. Repeat Steps 7–10, typing csrutil enable instead, in order to turn SIP back on.

macOS 10.14 and macOS 10.15

Ask Mail to Reset the DataVaults

In most cases, asking Mail to reset the DataVaults folder will work. To do this:

  1. Quit Mail.

  2. Open the Terminal app in the Utilities folder.

  3. Enter this command:

    defaults delete com.apple.mail EnableBundles
    

    and press Return.

  4. Launch Mail and then quit it.

  5. Enter this command in Terminal:

    defaults write com.apple.mail EnableBundles -bool YES
    

    and press Return.

Delete the DataVaults Folder

If asking Mail to reset the folder doesn’t work, you can delete the DataVaults folder without losing any important data, and then Mail will recreate it when you try to enable the SpamSieve plug-in, hopefully fixing the problem:

  1. You may want to print these instructions, write them down, or open them on another computer or device so that you have access to them while rebooting your Mac.

  2. Click on the Apple menu and choose Restart…. Hold down the Command and R keys so that your Mac will reboot in Recovery Mode. This will enable you to temporarily turn off System Integrity Protection (as instructed below) so that you have access to delete the protected DataVaults folder.

  3. From the Utilities menu at the top of the screen, choose Terminal.

  4. Type csrutil disable and press Return. (This is what turns off SIP.) If it asks Allow booting unsigned operating systems and any kernel extensions for OS, enter n.

  5. Click on the Apple menu and choose Restart.

  6. The folder:

    /Users/<username>/Library/Containers/com.apple.mail/Data/DataVaults/
    

    needs to be dragged to the trash. (See How can I open the Library folder? if you have trouble finding it.)

  7. Launch Mail and click on Manage Plug-ins… to enable the SpamSieve plug-in.

  8. You can then repeat Steps 2–5, typing csrutil enable instead, in order to turn SIP back on.

     Contents  SpamSieve Manual  Translate  Technical Support