~ubuntu-branches/ubuntu/maverick/lire/maverick

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
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE lire:report-spec PUBLIC
  "-//LogReport.ORG//DTD Lire Report Specification Markup Language V1.0//EN"
  "http://www.logreport.org/LRSML/1.0/lrsml.dtd">
<lire:report-spec xmlns:lire="http://www.logreport.org/LRSML/"
 superservice="email" id="errors-by-to-relay">

 <lire:title>Failed Deliveries By Relay Email Report</lire:title>
 <lire:description>
  <para>This report shows the errors that happened for each relay that
   was contacted.
  </para>
 </lire:description>

 <lire:display-spec>
  <lire:title>Failed Deliveries By Relay</lire:title>

  <lire:description>
   <para>
    Note: Only printed is the first word of the stat= field.
    Therefore:
    <variablelist>

     <varlistentry>
      <term>service</term>
      <listitem><para>means service unavailable</para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term>user</term>
      <listitem><para>means user unknown</para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term>host</term>
      <listitem><para>means host unknown</para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term>data</term>
      <listitem><para>means data format error</para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term>remote</term>
      <listitem><para>means remote protocol error</para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term>can't</term>
      <listitem><para>means can't create output</para>
      </listitem>
     </varlistentry>
    </variablelist>
   </para>
  </lire:description>
 </lire:display-spec>

 <lire:filter-spec>
  <lire:ne arg1="$stat" arg2="sent"/>
 </lire:filter-spec>

 <lire:report-calc-spec>
  <lire:group sort="-error_total">
   <lire:field name="to_relay_host"/>
   <lire:count name="error_total"/>
   <lire:group sort="-error_by_stat_total">
    <lire:field name="stat"/>
    <lire:count name="error_by_stat_total"/>
   </lire:group>
  </lire:group>

 </lire:report-calc-spec>

</lire:report-spec>

<!-- 
Keep this comment at the end of the file
Local variables:
mode: xml
-->