http://bugzilla.spamassassin.org/show_bug.cgi?id=3664





------- Additional Comments From [EMAIL PROTECTED]  2004-08-04 10:54 -------
Subject: Re:  New: different results from invoking mass-check with -file and 
-mbox on the attached message

On Wed, Aug 04, 2004 at 03:23:58AM -0700, [EMAIL PROTECTED] wrote:
> I can't figure out what in this message is generating the undefined return 
> from
> get_header("message-id") and why mass-check --mbox is thinking there are 2
> messages in this file. 

The file you sent up is a malformed mbox file.  Mbox files use "^From "
as a separator between messages, so SA sees two messages in mbox format:

>From [EMAIL PROTECTED] Wed Aug  4 03:53:46 2004
>From Honourable Mike Robertson. 

That second one ought to be ">From ..."

--file tells SA to use the file as a single message, which is why it
does what you want.

> FWIW, mutt opens the file correctly

They could be using a heuristic to figure out that the "From
Honour..." line doesn't look like a standard mbox line, but that's a
feature not a requirement to parse mbox files.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to