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

Re: OT: Managing huge Mail/ folders (with mutt?)



Karsten and others,

Firstly, thank you all for the responses.

On Mon, 12 Jul 2004 02:35 pm, Karsten M. Self wrote:
> on Sun, Jul 11, 2004 at 07:18:55PM +1000, James Sinnamon 
<snip/>
> > > So could anyone tell me how they handle ever growing Mail 
> > folders?  Perhaps 'mutt' is the way to go?
>
> Procmail, or its equivalents.
<snip/>
> A small section of my own list.rules file, handling Debian mailing
> lists, looks like the following.  Basically, it says "if this was a
> Debian list mail...", then tests for various list signatures and drops
> the mail into an appropriate box:
>
> ------------------------------------------------------------------------
> * (^TO)bad@bad.debian.net
> $LISTDIR/Debian/debian-bad/
>
> :0
>
> * (^TO|^X-Mailing-List:.*)debian
> {
>
>         :0:
>
>         * ^X-Mailing-List:.*debian-openoffice@lists.debian.org
>         $LISTDIR/Debian/debian-openoffice/
>
>         :0:
>
>         * ^X-Mailing-List:.*debian-qa@lists.debian.org
>         $LISTDIR/Debian/debian-qa/
>
<snip/>
>         :0:
>
>         * 1^0 (^TO|^X-Mailing-List:.*)debian.*-announce@lists.debian.org
>         * 1^0 (^TO|^X-Mailing-List:.*)debian-news@lists.debian.org
>         $INBOX
>
>         # Catch-all
>
>         :0:
>
>         $INBOX
> }
> ------------------------------------------------------------------------
Thanks for the explanation of procmail and the example. 

Of course you would be aware that Kmail's filtering capabilities 
can do something similar to what is done above.  Do you use procmail 
instead of, or as a complement to, a GUI e-mail client such as Kmail?

On Sun, 11 Jul 2004 10:32 pm, S.D.A. wrote:
> What I do, is use a nice little utility called "archivemail" and set it up
> via CRON to archive my mail folders (mbox) at least once a month. Then I
> use another utility called "grepmail" which can search both my active
> mboxes and the compressed archived mail.

I take it that archivemail can handle mail folders and files which are
already broken down in to sub-folders, such as mine, some of which
are shown below?

---------------------------------------
  me:Mail$ find .
  .
  ./inbox
  ./.inbox.index
  ./outbox
  ./.outbox.index
  ./sent-mail
  ./.sent-mail.index
  ./trash
  ./.trash.index
  ./drafts
  ./.drafts.index

  ...

  ./.lists.directory

  ...

  ./.lists.directory/zope
  ./.lists.directory/zope/new
  ./.lists.directory/zope/cur
  ./.lists.directory/zope/cur/1084688626.13214.23Wk:2,S
  ./.lists.directory/zope/cur/1084707019.13214.qrEX:2,S

  ...

  ./.lists.directory/zope/cur/1087378026.2080.H4Yb:2,S
  ./.lists.directory/zope/tmp
  ./.lists.directory/.zope.index
  ./.lists.directory/.zope.index.ids

  ...

  ./.lists.directory/debian-user
  ./.lists.directory/debian-user/new
  ./.lists.directory/debian-user/cur
  ./.lists.directory/debian-user/cur/1085365323.1786.Ui0D:2,S
  ./.lists.directory/debian-user/cur/1085365323.1786.Ejn3:2,S

  ...

  ./.djvm.index.sorted
  ./.srec.index.sorted
  ./.tmp.index.sorted

-----------------------------------

Thanks again all,

regards,

James

-- 
James Sinnamon
frodo000@bigpond net au 
+61 412 319669, +61 2 95692123
(aka jaymz-.a.t.-bigpond-net-auStralia)



Reply to: