Incremental indexing

---------

From: Bill Moseley (moseley@hank.org)
Date: Wed Dec 26 2001 - 17:31:44 CST


I'm confused about incremental additions. If I have mboxes:

-rw-r--r-- 1 moseley moseley 24358 Dec 26 13:34 200109
-rw-r--r-- 1 moseley moseley 22480 Dec 26 13:34 200110
-rw-r--r-- 1 moseley moseley 0 Dec 26 13:34 200111
-rw-r--r-- 1 moseley moseley 209617 Dec 26 13:34 200112

Can't I build the archive like:

>cat hmrc
dir = docs-dev
deleted = X-blabla
warn_surpressions = On

>hypermail -c hmrc -p -m 200109
>hypermail -c hmrc -p -m 200110
>hypermail -c hmrc -p -m 200111
>hypermail -c hmrc -p -m 200112

>From man hypermail:

       Note: If the mailbox that is being read from is an archive
       that new messages are always being added to, don't use the
       -u or -x options. Hypermail will then read in all the
       messages given it but will only write new messages that
       have been appended to the mailbox.

This works:

>cat 200109 200110 200111 200112 | hypermail -c hmrc -p -i

Also, anyone have a procmail (via .forward) recipe to index messages as
they come in? And is it best to use procmail's locking, or hypermail's?

Bill Moseley
mailto:moseley@hank.org


---------

This archive was generated by hypermail 2.1.5.