Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Monday we have 17,000 emails in our inbox on the server and neither outlook, mailwasher, squirrel can open the inbox because they time out (it's too big).
This has never happened to us before. On a typical day we get around 500 emails. I can't completely erase or dump the inbox file because customers emailed us and we need to get their emails.
Is there some type of command line perl mail program that can go and run through the file and perform certain commands? We basically want to delete any emails that were NOT sent to a three our email addresses. All the others can be deleted. We also need to invesitgate and see why this happened.
Any suggestions? Otherwise, I can write my own program, but I'm afraid of messing or corrupting the format of the inbox file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mail help
by liverpole (Monsignor) on Nov 28, 2006 at 17:41 UTC | |
|
Re: Mail help
by madbombX (Hermit) on Nov 28, 2006 at 17:48 UTC | |
|
Re: Mail help
by grep (Monsignor) on Nov 28, 2006 at 17:45 UTC |