Contents  SpamSieve Manual  Technical Support

7.1.1.1   If the Apple Mail Plug-In Doesn’t Appear in the List or Doesn’t Stay Enabled

In rare cases, you may not be able to enable the SpamSieve plug-in in Mail because the plug-in is not listed in the Manage Plug-ins… sheet. Or you may click the checkbox to enable it, but it will not stay enabled when you restart Mail.

There are four different solutions to this problem. Start at the top of the list and continue until you find one that works for your situation:

1. Uninstall and Reinstall the Plug-In

Often, it helps to choose Uninstall Apple Mail Plug-In…, restart Mail, and then choose Install Apple Mail Plug-In. Mail maintains its own separate copy of installed plug-ins, and restarting after uninstalling can get it to clear out its damaged copy, whereas simply installing a fresh copy of the plug-in will not. You may want to temporarily uncheck your SpamSieve rules in Mail’s preferences before doing this, so that the uninstaller doesn’t offer to delete them, and so that Mail doesn’t move any messages to the Spam mailbox while the plug-in is uninstalled.

2. Check the Location of Mail’s Bundles

Check the location of Mail’s plug-ins folder:

/Users/<username>/Library/Mail/Bundles

This folder must be stored on the same volume as your home folder (and, ideally, on the boot volume) or Mail will not trust its contents. So you should not try to redirect the whole Mail folder to another location, e.g. using a symlink.

3. Ask Mail to Reset the DataVaults

Mail stores its copy of your installed plug-ins in its DataVaults folder, and damage to this folder can prevent it from loading the plug-ins. In most cases, asking Mail to reset the DataVaults folder will to 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.

4. Delete the DataVaults Folder

If the above 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, choose Terminal.

  4. Type csrutil disable and press Return. (This is what turns off SIP.)

  5. Click on the Apple menu and choose Restart.

  6. Drag the folder:

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

    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  Technical Support