Non-public-inbox users may want to archive their personal email
with ssoma, so preserve the Status: line if it exists. public-inbox
already kills the Status: header.
my $path = $git->mid2path($mid);
# kill potentially confusing/misleading headers
- foreach my $d (qw(status lines content-length)) {
+ foreach my $d (qw(lines content-length)) {
$simple->header_set($d);
}
"From" => "You <you\@example.com>",
"Message-ID" => "<666\@example.com>",
"Subject" => ":o",
- "Status" => "RO",
"Lines" => "666",
"Content-Length" => "666",
);
-my %discard = map { $_ => 1 } qw(Status Lines Content-Length);
+my %discard = map { $_ => 1 } qw(Lines Content-Length);
while (my ($key, $val) = each %headers) {
$email->header_set($key, $val);