about summary refs log tree commit homepage
path: root/lib/PublicInbox/Mbox.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-23 00:31:28 +0000
committerEric Wong <e@80x24.org>2015-08-23 00:31:28 +0000
commit26fdec5d23301d7e0e8b957ec8ad5287c9e9b7f4 (patch)
tree877ae4b8de53ddfda19b2187976471a7208f9acc /lib/PublicInbox/Mbox.pm
parent76ce9fbacfd29e19b47aeba786daca20b2b01117 (diff)
downloadpublic-inbox-26fdec5d23301d7e0e8b957ec8ad5287c9e9b7f4.tar.gz
Commenting it in the From: line seems appropriate and
reduces compatibility problems in case a MUA cannot handle
trailing comments after the timestamp.
Diffstat (limited to 'lib/PublicInbox/Mbox.pm')
-rw-r--r--lib/PublicInbox/Mbox.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm
index 332e89a7..9af92793 100644
--- a/lib/PublicInbox/Mbox.pm
+++ b/lib/PublicInbox/Mbox.pm
@@ -1,6 +1,6 @@
 # Copyright (C) 2015, all contributors <meta@public-inbox.org>
 # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt)
-# Streaming interface for formatting messages as an mbox
+# Streaming interface for formatting messages as an mboxrd
 package PublicInbox::Mbox;
 use strict;
 use warnings;
@@ -36,7 +36,7 @@ sub emit_msg {
 
         my $buf = $simple->header_obj->as_string;
         unless ($buf =~ /\AFrom /) {
-                $fh->write("From a\@a Thu Jan  1 00:00:00 1970\n");
+                $fh->write("From mboxrd\@z Thu Jan  1 00:00:00 1970\n");
         }
         $fh->write($buf .= $simple->crlf);