[Mailman-Developers] broken mbox?

Sean Reifschneider jafo@tummy.com
Mon, 11 Oct 1999 19:22:56 -0600

On Mon, Oct 11, 1999 at 03:59:35PM -0400, Corbett J. Klempay wrote:
>>From acm-admin@chi

To answer your second question first, a '>' is often inserted before a bare
'From ' in position 0 to prevent it from being mistaken for the beginning
of a new message.  See:

From here on out.
From my point of view.
From what I've heard.

As far as the mailbox class, it expects a from line to match the following
regular expression:

	_fromlinepattern = r"From \s*[^\s]+\s+\w\w\w\s+\w\w\w\s+\d?\d\s+" \

Your line above doesn't (it's looking for
"From something Mon Oct 11 19:21:12 MDT 1999" (where the "MDT" part is
optional).  That's your problem.

According to the docs for mailbox, you can override the _fromlinepattern
regex, or the entire _isrealfromline() method if you wish.

That should take care of it.

 Put out fires during the daytime.  Do your real work at night.
 Sleep is just an addiction.  -- Dieter Muller
Sean Reifschneider, Inimitably Superfluous <jafo@tummy.com>
URL: <http://www.tummy.com/xvscan> HP-UX/Linux/FreeBSD/BSDOS scanning software.