mailbox module broken!

Stuart D. Gathman stuart at bmsi.com
Thu Oct 3 15:45:00 EDT 2002


On Thu, 03 Oct 2002 14:15:09 -0400, Skip Montanaro wrote:

>     Stuart> mbox = mailbox.UnixMailbox(f) ...
> 
> Does the problem disappear if you use the mailbox.PortableUnixMailbox
> class? Many systems don't generate valid From_ lines.
> PortableUnixMailbox treats any line beginning with "From " as a From_
> line.  UnixMailbox uses a much stricter definition.
 
Yes the problem disappears when I use PortableUnixMailbox.  I guess UW
IMAP isn't so portable.

As a bonus, PortableUnixMailbox is also much faster than the strict
definition.

So when would one use 'UnixMailbox'?

-- 
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - Mozart background
song for the Microsoft "Where do you want to go from here?" commercial.



More information about the Python-list mailing list