mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-05 15:57:23 +01:00
Add ability to view message headers in the user activity panel
... and add message-id to output detail
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<div>
|
||||
|
||||
<b-modal ref="message_headers_modal" hide-header no-fade ok-only no-close-on-backdrop size="lg" scrollable>
|
||||
<message-headers-view :user_id="data_user_id" :lmtp_id="lmtp_id"></message-headers-view>
|
||||
</b-modal>
|
||||
|
||||
<datalist id="panel-ua-users">
|
||||
<option v-for="user in all_users">{{ user }}</option>
|
||||
</datalist>
|
||||
@@ -61,7 +65,7 @@
|
||||
</template>
|
||||
<template #row-details="row">
|
||||
<b-card>
|
||||
<div><strong>Remote host</strong>: {{ row.item.remote_host }}[{{ row.item.remote_ip }}]</div>
|
||||
<div><strong>Remote sender</strong>: {{ row.item.remote_host }}[{{ row.item.remote_ip }}]</div>
|
||||
<div><strong>Connection disposition</strong>: {{ disposition_formatter(row.item.disposition) }}</div>
|
||||
<div v-if="row.item.orig_to"><strong>Sent to alias</strong>: {{ row.item.orig_to }}</div>
|
||||
<div v-if="row.item.dkim_reason"><strong>Dkim reason</strong>: {{row.item.dkim_reason}}</div>
|
||||
@@ -69,7 +73,9 @@
|
||||
<div v-if="row.item.postgrey_reason"><strong>Postgrey reason</strong>: {{row.item.postgrey_reason}}</div>
|
||||
<div v-if="row.item.postgrey_delay"><strong>Postgrey delay</strong>: {{received_mail.x_fields.postgrey_delay.formatter(row.item.postgrey_delay)}}</div>
|
||||
<div v-if="row.item.spam_result"><strong>Spam score</strong>: {{received_mail.x_fields.spam_score.formatter(row.item.spam_score)}}</div>
|
||||
<div v-if="row.item.message_id"><strong>Message-ID</strong>: {{ row.item.message_id }}</div>
|
||||
<div v-if="row.item.failure_info"><strong>Failure info</strong>: {{row.item.failure_info}}</div>
|
||||
<div v-if="row.item.lmtp_id"><a href="#" @click.prevent.stop="show_message_headers(row.item.lmtp_id)">Message headers</a></div>
|
||||
</b-card>
|
||||
</template>
|
||||
</b-table>
|
||||
|
||||
Reference in New Issue
Block a user