This commit is contained in:
Girish Ramakrishnan
2025-03-10 21:23:55 +01:00
parent d8c063f59b
commit ba1636033e

View File

@@ -75,7 +75,7 @@ const assert = require('assert'),
nodemailer = require('nodemailer'),
notifications = require('./notifications.js'),
path = require('path'),
platform = require('./platforms.js'),
platform = require('./platform.js'),
safe = require('safetydance'),
services = require('./services.js'),
shell = require('./shell.js')('mail'),
@@ -860,7 +860,7 @@ async function setMailEnabled(domain, enabled, auditSource) {
await updateDomain(domain, { enabled });
await mailServer.restart();
await platform.onMailServerIncomingDomainsChanged();
await platform.onMailServerIncomingDomainsChanged(auditSource);
await eventlog.add(enabled ? eventlog.ACTION_MAIL_ENABLED : eventlog.ACTION_MAIL_DISABLED, auditSource, { domain });
}