dkim key name has changed
This commit is contained in:
parent
d38f9738fe
commit
ef3600e04f
@ -283,7 +283,7 @@ Cloudron.prototype.checkSPF = function (callback) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Cloudron.prototype.checkDKIM = function (callback) {
|
Cloudron.prototype.checkDKIM = function (callback) {
|
||||||
dns.resolveTxt('mail._domainkey.' + this._box.domain, function (error, records) {
|
dns.resolveTxt('cloudron._domainkey.' + this._box.domain, function (error, records) {
|
||||||
if (error) return callback(error);
|
if (error) return callback(error);
|
||||||
if (records.length !== 1 || records[0].length !== 1) return callback(new Error('Got ' + JSON.stringify(records) + ' TXT records. Expecting 1 length 2d array'));
|
if (records.length !== 1 || records[0].length !== 1) return callback(new Error('Got ' + JSON.stringify(records) + ' TXT records. Expecting 1 length 2d array'));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user