From owner-freebsd-questions Fri Sep 28 17:55: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-94-248-46.mmcable.com [24.94.248.46]) by hub.freebsd.org (Postfix) with SMTP id 8CB1837B40C for ; Fri, 28 Sep 2001 17:55:06 -0700 (PDT) Received: (qmail 67649 invoked by uid 100); 29 Sep 2001 00:55:05 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15285.7145.953374.638924@guru.mired.org> Date: Fri, 28 Sep 2001 19:55:05 -0500 To: Giorgos Keramidas Cc: questions@freebsd.org Subject: Re: Looking for Mr good mail archiver port...[OT ?] In-Reply-To: <20010929031840.A74527@hades.hell.gr> References: <108871926@toto.iv> <15284.49504.73445.529806@guru.mired.org> <20010929031840.A74527@hades.hell.gr> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Giorgos Keramidas types: > Mike Meyer wrote: > > Once WAIS started blowing on my personal folder, I found that standard > > Unix tools work fairly well. I sort the mail out into directories by > > month, one message per file. So doing things like "look for a message > > in june or july about SCSI disks" turns into: > > > > find 2001-0[67] -type f | xargs grep -i "^subject:.*scsi" > > > [snip] > > Which reminds me a lot of MH folders. My archive contains MH folders, folders from my home-grown Amiga UMA, and qmail Maildirs. > I think I'll try to have procmail split the mail automagically in MH > folders depending on the `year-month', as in: > > ~/Mail/freebsd-questions/2001/09/* > ~/Mail/freebsd-questions/2001/10/* > ... qmail makes doing this kind of thing easy. Just create freebsd-questions as a maildir, and have your .qmail deliver the -questions mail to that. The newest stuff will then be in freebsd-questions/new. You then use a periodic/monthly script that moves all the messages that arrived last month to the appropriate directory in freebsd-questions. I think my script would take three changes to make it do what you want: change the outdir from $year-$month to $year/$month, the cd to the archive directory, and adding a "-p" to the mkdir. > I really loved the ideas that started popping up with your message, Mike. > Thanks a lot :) You're welcome. -- Mike Meyer http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message