On Thu, 20 Sep 2018 16:53:44 -0400 Anthony DeRobertis <anth...@derobert.net> wrote> would make sense to allow a mail program to read ~/.mailcap (and execute
the programs found there, no idea how that's done in apparmor)

Allowing to read that file will be trivial, but AppArmor will not be able to parse it and dynamically allow execute programs based on that file. You'll have to add rules to `/etc/apparmor.d/local/usr.bin.thunderbird`, like:

```
/usr/bin/foo PUx, # your application mentioned in .mailcap
```

Reply via email to