Before continuing, make sure MHonArc has been installed. See Installation if MHonArc has not been installed on your machine.
% mhonarc
<path>/inbox
% mhonarc -mbox
<path>/inbox
/
".
-mbox
is specified,
then the filename arguments should be plain files in mailbox format.
maillist.html
: The main index file containing links to all mail
messages converted. Messages are listed with subjects and who the
messages are from. All messages are listed in sorted order by date
received/sent.
threads.html
: The file listing messages by thread.
msg*.html
: HTML versions of the mail messages, where *
represents a
message number from 0 to the number of message processed minus 1.
.mhonarc.db
: This database file is needed inorder for MHonArc to
perform additions of new mail messages to the archive. Information is
stored to perform mail threading updates when new messages are added,
as well as any resources set via Environment variables, Resource File,
and/or command-line Options.
<LINK REV="made" HREF="mailto:
from_address">
is inserted
in the HEAD
element of HTML mail message file. This allows readers of the
message to send comments to the author of the mail message within Web
browsers that support such functionality (like Lynx).
TITLE
element) contains the subject of the message.
H1
element.
UL
element
surrounded by HR
's.
References
" and "In-Reply-To
" header
fields, and possibly the message body, if the destination message-ids are
being processed.
mailto
" hyperlinks in "To:
",
"From:
", "Cc:
", and "Sender:
" mail header fields. Currently, not all
Web browsers support the mailto
URL.
Newsgroups:
" mail header field are converted
to news
hyperlinks.
% mhonarc ~/mail/inbox Requiring MIME filter libraries ... mhexternal.pl mhtxthtml.pl mhtxtplain.pl mhtxtsetext.pl Converting MH mail folder(s) to ./maillist.html Reading /mnt/ehood/mail/inbox .......... Writing HTML ... 10 messages
-single
command-line option. The
message to process can be specified by a filename in the command-line, or by
reading the message from standard input if no file is specified. The filtered
message is sent to standard output. All formatting options apply to the single
message as with messages being processed for an archive, with the exception of
formatting related specificly to archive processing, like index links and mail thread
links.
% mhonarc -single < messagefile > file.html
% mhonarc -single messagefile > file.html