blank line [was: mime.get.rfc822]
David Relson
relson at osagesoftware.com
Tue May 20 15:31:39 CEST 2003
At 09:06 AM 5/20/03, Simon Huggins wrote:
>On Tue, May 20, 2003 at 02:26:17PM +0200, Matthias Andree wrote:
> > relson at users.sourceforge.net writes:
> > > Added Files:
> > > mime.get.rfc822
>[..]
> > > my $body = $subent->stringify_body;
> > > $body =~ s/^From />From /mg;
> > > $body =~ s/\n*$/\n\n/;
> > What's the previous line (the LF fiddling) good for?
>
>It ensures there's a blank line between messages. I thought this was
>required for mbox format?
>
>
>Simon.
Simon,
Bogofilter doesn't need the blank line. Having never read a spec on mbox
format, I don't know if there's _supposed_ to be one, or not. Looking at
the mbox files used by postfix, I _do_ see a blank line before each "^From ".
David
More information about the bogofilter-dev
mailing list