Update of /cvsroot/mhonarc/mharc/lib
In directory subversions:/tmp/cvs-serv26349/lib
Modified Files:
common.mrc.in.dist config.sh.dist
Log Message:
* bin/mk-procmailrc
. Added -out option that can be used to specify the name of
the procmailrc file to generate. If not specified, the PROCMAILRC
variable in lib/config.sh is used. Otherwise, the default value is
"$SW_ROOT/procmailrc.mharc";
IMPORTANT NOTE: This implies that the name of the main procmailrc
used by mharc has changed from
$SW_ROOT/.procmailrc. This is to avoid potential
conflict with environments that use Procmail as a
local delivery agent and MHArc has been extracted
in the home directory of the archiving account.
If upgrading, all you should have to do is
invoke "make" to create the procmailrc with
the newer filename. Then, you can remove the
old .procmailrc.
* cgi-bin/extract-mesg.cgi.in.dist:
. NEW: CGI program to extract original raw message. It is intended
to be used in HTML archive message pages to allow the reader to
retrieve the original mail message.
The file lib/common.mrc.in.dist has been modified to include
an "[Original]" link on messages pages. If you would like this
feature in an existing mharc archive, you will need to edit
your lib/common.mrc.in an add the link. Here is the resource
setting added to lib/common.mrc.in.dist:
<TopLinks>
<hr>
$BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>][<a
href="$EXTRACT-CGI$?a=$LIST-NAME:U$&m=$CUR-PERIOD$&i=$MSGID:U$"
>Original</a>]
</TopLinks>
* lib/config.sh.dist:
. Added EXTRACT_CGI variable that represents URL to extract-mesg.cgi.
. Added PROCMAILRC variable to define main procmailrc file used
by bin/mk-procmailrc and bin/filter-spool.
. Added ORGMAIL_LOCK_TIMEOUT to set lock timeout used by filter-spool.
. Added LOG_DIR variable to represent location to place log files.
* etc/apache.conf.in.dist, etc/.htaccess.conf.in.dist:
. Added denial of files starting with "procmail".
* bin/web-archive:
. Updated to defined $EXTRACT-CGI$ resource variable.
* bin/filter-spool:
. Rewritten in Perl. Run program with -man option to view manpage.
* bin/read-mail:
. Rewritten in Perl. Run program with -man option to view manpage.
Index: common.mrc.in.dist
===================================================================
RCS file: /cvsroot/mhonarc/mharc/lib/common.mrc.in.dist,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** common.mrc.in.dist 23 May 2002 01:42:15 -0000 1.15
--- common.mrc.in.dist 23 Jul 2002 04:00:22 -0000 1.16
***************
*** 368,371 ****
--- 368,380 ----
</MsgPgBegin>
+ <TopLinks>
+ <hr>
+ $BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
+ href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
+ href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>][<a
+ href="$EXTRACT-CGI$?a=$LIST-NAME:U$&m=$CUR-PERIOD$&i=$MSGID:U$"
+ >Original</a>]
+ </TopLinks>
+
<SubjectHeader>
<h2>$SUBJECTNA:72$</h2>
Index: config.sh.dist
===================================================================
RCS file: /cvsroot/mhonarc/mharc/lib/config.sh.dist,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** config.sh.dist 20 Jul 2002 03:22:49 -0000 1.8
--- config.sh.dist 23 Jul 2002 04:00:22 -0000 1.9
***************
*** 53,56 ****
--- 53,59 ----
LISTS_DEF_FILE=$SW_ROOT/lib/lists.def
+ # Pathname of procmailrc (generated from $LISTS_DEF_FILE)
+ PROCMAILRC=$SW_ROOT/procmailrc.mharc
+
# Pathname to main MHonArc resource file.
MHA_RC=$SW_ROOT/lib/common.mrc
***************
*** 59,62 ****
--- 62,68 ----
MHA_RC_DIR=$SW_ROOT/lib/mrc
+ # Pathname of directory containing logs
+ LOG_DIR=$SW_ROOT/log
+
# Pathname of directory containing raw mail archives.
MBOX_DIR=$SW_ROOT/mbox
***************
*** 89,94 ****
--- 95,108 ----
MNAV_CGI=$ROOT_URL/cgi-bin/mnav.cgi
+ # URL to raw message extraction CGI program
+ EXTRACT_CGI=$ROOT_URL/cgi-bin/extract-mesg.cgi
+
# Procmail search path for procmailrc.
PROCMAIL_PATH=$SW_ROOT/bin:/usr/local/bin:/bin:/usr/bin
+
+ # Lock time out in seconds when processing $ORGMAIL: If the lock
+ # is older than specified time, then the lock will be removed by
+ # force.
+ #ORGMAIL_LOCK_TIMEOUT=3600
# Options to procmail: Uncomment and change as needed if you want
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV