From 26fdec5d23301d7e0e8b957ec8ad5287c9e9b7f4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 23 Aug 2015 00:31:28 +0000 Subject: mbox: clarify our use of the the mboxrd variant Commenting it in the From: line seems appropriate and reduces compatibility problems in case a MUA cannot handle trailing comments after the timestamp. --- lib/PublicInbox/Mbox.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/PublicInbox/Mbox.pm') 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 # 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); -- cgit v1.2.3-24-ge0c7