Make the dkim selector dynamic

it has to change with the adminLocation so that multiple cloudrons
can send out emails at the same time.
This commit is contained in:
Girish Ramakrishnan
2017-10-31 10:19:52 -07:00
parent 36534f6bb2
commit 8ede37a43d
6 changed files with 12 additions and 7 deletions

View File

@@ -132,7 +132,7 @@ function verifyRelay(relay, callback) {
function checkDkim(callback) {
var dkim = {
domain: constants.DKIM_SELECTOR + '._domainkey.' + config.fqdn(),
domain: config.dkimSelector() + '._domainkey.' + config.fqdn(),
type: 'TXT',
expected: null,
value: null,