[LUNI] Search every part of the e-mail?

David Terrell dbt at meat.net
Fri May 18 10:03:02 CDT 2007


Glimpse?

On Thu, May 17, 2007 at 03:07:30PM -0400, Keith T. Garner wrote:
> So, I have a problem where I need to look at every e-mail from the past 
> 2 years and find certain search terms.  This inlcudes the contents of 
> all attachments as well.    The mail is stored on linux in Maildor 
> format and is also accessable via imap.
> 
> I figured I'd ask here to see if anyone has any brilliant ideas that 
> will save me time.
> 
> I figured I'd write a script to visit every e-mail box  then apply the 
> search terms and time search.  The problem, though, is that this won't 
> search the attachments.  So, I'm thinking I'll have to write another 
> search to find everything that has an attachment and then write a 
> potential buttload of code that knows how to (shell out to) examine each 
> type of attachment I come across.
> 
> As a programmer, my first thought is 'write something' but maybe there 
> is a better way.
> 
> Keith
> 
> --
> Keith T. Garner            kgarner at kgarner.com
> -- 
> Linux Users Of Northern Illinois - Technical Discussion 
> http://luni.org/mailman/listinfo/luni
> 

-- 
David Terrell
dbt at meat.net
((meatspace)) http://meat.net/


More information about the luni mailing list