+
+
+
+
+
+ {{ type === 'rbl4' ? 'IPv4' : 'IPv6' }} {{ $t('email.smtpStatus.rblCheck') }}
+
+
+
{{ domainStatus[type].message }}
+
@@ -145,7 +148,7 @@ onMounted(async () => {
diff --git a/dashboard/src/views/EmailMailboxesView.vue b/dashboard/src/views/EmailMailboxesView.vue
index 71ff51318..8fb7beba0 100644
--- a/dashboard/src/views/EmailMailboxesView.vue
+++ b/dashboard/src/views/EmailMailboxesView.vue
@@ -126,7 +126,9 @@ async function refresh() {
let tmp = [];
async function refreshForDomain(domain) {
let [error, result] = await mailModel.usage(domain);
- if (error) return console.error(error);
+ // retry if mail addon cannot be reached during restarts
+ if (error && error.status === 424) return setTimeout(refresh, 2000);
+ else if (error) return console.error(error);
const usage = result;
diff --git a/dashboard/src/views/EmailStatusView.vue b/dashboard/src/views/EmailStatusView.vue
index 56ee9ba53..bfa75a60b 100644
--- a/dashboard/src/views/EmailStatusView.vue
+++ b/dashboard/src/views/EmailStatusView.vue
@@ -2,7 +2,7 @@
import { ref, onMounted } from 'vue';
import { eachLimit } from 'async';
-import { Button, Icon } from '@cloudron/pankow';
+import { Button } from '@cloudron/pankow';
import { prettyDecimalSize } from '@cloudron/pankow/utils';
import Section from '../components/Section.vue';
import StateLED from '../components/StateLED.vue';