/[smeserver]/rpms/qmailanalog/sme8/qmailanalog-0.70-sortfix.patch
ViewVC logotype

Annotation of /rpms/qmailanalog/sme8/qmailanalog-0.70-sortfix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Jan 16 04:10:15 2012 UTC (12 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: qmailanalog-0_70-8_el5_sme, HEAD
Change sort options to fix mail reports, by Filippo Carletti [SME: 6813]

1 wellsi 1.1 diff -Nur ../qmailanalog-0.70.orig//zdeferrals.sh ./zdeferrals.sh
2     --- ../qmailanalog-0.70.orig//zdeferrals.sh 1998-08-30 21:39:27.000000000 +0000
3     +++ ./zdeferrals.sh 2010-08-06 17:43:00.000000000 +0000
4     @@ -5,4 +5,4 @@
5     * xdelay is the total xdelay on those deliveries.
6     '
7     ( echo del xdelay reason
8     -HOME/bin/deferrals | sort +2 ) | HOME/bin/columnt | tr _ ' '
9     +HOME/bin/deferrals | sort -k 3 ) | HOME/bin/columnt | tr _ ' '
10     diff -Nur ../qmailanalog-0.70.orig//zfailures.sh ./zfailures.sh
11     --- ../qmailanalog-0.70.orig//zfailures.sh 1998-08-30 21:39:27.000000000 +0000
12     +++ ./zfailures.sh 2010-08-06 17:43:08.000000000 +0000
13     @@ -5,4 +5,4 @@
14     * xdelay is the total xdelay on those deliveries.
15     '
16     ( echo del xdelay reason
17     -HOME/bin/failures | sort +2 ) | HOME/bin/columnt | tr _ ' '
18     +HOME/bin/failures | sort -k 3 ) | HOME/bin/columnt | tr _ ' '
19     diff -Nur ../qmailanalog-0.70.orig//zrecipients.sh ./zrecipients.sh
20     --- ../qmailanalog-0.70.orig//zrecipients.sh 1998-08-30 21:39:27.000000000 +0000
21     +++ ./zrecipients.sh 2010-08-06 17:43:20.000000000 +0000
22     @@ -7,4 +7,4 @@
23     * xdelay is the total xdelay incurred by this recipient.
24     '
25     ( echo sbytes mess tries xdelay recipient
26     -HOME/bin/recipients | sort +4 ) | HOME/bin/columnt
27     +HOME/bin/recipients | sort -k 5 ) | HOME/bin/columnt
28     diff -Nur ../qmailanalog-0.70.orig//zrhosts.sh ./zrhosts.sh
29     --- ../qmailanalog-0.70.orig//zrhosts.sh 1998-08-30 21:39:27.000000000 +0000
30     +++ ./zrhosts.sh 2010-08-06 17:44:27.000000000 +0000
31     @@ -7,4 +7,4 @@
32     * xdelay is the total xdelay incurred by this host.
33     '
34     ( echo sbytes mess tries xdelay host
35     -HOME/bin/rhosts | sort +4 ) | HOME/bin/columnt
36     +HOME/bin/rhosts | sort -k 5 ) | HOME/bin/columnt
37     diff -Nur ../qmailanalog-0.70.orig//zsenders.sh ./zsenders.sh
38     --- ../qmailanalog-0.70.orig//zsenders.sh 1998-08-30 21:39:27.000000000 +0000
39     +++ ./zsenders.sh 2010-08-06 17:43:54.000000000 +0000
40     @@ -10,4 +10,4 @@
41     * xdelay is the total xdelay incurred by this sender.
42     '
43     ( echo mess bytes sbytes rbytes recips tries xdelay sender
44     -HOME/bin/senders | sort -n +7 ) | HOME/bin/columnt
45     +HOME/bin/senders | sort -n -k 8 ) | HOME/bin/columnt
46     diff -Nur ../qmailanalog-0.70.orig//zsuccesses.sh ./zsuccesses.sh
47     --- ../qmailanalog-0.70.orig//zsuccesses.sh 1998-08-30 21:39:27.000000000 +0000
48     +++ ./zsuccesses.sh 2010-08-06 17:42:37.000000000 +0000
49     @@ -5,4 +5,4 @@
50     * xdelay is the total xdelay on those deliveries.
51     '
52     ( echo del xdelay reason
53     -HOME/bin/successes | sort +2 ) | HOME/bin/columnt | tr _ ' '
54     +HOME/bin/successes | sort -k 3 ) | HOME/bin/columnt | tr _ ' '
55     diff -Nur ../qmailanalog-0.70.orig//zsuids.sh ./zsuids.sh
56     --- ../qmailanalog-0.70.orig//zsuids.sh 1998-08-30 21:39:27.000000000 +0000
57     +++ ./zsuids.sh 2010-08-06 17:44:16.000000000 +0000
58     @@ -10,4 +10,4 @@
59     * xdelay is the total xdelay incurred by this uid.
60     '
61     ( echo mess bytes sbytes rbytes recips tries xdelay uid
62     -HOME/bin/suids | sort -n +7 ) | HOME/bin/columnt
63     +HOME/bin/suids | sort -n -k 8 ) | HOME/bin/columnt

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed