[cvs] bogofilter/contrib mime.get.rfc822,NONE,1.1

Matthias Andree matthias.andree at gmx.de
Tue May 20 19:26:44 CEST 2003


Simon Huggins <huggie at earth.li> writes:

> 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?

That's fine, I hadn't realized that $body really meant the body and not
just a line of it. (I keep thinking line-oriented when reading Perl
code.)

Thanks for your speedy reply.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list