mhonarc-users

RE: Retaining dates out of Exchange

2002-08-09 14:56:07
Thanks, that works.  Though, when I put it into a shell script to be called
out of the aliases db I run into trouble.  It seems as though mha-decode
never outputs to standard out and so my pipe is useless.  Here's the script:


#!/bin/sh

/usr/bin/mha-decode -dcd-digest -single $1 | /usr/bin/mhonarc -add -outdir
destination-dir -- -


Is there and easy way to tell mha-decode to output to standard out?

-----Original Message-----
From: Earl Hood [mailto:earl(_at_)earlhood(_dot_)com]
Sent: Tuesday, August 06, 2002 2:39 PM
To: mhonarc-users(_at_)mhonarc(_dot_)org
Subject: Re: Retaining dates out of Exchange


On August 6, 2002 at 13:20, "Johnson, Steve" wrote:

Is there an easy way to populate a MHonArc DB with old emails out of an
exchange server without re-mailing them and losing the original send date?

If you are using Outlook, select and the messages you plan to archive
and forward them (as attachments) to an account that stores mail in
a more traditional format.  Then you can use MHonArc's mha-decode
program with the -dcd-digest option to extract the message attachments
into separate files that you can than use for archival purposes.

Note, to feed the message files into MHonArc, you will have to do
the following:

  . Give the directory you extracted the files to as the folder
    argument to mhonarc.

  . Either set MHPATTERN appropriately to properly match the filenames
    of the message files when invoking mhonarc.  Or rename the files
    to numeric only filenames before invoking mhonarc.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS

<Prev in Thread] Current Thread [Next in Thread>