http://qs1969.pair.com?node_id=470069


in reply to Mail::Box fails miserably when trying to open 30_000 messages maildir

Why not just write a small routine that tests the folder to see if there's more than x number of emails, and if so, moves the excess to a series of secondary folders, each of which can then by loaded without problems? I assume your objective is to filter the catch-all email and move the good messages to a different place, so separating the catch-all into several locations temporarily probably won't cause trouble.

This would be classified as the "easy" way out. I know programmers love to do things the hard way.

  • Comment on Re: Mail::Box fails miserably when trying to open 30_000 messages maildir

Replies are listed 'Best First'.
Re^2: Mail::Box fails miserably when trying to open 30_000 messages maildir
by polettix (Vicar) on Jun 26, 2005 at 22:37 UTC
    That's a nice workaround. Solving the problem the hard way will probably help others not to be biten in the future.

    Flavio
    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Don't fool yourself.