This file is indexed.

/usr/lib/debbugs/mailsummary is in debbugs 2.6.0.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 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
#!/usr/bin/perl
# $Id: mailsummary.in,v 1.11 2003/04/28 23:51:15 cjwatson Exp $

$config_path = '/etc/debbugs';
$lib_path = '/usr/lib/debbugs';

require("$config_path/config");
require("$lib_path/errorlib");
$ENV{'PATH'} = $lib_path.':'.$ENV{'PATH'};

chdir("$gSpoolDir") || die "chdir spool: $!\n";

#open(DEBUG,">&4");

if ($ARGV[0] eq 'undone') {
    $vdef= "(no outstanding $gBug reports on file, or problem running script)\n";
    $subject= "Unanswered problem reports by date";
    $intro=
"The following problem reports have not yet been marked as `taken up\' by a
message to done\@$gEmailDomain or or `forwarded\' by a
message to forwarded\@$gEmailDomain."
    ;
} elsif ($ARGV[0] eq 'bymaint') {
    $vdef= "(no outstanding $gBug reports on file, or problem running script)\n";
    $subject= "Unanswered problem reports by maintainer and package";
    $intro=
"The following problem reports have not yet been marked as `taken up\' by a
message to done\@$gEmailDomain or or `forwarded\' by a
message to forwarded\@$gEmailDomain.
The maintainer listed against each package is derived from the Maintainer
field of the package found in the development tree; there is an override file
that can be amended to get the right results if you have taken over a package
and do not expect to issue a new version soon.

Variant versions of the Maintainer field for the same actual package
maintainer will be listed separately.

Maintainers with few outstanding $gBugs appear first, to avoid those with few
$gBugs being lost deep in the message.
"
    ;
} elsif ($ARGV[0] eq 'veryold') {
    $vdef= '';
    $subject= "Overdue problem reports by age";
    $intro=
"The following problem reports are very old but have not yet been marked
as `taken up\' by a message to done\@$gEmailDomain as forwarded
to a developer by CCing a message to forwarded\@$gEmailDomain.
Please help ensure that these $gBugs are dealt with quickly, even if you
are not the package maintainer in question.  (NB a full list of outstanding
$gBug reports is posted periodically - this is a partial list only!)
"
} else {
    die "urgk, wrong argument @ARGV";
}

$v=`$lib_path/summary $ARGV[0]`; $? && die "undone failed $?: $!\n";

$v= $vdef if $v eq '';
exit 0 if $v eq '';

open(D, '| '.join(' ',('/usr/lib/sendmail','-f'.$gMaintainerEmail)).' -odq -oem -oi -t') ||
    die "start sendmail: $!";

print D <<END || die "complete sendmail";
From: $gMaintainerEmail ($gProject $gBug Tracking System)
To: $gSummaryList\@$gListDomain
Subject: $subject

$intro
$v
Every Tuesday, the listing by package maintainer is posted.
Every Friday, the listing by age of the report is posted.

Please see the documentation for more information about how to
use the $gBug tracking system.  It is available on the WWW at
<A HREF=\"$gWebDomain/txt/\">$gWebDomain/txt</A>
END

close(D);
$? && die "sendmail failed $?: $!\n";

print length($v)," bytes of summary posted.\n";