Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by TedPride (Priest)
on Jun 26, 2005 at 20:45 UTC ( #470069=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://470069]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2022-01-28 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?