On Monday, August 11, 1997 10:04 AM, Earl Hood
[SMTP:ehood(_at_)hydra(_dot_)acs(_dot_)uci(_dot_)edu] wrote:
I can't get MHonarc to create a new archive list under Windows NT
v3.51. My
mail messages exist in a separate directory as individual files *.msg.
Using this command line; "perl mhonarc\mhonarc -add -outdir W:\maillist
*.msg" will give a message; "Reading B00000000.msg, Reading
B00000001.msg,
etc. . . no new messages". I suspect that my mail is not in a format
recognized by MHonarc. The documentation makes reference to "mbox"
format,
but donesn't explain what it is. Am I on the right track? If so, how
do I
get my mail into a format recognized by MHonarc? EMWAC v0.9 is our
mail
server (SMTP, POP3) and Eudora v1.5.2 is the mail client. TIA.
It looks like you are invoking MHonArc incorrectly. Try something
like the following:
perl mhonarc\mhonarc -add -mhpattern '\.msg$' W:\maillist
The .msg files are definitely MH-format files.
The command line should read:
perl mhonarc\mhonarc -add -mhpattern '\.msg$' -outdir W:/maillist .
The trailing dot specifies the current working directory as the place where
the source .msg files reside. W:\maillist is where MHonArc's output goes.
MHonArc distinguishes between mbox and mh input message files by testing
whether its trailing arguments are directories or plain files. Directory
arguments (like ".") are assumed to refer to directories containing mh-type
files. File arguments (like *.msg) are assumed to refer to mbox-type
files. The error resulted from MHonArc treating mh-type files as mbox-type
files.
Double check the MHPATTERN resource for more information.
--ewh