In Moodle 2.x and 3.x, an unenrolled user still receives event monitor notifications even though they can no longer access the course.
{ "binaries": [ { "binary_name": "moodle", "binary_version": "3.0.3+dfsg-0ubuntu1" } ] }