Use latest haraka and restart on relay change

This commit is contained in:
Girish Ramakrishnan
2017-06-29 11:43:03 -05:00
parent a0903f0890
commit 1007a85fde
4 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,9 @@ function start(callback) {
debug('initializing addon infrastructure');
// restart mail container if any of these keys change
settings.events.on(settings.MAIL_CONFIG_KEY, function () { startMail(NOOP_CALLBACK); });
settings.events.on(settings.MAIL_RELAY_KEY, function () { startMail(NOOP_CALLBACK); });
certificates.events.on(certificates.EVENT_CERT_CHANGED, function (domain) {
if (domain === '*.' + config.fqdn() || domain === config.adminFqdn()) startMail(NOOP_CALLBACK);