Re: Can mhonarc syncrone an archive with a message file?

1998-10-08 17:18:46
On Thu, 8 Oct 1998, Earl Hood wrote:

On October 8, 1998 at 13:38, Carl Riches wrote:

The help-desk manager (a person) scans the inbox every now and then to 
remove all messages pertaining to a request that has been resolved.  We
need to make mhonarc syncronize the mail archive with the contents of the
inbox.  That is, we need mhonarc to remove any messages in the archive
that are not in the inbox, and add new messages to the archive.  The -add
command-line switch does well for the latter case.  I am unable to find
any command-line switch to deal with the former case.  There did not seem
to be any reference to this problem in the mailing list archives.

The option is -rmm.

If you extract the message-ids of the messages deleted from the
inbox, you can pass those as arguments when using -rmm to delete the
corresponding messages in the archive (you can also use the message
numbers given to each message in the archive).  This way a person does
not need to scan for the message in the archive to know which one to

See the RMM resource page for more information.

Note, -rmm causes a complete re-edit of all pages in the archive in
versions 2.2.x and earlier.  Hence, -rmm can be expensive for larger
archives.  v2.3 fixes this.  v2.3 is currently in beta.  I hope to get
v2.3 (non-beta) out sometime soon.  There is still a bug or two that I
want to fix.

OK.  We move the resolved messages to another mail folder when we remove
them from the inbox.  We could use this "resolved" folder as the source of
the message-ids to remove from the archive.  How does mhonarc behave when
the -rmm switch is given a message-id that is not in the archive?


Carl G. Riches
Software Engineer
Department of Mathematics
Box 354350                              voice:     206-543-5082 or 206-616-3636
University of Washington                fax:       206-543-0397
Seattle, WA  98195-4350                 internet: