[GRLUG] Email Archive 'extraction'

Michael Mol mikemol at gmail.com
Wed Dec 21 16:52:01 EST 2011


On Wed, Dec 21, 2011 at 4:47 PM, L. V. Lammert <lvl at omnitec.net> wrote:
> We took over a client a few years ago [i.e. not built here] that uses an
> email archive system that copies all email to a separate user, then copies
> that user to an archive file and tar.gz's it.
>
> We need to extract all emails from/to a user that left. Doing an mbox ->
> maildir would be simplest, but it would also require blowing out ALL email
> from the past five years (since the archive started).
>
> Has anyone ever tried to 'pull' emails from a mbox only if they contain a
> specified email address?

Obligatory: http://xkcd.com/208/

But some Perl code with a maildir-walking module seems like it'd be
the most likely solution.

-- 
:wq

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list