Andrew Libby on 10 Aug 2005 15:06:36 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] grepmail + maildir


Is anyone using beagle for this kind of thing?
I've been thinking about running it, but just not
gotten the thing fully installed yet.

Andy


Jeff Abrahamson wrote:

>On Mon, Aug 08, 2005 at 12:53:03AM -0500, Chris Cera wrote:
>  
>
>>  [32 lines, 192 words, 1457 characters]  Top characters: eait_srn
>>
>>I'm just starting to play around with maildir and was hoping to
>>understand how people store and search email with maildir.  
>>    
>>
>
>I read the first line and thought, "Funny, Chris Cera is doing the
>same thing."  Then I saw it was you. ;-)
>
>
>  
>
>>With the mbox format, I bzip2 all my mails in an archive/
>>directory.  When I want to search my archives I use grepm, a
>>script that calls mutt with grepmail's results.  Grepmail is able
>>to decompress the archive and return all the mail that matches
>>the search.  Something like: 
>>    $ grepm foobar archive/2005*.default.mbox
>>
>>I would like to implement a similar scheme using maildir, only it
>>makes sense (I think) to use tar.bz2 here.  I ran a quick test
>>that failed:
>>    $ grepm cera Maildir.tar.bz2
>>    grepmail: "Maildir.tar.bz2" is not a mailbox, skipping
>>    No matches.
>>
>>I could re-convert back to mbox for archives, and leave my system
>>as-is (hoping such a script already exists).  I'm not sure what
>>advantages I get by storing the archives in maildir ... since I
>>think most advantages seem to occur in production, not offline.
>>    
>>
>
>Other than using more inodes, is there a big difference in space used
>just bzipping individual mail files instead of putting in an mbox and
>bzipping that?
>
>  
>
>------------------------------------------------------------------------
>
>___________________________________________________________________________
>Philadelphia Linux Users Group         --        http://www.phillylinux.org
>Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
>General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>  
>


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug