blob: ace1995c274aa6306d67c5a36e5826f9ec7fff75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
{% extends "layout.html" %}
{% block title %}Record{% endblock %}
{% block content %}
<ol class="breadcrumb">
<li><a href="{{ url_for('index') }}">Index</a></li>
<li><a href="{{ url_for('feedback') }}">Feedback</a></li>
<li><a href="{{ url_for('report', feedbackid=record.feedbackid) }}">Report</a></li>
<li class="active">Record</li>
</ol>
<h1>Record</h2>
<div class="row">
<div class="col-md-6">
<h2>Record Details</h2>
<dl class="dl-horizontal">
<dt>Source IP</dt><dd>{{ record.row_source_ip|fqdn }}</dd>
<dt>Count</dt><dd>{{ record.row_count }}</dd>
</dl>
<h3>Policy Evaluated</h3>
<dl class="dl-horizontal">
<dt>Disposition</dt><dd>{{ record.row_pol_disposition }}</dd>
<dt>DKIM</dt><dd>
<span class="label label-{{ record.row_pol_dkim|tblclass }}">
{{ record.row_pol_dkim }}
</span>
</dd>
<dt>SPF</dt><dd>
<span class="label label-{{ record.row_pol_spf|tblclass }}">
{{ record.row_pol_spf }}
</span>
</dd>
</dl>
{% if reasons %}
<h4>Reasons</h4>
<table class="table">
<tr>
<th>Type</th>
<th>Comment</th>
</tr>
{% for item in reasons %}
<tr>
<td>{{ item['type'] }}</td>
<td>{{ item['comment'] }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
</div>
<div class="col-md-4">
<h2>Identifiers</h2>
<dl class="dl-horizontal">
<dt>Envelope To</dt><dd>{{ record.ids_envelope_to }}</dd>
<dt>Header From</dt><dd>{{ record.ids_header_from }}</dd>
</dl>
</div>
</div>
<div class="row">
{% if resdkim %}
<div class="col-md-8">
<h2>DKIM Results</h2>
<table class="table">
<tr>
<th>Domain</th>
<th>Selector</th>
<th>Result</th>
<th>Human Result</th>
</tr>
{% for item in resdkim %}
<tr>
<td>{{ item['domain'] }}</td>
<td>{{ item['selector'] }}</td>
<td class="{{ item['result']|tblclass }}">{{ item['result'] }}</td>
<td>{{ item['human_result'] }}</td>
</tr>
{% endfor %}
</table>
</div>
{% endif %}
<div class="col-md-4">
<h2>SPF Results</h2>
<table class="table">
<tr>
<th>Domain</th>
<th>Result</th>
</tr>
{% for item in resspf %}
<tr>
<td>{{ item['domain'] }}</td>
<td class="{{ item['result']|tblclass }}">{{ item['result'] }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}
</div>
</div>
|