Moodle 中发送的电子邮件异常 (reports/insights)

Unusual email sent in Moodle (reports/insights)

我将 Moodle 服务器配置为使用 Gmail 帐户重设密码。最近我不得不将所有 Moodle 网站迁移到新的 CentOS 7 服务器(Postfix 在默认配置下处于活动状态)。突然间,所有的老师都收到了数千封带有正文"Students at risk in 'Course Name'"的电子邮件,

>Hi "Teacher name",
>A number of students in "Course Name" have never accessed the course.
>
>View insight (this is a link to 'https://my.moodle.url/report/insights/insights.php?modelid=4&contextid=14517')

一位老师告诉我这是由于 Insights 模块而发生的,他停用了同一个模块。我还停用了 Postfix。然后一周左右一切正常。

今天从同一服务器上的另一个 Moodle 网站向另一位老师发送了一封电子邮件,主题为 'Upcoming courses have no teachers or students' 和正文,

Hi 'Teacher name',

Courses with start dates in the next week have been identified as having no teacher or student enrolments.

View insight (Linked to https://my.moodle.url/report/insights/insights.php?modelid=2&contextid=1)

Reading this in an email? Download the mobile app and receive notifications on your mobile device. (Linked to 'https://download.moodle.org/mobile?version=2019111803.02&lang=en&iosappid=633359593&androidappid=com.moodle.moodlemobile')

请支持我解决这个问题。我的服务器/Moodle 网站被黑了吗?

服务器配置:

谢谢,

这是由于在 Moodle 管理中必须仍然激活的设置。您可以搜索关键字 enableanalytics 并关闭此设置。

之后服务器可能不会发送任何这些电子邮件。 这个工具的文档可以在这里找到:https://docs.moodle.org/38/en/Analytics_settings