Bug#442912: libmail-box-perl: autodetection of MH folders not working correctly

Celejar celejar at gmail.com
Mon Sep 24 17:24:19 UTC 2007


On Mon, 24 Sep 2007 18:31:20 +0200
gregor herrmann <gregor+debian at comodo.priv.at> wrote:

> On Mon, 17 Sep 2007 16:07:33 -0400, Celejar wrote:
> 
> > Many of my (Sylpheed created and maintained) MH folders are incorrectly
> > autodetected as mboxes, resulting in subsequent chaos.  The attached
> > simple recursive directory traversal code works fine when "type => 'mh'"
> > is specified, but without it many of my MH folders are identified as
> > mboxes, and the script doesn't work correctly.
> 
> Hi,
> 
> the upstream author proposes a patch that could fix this problem or
> ask for an example MH set.
> Could you please look at
> http://rt.cpan.org/Public/Bug/Display.html?id=29579 and check if this
> works for you?

If IIUC, the patch involves replacing 

? $self->{MB_manager}->open(@options)

with

? $self->{MB_manager}->open(type => ref($self), @options)

in /usr/share/perl5/Mail/Box.pm

I have done so, and the problem remains.  If I have misunderstood this,
just let me know.  I am enclosing a MH folder set for which my original
code gives spurious mbox ids.

> Cheers,
> gregor

Thanks,

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mbbug.tar.gz
Type: application/octet-stream
Size: 192 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20070924/8557c611/attachment.obj 


More information about the pkg-perl-maintainers mailing list