Your message dated Tue, 28 Apr 2026 07:49:42 +0000
with message-id <[email protected]>
and subject line Bug#815198: fixed in debbugs 2.6.5
has caused the Debian Bug report #815198,
regarding NEW script: /usr/lib/debbug/mbox <bugno>
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
815198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815198
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debbugs
Version: 2.6.0~exp1+git20160213.3eea543
Severity: wishlist
Hi,
I have hacked together a little new script named "mbox". I have it in
/usr/lib/debbugs.
The script prints a bug number's mailbox to stdout. Maybe it is helpful.
Script is attached. It has been derived from bugreport.cgi.
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de
#!/usr/bin/perl
use warnings;
use strict;
use POSIX qw(strftime);
use Debbugs::Config qw(:globals :text);
# for read_log_records
use Debbugs::Log qw(read_log_records);
use Debbugs::Common qw(buglog bug_status);
use Debbugs::Status qw( split_status_fields get_bug_status);
use Debbugs::MIME qw(create_mime_message);
use List::Util qw(max);
my $ref = shift or die;
my %bugusertags;
my $buglog = buglog($ref);
my $bug_status = bug_status($ref);
my $buglogfh;
if ($buglog =~ m/\.gz$/) {
my $oldpath = $ENV{'PATH'};
$ENV{'PATH'} = '/bin:/usr/bin';
$buglogfh = IO::File->new("zcat $buglog |") or quitcgi("open log for $ref:
$!");
$ENV{'PATH'} = $oldpath;
} else {
$buglogfh = IO::File->new($buglog,'r') or quitcgi("open log for $ref: $!");
}
my %status =
%{split_status_fields(get_bug_status(bug=>$ref,
bugusertags => \%bugusertags,
))};
my @records;
eval{
@records = read_log_records($buglogfh);
};
my $mbox = 1;
my @log;
if ( $mbox ) {
binmode(STDOUT,":raw");
my $date = strftime "%a %b %d %T %Y", localtime;
my $message_number=0;
my %seen_message_ids;
for my $record (@records) {
next if $record->{type} !~ /^(?:recips|incoming-recv)$/;
my $wanted_type = 'incoming-recv';
# we want to include control messages anyway
my $record_wanted_anyway = 0;
my ($msg_id) = $record->{text} =~ /^Message-Id:\s+<(.+)>/im;
next if defined $msg_id and exists $seen_message_ids{$msg_id};
next if defined $msg_id and $msg_id
=~/handler\..+\.ack(?:info|done)?\@/;
$record_wanted_anyway = 1 if $record->{text} =~ /^Received: \(at
control\)/;
next if not $record->{type} eq $wanted_type and not
$record_wanted_anyway and @records > 1;
$seen_message_ids{$msg_id} = 1 if defined $msg_id;
my @lines = split( "\n", $record->{text}, -1 );
if ( $lines[ 1 ] =~ m/^From / ) {
my $tmp = $lines[ 0 ];
$lines[ 0 ] = $lines[ 1 ];
$lines[ 1 ] = $tmp;
}
if ( !( $lines[ 0 ] =~ m/^From / ) ) {
unshift @lines, "From unknown $date";
}
map { s/^(>*From )/>$1/ } @lines[ 1 .. $#lines ];
print join( "\n", @lines ) . "\n";
}
exit 0;
}
pgp6vcReGZQTy.pgp
Description: Digitale PGP-Signatur
--- End Message ---
--- Begin Message ---
Source: debbugs
Source-Version: 2.6.5
Done: Bill Allombert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debbugs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bill Allombert <[email protected]> (supplier of updated debbugs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 27 Apr 2026 22:05:07 +0200
Source: debbugs
Architecture: source
Version: 2.6.5
Distribution: unstable
Urgency: medium
Maintainer: Debbugs developers <[email protected]>
Changed-By: Bill Allombert <[email protected]>
Closes: 815198 979319
Changes:
debbugs (2.6.5) unstable; urgency=medium
.
[ Colin Watson ]
* scripts/process: import missing handle_escaped_commas
* bugreport.tmpl: fix typo uselessmesages -> uselessmessages
* pkgreport_options.tmpl: Add labels for pkgreport "Misc options"
.
[ Don Armstrong ]
* New config option $gCcAllmailsToAddr
* Debbugs/CGI/Pkgreport.pm: generate_package_info:
- use package_tracking_domain instead of subscription_domain
* Support X-Debbugs-Cc inside pseudo-headers
* cgi/version.cgi:
- Output useful messages when there is an empty version graph
- Load the source package versions as well as the binary package
* Debbugs/Status.pm: Suppress malformed UTF-8 warnings when reading status
* bugreport.tmpl: Fix link rel="canonical" (closes: #979319)
.
[ Bill Allombert ]
* debian/control: Update Standards-Version to 4.7.4
.
[ Mike Gabriel ]
* script/bug2mbox: retrieve mbox associated to bug number locally
(closes: #815198)
Checksums-Sha1:
68a2ce3cbc47eeb3713fda671dd7c1dd141d6868 2397 debbugs_2.6.5.dsc
0d292cf38a1241106e3e92c014814438f6fd416d 256196 debbugs_2.6.5.tar.xz
74f7256876dd61c640c8399b84d50e4e21aa71c1 5798 debbugs_2.6.5_source.buildinfo
Checksums-Sha256:
e9f190a0cf51ddfe2af6fc05dd7ea1399a9883963bffc37529598a32a0d08901 2397
debbugs_2.6.5.dsc
1cc9f13118917cadfdb6d286d257632d125df554bcff9b68489aa5335f61cd5c 256196
debbugs_2.6.5.tar.xz
08738b704cfd235835e48e0f61a578eae1132918fc9fb6ea0f3354b3346638ce 5798
debbugs_2.6.5_source.buildinfo
Files:
af3845bdde17a70e93788796e26bf5f3 2397 misc optional debbugs_2.6.5.dsc
7e2f3ab6f9e90a048c80090a059a5acf 256196 misc optional debbugs_2.6.5.tar.xz
dbb52bebd797b67eb6b4f69cd750048b 5798 misc optional
debbugs_2.6.5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQgKOpASi6dgKxFMUjw58K0Ui44cFAmnwZGMACgkQjw58K0Ui
44c2JRAAjeIJSKoHM0R/aIf1uxPcGGOTcOW9Z+Xqm8puWqemQoc81raVHbrHuwSb
AyYPTpZfT4i/B35gUTv9Sg9/kJJI2r2qdGqtG/cZS5ERLTol0n7xYb6Uzbg7JPHz
mD4NVar0ANMUTRZMRTxXqi3XXMz2n8WJbNQiWQwx7ZrtDKWGMMjjxtfmgnXHchzL
zHAmnPQ+Tat2+2YW+ZxLxtMnmMM8kzXdH9NMRyLGQQcdfM+OoFUL7zBKUDxL6r2F
Nno7WcWhgQ44sIMOMDVoTHod6Ld/56AWVvGfpc81KnwQ1mkABjZqt8KdggvOnXKW
RiPlIPddd4Z4Zb6zPnSepcZasvLOh5wTOs7MbzBJiMtsxsBfcIDqy6Yy+LrzH0uh
mskFvV2OWpsnVHwXcYgjinBm/q3eanyETlKvMOtRBKR5621BOaOpx5QYWa3L1KBi
EVuvyiQOPl3ESnL436ByFtRUbU8BcHGTCWYnkwC9u6/rQblh5OhdgWzOYmKRwWYL
RKuDD/Ub7w6+y2T9EczBqjPRsm4OJB4vwT/25yBeLxMSwjdp+lxtreKQBVkhrk8W
04Y6oKSmsWnAYl7wDTjWSBGg7knoyAiDDqEC+q3Yu9tW3vpYQq7iZiu4GA4ci6Xp
3e2FilpAMJqtGD+39vW0QulPk+Xl4RIaWP8UZVu9JVFioEC7hLE=
=/W4Q
-----END PGP SIGNATURE-----
pgpIV2EyfjFqb.pgp
Description: PGP signature
--- End Message ---