vary dkim selector per mail domain

this is required for the case where the domain is added on multiple
cloudrons. initially, the plan was to just vary this as a derivation
of the dashboard domain. but this will break existing installation (wildcard
and manual domain setups cannot be re-programmed automatically).
This commit is contained in:
Girish Ramakrishnan
2019-06-10 12:23:29 -07:00
parent 1de785d97c
commit 7e9885012d
10 changed files with 56 additions and 29 deletions

View File

@@ -239,7 +239,7 @@ describe('Mail API', function () {
callback(null, dnsAnswerQueue[hostname][type]);
};
dkimDomain = 'cloudron._domainkey.' + DOMAIN_0.domain;
dkimDomain = 'admincom-cloudron._domainkey.' + DOMAIN_0.domain;
spfDomain = DOMAIN_0.domain;
mxDomain = DOMAIN_0.domain;
dmarcDomain = '_dmarc.' + DOMAIN_0.domain;