Hi,
On Sunday night I went to bed after working on our e-business. All the mail on our server had been downloaded (it checks every 5 minutes) using outlook.
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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.