[oclug] Saving and indexing all incoming email
David F. Skoll
dfs at roaringpenguin.com
Thu Mar 21 17:08:42 EST 2002
On Thu, 21 Mar 2002, Ian! D. Allen wrote:
> I've been doing that for over 10 years now. The problem now is how to
> find stuff. Grep gets kind of sluggish on directories containing several
> hundred thousand email messages occupying hundreds and hundreds of MB.
I do it by month in .procmailrc:
REC=`date +%Y-%m`
:0 c
Received-Archive/${REC}
So I get Recevied-Archive/2002-01, 2002-02, etc. If I can more-or-less
remember the time frame of the message I'm looking for, I don't need
to grep through them all.
If you have 10 years worth of messages in a few files, it shouldn't be
hard to split them into individual files on a web server and index
them using ht://Dig, or some equivalent.
--
David.
More information about the OCLUG
mailing list