Add space in spf record

This commit is contained in:
Girish Ramakrishnan
2015-11-04 14:22:56 -08:00
parent bd5b15e279
commit 03ec940352

View File

@@ -359,7 +359,7 @@ function txtRecordsWithSpf(callback) {
if (i == txtRecords.length) {
txtRecords[i] = '"v=spf1 a:' + config.fqdn() + ' ~all"';
} else {
txtRecords[i] = '"v=spf1 a:' + config.fqdn() + txtRecords[i].slice('"v=spf1"'.length);
txtRecords[i] = '"v=spf1 a:' + config.fqdn() + ' ' + txtRecords[i].slice('"v=spf1 '.length);
}
return callback(null, txtRecords);