Update of /cvsroot/mhonarc/mharc/etc
In directory subversions:/tmp/cvs-serv26349/etc
Modified Files:
.htaccess.in.dist apache.conf.in.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: .htaccess.in.dist
===================================================================
RCS file: /cvsroot/mhonarc/mharc/etc/.htaccess.in.dist,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** .htaccess.in.dist 8 Jul 2002 02:30:56 -0000 1.1
--- .htaccess.in.dist 23 Jul 2002 04:00:22 -0000 1.2
***************
*** 21,25 ****
# see. The main one is .mhonarc.db files, especially if we have
# mail address obfsucation in the HTML archives.
! <Files ~ "^(NMZ|\.proc|msgid.cache|.mhonarc.db|config\.sh|lists\.def)">
Order allow,deny
Deny from all
--- 21,25 ----
# see. The main one is .mhonarc.db files, especially if we have
# mail address obfsucation in the HTML archives.
! <Files ~ "^(NMZ|\.proc|procmail|msgid.cache|.mhonarc.db|config\.sh|lists\.def)">
Order allow,deny
Deny from all
Index: apache.conf.in.dist
===================================================================
RCS file: /cvsroot/mhonarc/mharc/etc/apache.conf.in.dist,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** apache.conf.in.dist 7 Jul 2002 04:32:15 -0000 1.3
--- apache.conf.in.dist 23 Jul 2002 04:00:22 -0000 1.4
***************
*** 16,20 ****
# see. The main one is .mhonarc.db files, especially if we have
# mail address obfsucation in the HTML archives.
! <Files ~ "^(NMZ|\.proc|msgid.cache|.mhonarc.db|config\.sh|lists\.def)">
Order allow,deny
Deny from all
--- 16,20 ----
# see. The main one is .mhonarc.db files, especially if we have
# mail address obfsucation in the HTML archives.
! <Files ~ "^(NMZ|\.proc|procmail|msgid.cache|.mhonarc.db|config\.sh|lists\.def)">
Order allow,deny
Deny from all
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV