-
This server's IP {{ rbl.ip }} is not blacklisted.
-
+
This server's IP {{ selectedDomain.mailStatus.rbl.ip }} is not blacklisted.
+
diff --git a/webadmin/src/views/email.js b/webadmin/src/views/email.js
index 65510ba10..85ac312c5 100644
--- a/webadmin/src/views/email.js
+++ b/webadmin/src/views/email.js
@@ -285,6 +285,24 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
});
};
+ $scope.refreshStatus = function () {
+ $scope.refreshBusy = true;
+
+ Client.getMailStatusForDomain($scope.selectedDomain.domain, function (error, mailStatus) {
+ if (error) {
+ $scope.refreshBusy = false;
+ return console.error(error);
+ }
+
+ // overwrite the selected domain status to be available for the UI
+ $scope.selectedDomain.mailStatus = mailStatus;
+
+ showExpectedDnsRecords();
+
+ $scope.refreshBusy = false;
+ });
+ };
+
function getCatchallAddresses() {
Client.getCatchallAddresses(function (error, result) {
if (error) return console.error('Unable to get catchall address listing.', error);