Posted on 11-29-2016 01:03 PM
Is there a way to schedule or stop the automatic Cache Deletion processes on 10.12 triggered by deleteD? MailCacheDelete is triggering my banned mail.app every hour or so.
Killed blacklisted process "Mail.app" at path "/Applications/Mail.app/Contents/PlugIns/MailCacheDelete.appex/Contents/MacOS/MailCacheDelete".
Posted on 11-30-2016 05:31 AM
Okay so digging a little deeper this morning, into the contents of the plugin bundle mentioned above and I find this:
<key>NSExtension</key>
<dict>
<key>CacheDeleteInfo</key>
<dict>
<key>CACHE_DELETE_ID</key>
<string>com.apple.MailCacheDelete</string>
<key>CACHE_DELETE_SERVICES</key>
<array>
<string>PERIODIC</string>
<string>PURGE</string>
<string>PURGEABLE</string>
</array>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.cache_delete_extension</string>
<key>NSExtensionPrincipalClass</key>
<string>MailCacheDeleteExtension</string>
</dict>
So, is this the type of stuff that can be managed with a configuration profile? I don't want the mail cache delete service to run EVER as it is a blacklisted app in our org.
Posted on 03-27-2017 04:07 PM
^^ I agree on this. Is there a way to disable to MailCacheDelete plugin since you cannot modify or delete this plugin (required by MacOS)?
Posted on 08-15-2017 10:46 AM
Has anyone figured out a way around this? I am having the same issue being that Mail.app is blacklisted via a config profile.
Posted on 08-23-2017 04:35 PM
I have figured out a workaround for this issue! Big thanks to Wyatt @ JAMF for helping me with this.
-Change your config profile to ALLOW the Mail app (this is configured in the "Restrictions" payload under the "Applications" tab).
-Create an entry in the Restricted Software for Mail. Please see my settings in the screen shot. Do not restrict the exact process name (this is what catches the "MailCacheDelete" process). If you want to see when the "MailCacheDelete" process is being killed, set a 'Message' in the last box. I do not have a message enabled as I do not want my end users knowing when this process is being killed.
Hope that helps! And just a quick FYI, I spoke with a Senior Engineer at Apple, and nobody is aware of a way to trigger the MailCacheDelete process manually (for testing purposes). I found that it typically kicks off within a minute after restarting a machine.
Posted on 09-27-2017 09:50 AM
-Create an entry in the Restricted Software for Mail.
melegastudios:
Where is this "Restricted Software" tool with which I am supposed to make an entry? In the Profile Manager (configured via Safari) I only see one place to restrict software, and that is in Users-->MyGenericUser-->Settings-->Restrictions (macOS)-->Apps. That has "Allow Apps," which is where I assume I am to allow Mail, "Allow Folders," and "Disallow Folders." I can't find a Restricted Software place to create an entry as seen in your screen shot.
Thanks for your help.
Posted on 07-09-2019 09:44 AM
@PatMullen In Jamf Pro (not Profile Manager), under Computers, on the left-hand side you'll find "Restricted Software".