web-archive - Update/create MHonArc archives from mailbox archives. |
web-archive - Update/create MHonArc archives from mailbox archives.
web-archive web-archive [options] web-archive [options] [list-name ...]
This program is part of mharc and has the responsibility of processing the mailbox archives created by the filter-spool script to update and/or create MHonArc archives.
This program is automatically called by the read-mail script for processing incoming mail within the mail spool if filter-spool returns with an okay status. However, this program can be manually invoked to rebuild archives, edit existing archives, or other administrative tasks. Since there may be a need to do selective archive processing, any non-option related argument is treated as mailing list archive name to process.
-alllistidx
pathnameALL_LISTS_FILE
variable in
config.sh
is used, else it defaults to ``-htmldir/lists.html
''.
-alllistsurl
urlALL_LISTS_URL
variable in
config.sh
is used, else it defaults to -htmlurl
.
-editidx
-editrootidx
.PNM.head
or .PNM.foot
files that you
want immediately applied.
-help
-home
pathname-htmldir
pathname-home/html
'' is used.
-htmlurl
urlrooturl/html
.
-infodir
pathnamelist-name.html
''. Once created, a link to the file
(based on the value of the -infourl
option) will be generated in
the all-lists index to it.
If this option is not specified, the value of the INFO_DIR
variable
in config.sh
is used, else it defaults to ``-home/info
''.
-infourl
urlINFO_URL
variable in
config.sh
is used, else it defaults to ``-rooturl/info
''.
-keepsearch
-rebuild
is specified. This option
is handy if all that is desired is to rebuild the HTML archives
from the raw data since the overhead of rebuilding the search indexes
will be avoided.
CAUTION: Do not use -keepsearch
if you have removed messages
from the raw mail archives since resulting HTML message pages may
have different URIs than what is stored within the search index.
-listsdef
pathname-home/lib/lists.def
'' is used.
-man
-mboxdir
pathname-home/mbox
'' is used.
-mharc
pathname-home/lib/common.mrc
'' is used.
-mharcdir
pathnamelist-name.mrc
within the directory specified by
-mharcdir
.
If -mharcdir
is not specified, ``-home/lib/mrc
'' is used.
-mhamaxsize
numberWA_MAXSIZE
environment variable is used.
-mhapagesize
numberWA_PAGESIZE
environment variable is used.
-mknmz
pathname/usr/local/bin/mknmz
'' is used.
-mknmzrc
pathname-home/cgi-bin/mknmzrc
'' is used.
-mknmztmpldir
pathname-home/cgi-bin/template
'' is used.
-mnavcgi
urlrooturl/cgi-bin/mnav.cgi
is used.
-mtimeage
secondsWA_MTIME_AGE
environment variable is
used.
-nosearch
-rebuild
-rooturl
url/~mhonarc/archives
is used.
-searchcgi
urlrooturl/cgi-bin/namazu.cgi
is used.
-verbose
Environment variable usage is deprecated.
The following environment variables are recognized:
WA_DEBUG
-debug
command-line option.
WA_EDIT
-editidx
command-line option instead if archives
editing is desired.
WA_MAXSIZE
-mhamaxsize
command-line option.
WA_MTIME_AGE
86400
(one day).
This setting can be overridden by the -mtimeage
command-line option.
WA_NOSEARCH
-nosearch
command-line option.
WA_PAGESIZE
-mhapagesize
command-line option.
WA_REBUILD
-rebuild
command-line option instead if rebuilding
is desired.
$Id: web-archive,v 1.44 2003/08/09 17:56:05 ehood Exp $
Earl Hood, earl@earlhood.com
This program is part of the mharc archiving system and comes with ABSOLUTELY NO WARRANTY and may be copied only under the terms of the GNU General Public License, which may be found in the mharc distribution.
web-archive - Update/create MHonArc archives from mailbox archives. |