dkim key name has changed

This commit is contained in:
Girish Ramakrishnan 2015-10-30 21:52:00 -07:00
parent d38f9738fe
commit ef3600e04f

View File

@ -283,7 +283,7 @@ Cloudron.prototype.checkSPF = 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 (records.length !== 1 || records[0].length !== 1) return callback(new Error('Got ' + JSON.stringify(records) + ' TXT records. Expecting 1 length 2d array'));