=========================================================================== 2002/07/31: v0.5.1 * cgi-bin/extract-mesg.cgi.in.dist: . Changed returned media-type from message/rfc822 to text/plain. message/rfc822 is nice since some browsers can render it directly, but it does open potential XSS HTML email attacks. IMPORTANT NOTE: User upgrading are encouraged to delete "cgi-bin/extract-mesg.cgi.in" and run 'make configure' after extracting this release. If you really want the message/rfc822 behavior, you can edit "cgi-bin/extract-mesg.cgi.in" and redefine the $message_media_type variable. * bin/mk-procmailrc: . Added -final-dest option: The destination of messages that make it to the end of the procmailrc. Generally, this option can be ignored. Run mk-procmailrc program with -man option to view the manpage to get more information about this option. * etc/apache.conf.in.dist: . Security related comments added. Users are encourage to read if using etc/apache.conf. * lib/config.sh.dist: . Added FINAL_MSG_DESTINATION variable to repesent destination mailbox for end rule in procmailrc (checked by mk-procmailrc if -final-dest not specified). =========================================================================== 2002/07/24: v0.5.0 * 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. * bin/web-archive: . BUG FIX: Restored older semantics for $LIST-NAME$: It equals the list name as represented by the directory name for the list archives. This change back only has an effect for complimentary CVS commit archives since the $LIST-NAME$ is used as the search index name. A new resource variable, $LIST-TITLE$, is used to represent the displayable list name. For CVS commit archives, this variable will have the "[CVS] " prefix. In sum, everywhere the list name is used in links or form input elements, use $LIST-NAME$. Anywhere else, $LIST-TITLE$ can be used. . Added $EXTRACT-CGI$ resource variable (see cgi-bin/extract-mesg.cgi.in.dist change entry below for more information). * 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:
$BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[Date Index][Thread Index][Original]
* 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. * lib/common.mrc.in.dist: . Replaced $LIST-NAME$ with $LIST-TITLE$ in MSGPGBEGIN resource. * etc/apache.conf.in.dist, etc/.htaccess.conf.in.dist: . Added denial of files starting with "procmail". * bin/apply-conf: . Explicitly remove group and other write bit on generated files that are executable. This helps avoid Apache HTTP server suEXEC problems with CGI programs. * 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. =========================================================================== 2002/07/19: v0.4.0 * bin/compress-mboxes: . FIX: Fixed handling of -n and -debug options. * lib/config.sh.dist: . FIX: Default PROCMAIL_PATH setting uses $SW_ROOT/bin instead of $HOME/bin. Installations should update local config.sh to reflect change. . Added MHONARC_LIB: Directory pathname to where MHonArc libraries are installed. If MHonArc libraries are in a location not included in perl's library search path, this variable should be set to that location. . Added MSGID_CACHE_SIZE: Maximum size, in bytes, of msgid cache for detecting duplicate messages. . Reorganized file to put key variables at top of file and to provide a comment description before each variable. * bin/mbox-month-pack: . NEW: New utility program for breaking up a mailbox file into monthly, or yearly, mailbox files. This program can be useful for importing existing mailbox files into MHArc. Run program with the -man option to view manpage. * bin/mk-procmailrc: . Added support for "From-Address: " option in lists.def. This option allows you to denote a list by the "From: " field of messages. Run mk-procmailrc with -man option for more information. . "Cleaned-up" the procmailrc file generated. The "Extraneous copy flag" warnings should be gone. Also, rules changed to use new bin/extract-mesg-date to determine which raw mailbox to file to instead of the current time. This insures that messages go into the proper period mailbox regardless of when incoming mail is processed. * bin/extract-mesg-date: . NEW: New utility to print out the date of a message. This program is mainly used in newer procmailrc format generated by mk-procmailrc. =========================================================================== 2002/07/08: v0.3.0 * mk-procmailrc: . Can now specify name of catch archive and if catch archive should be disabled via the CATCH_ARCHIVE and DISABLE_CATCH_ARCHIVE config.sh variables. . POD added to script along with -help and -man options to display usage information. * web-archive: . Added check for and comment declarations in period index header/footer templates: .PNM.head.in and .PNM.foot.in. If an archive is designated to not have searching enabled, any markup between these two comments will be stripped out when generating the period index. If upgrading, and if you are using the default .PNM.*.in files, you will need to delete them so the newer versions with the above comments will be applied. If you have customized versions of .PNM.*.in files, you will need to add the above comments around the search form markup if you want the form to not appear in the top period indexes for non-searchable archives. . CVS commit archive of a list properly uses list options defined in lib/lists.def. . Short title of CVS commit archives has changed from ".CVS" to "[CVS] ". * bin/compress-files: . Add POD. Execute './bin/compress-files -man' to view documentation. * bin/compress-mboxes: . Converted to Perl. POD added along with some command-line options. Execute './bin/compress-mboxes -man' to view documentation. * bin/gc-search-indexes . Converted to Perl. POD added along with some command-line options. Execute './bin/gc-search-indexes -man' to view documentation. * etc/apache.conf.in.dist: . Updated to add directives to deny access to various files that you may not want visible to the public. * etc/.htaccess.in.dist: . NEW: Contains the same directives added to etc/apache.conf.in.dist. This file is useful if you do not have write access to Apache's main configuration file. The .htaccess file generated after 'make configure' can be copied into the root install directory, or better, create a symlink to it from the root by executing the following command in the root install directory. ln -s ./etc/.htaccess * Makefile: . Added editrootidx target: Rebuild top period indexes only. =========================================================================== 2002/05/30: v0.2.2 * apply-config: Modified interaction with File::Find module so it will work with older versions that do not support the -no_chdir option. =========================================================================== 2002/05/24: v0.2.1 * mk-procmailrc: Fixed bug where setting an archive to a Period of a year had no effect: archive would have a monthly period. =========================================================================== 2002/05/22: v0.2.0 * web-archive: Added -mharcdir option to specify location of list specific resource files. If the file <-mharcdir>/.mrc exists, it will be passed into mhonarc, after common.mrc. * web-archive: Added support for additional mhonarc options to be specified in lists.def by defining the MHonArc-Options field. * web-archive: If the No-Search lists.def field is set to 1 for a list, then searching will be disabled for the archive: no search index will be created and the $SEARCH-FORM$ custom resource variable will be set to the empty string. * web-archive: Changed some of the default pathname values of some options. In sum, default pathnames that include "../archive/.." had the "archive/" component removed. * web-archive: The following resource variables set have different names: $MNAV-CGI$ => $PNAV-CGI$ $CUR-MONTH$ => $CUR-PERIOD$ The old names are still set for backwards compatibility. * web-archive: The "[Raw]" link on the top index page of a list archive is now "[mbox]". Also, it will show the size of the mbox in bytes and if the mbox is gzipped. * lib/common.mrc.in.dist: . Removed options in MIMEARGS that could cause security problems. Users can add options that fit their level of comfort. . Added definition of $PREV-PERIOD-LABEL$ and $NEXT-PERIOD-LABEL$ which are defined as "Prev Period" and "Next Period", respectively. These variables are used for the next/prev period links on the index pages. Note, these values are a change from the "Prev Month" and "Next Month". . The next/prev resource variables for the next/prev period links have different names: $NEXT-MONTH-LINK$ => $NEXT-PERIOD-LINK$ $PREV-MONTH-LINK$ => $PREV-PERIOD-LINK$ * read-mail: Added explicit "exit 0" at end of script. This is to avoid a bogus non-zero exit status of filter-spool finds nothing to do. =========================================================================== 2002/02/14: v0.1.3 * web-archive: Went back to calling namazu for each list folder processed. The change in v0.1.2 defeats the ability to conserve resources by keeping namazu from re-indexing the entire list each time. * web-archive: Check status of mhonarc processing. * web-archive: Skip search index update if no new messages added. =========================================================================== 2002/02/14: v0.1.2 * Added new program 'mh-month-pack' that can process MH/nmh folders and copy messages into monthly-based mailbox files. Although this program is not used by default by MHArc archiving system, it can be used to customize MHArc to work with MH/nmh-based setups. * Updated web-archive to only call namazu once on all archive folders changed for a list instead of calling it for each archive folder processed. Also added a cleanup check on namazu to make sure it does not leave a stale lock around. =========================================================================== 2002/02/11: v0.1.1 * BUG FIX: Fixed regex generation bug in mk-procmailrc where ()'s were not matched. =========================================================================== 2002/02/11: v0.1.0 First tagged release of mharc. Code imported into CVS from the RCS files used previously. The following changes exist in this release: * Mailing list definition file can now be specified in lib/config.sh. * BUG FIX: Fixed bug in mk-procmailrc that created duplicate recipies for lists defined with multiple addresses. * The Description: option in lists.def is now used as the title for archive index pages. * Added No-Raw-Link: boolean option in lists.def. It can be used to specify that a links to the raw archive data should not be made in the main period index of a list archive. * Added new variable $LIST-DESC$ for .PNM.head and .PNM.foot process for main period index generation. The variable will expand to the Description: value in lists.def. If no description available, it will expand to the list name. * read-mail will source .env.sh in same directory if it exists. It is an easy way to sent envariables needed for the archiving process to run properly. * Modified distribution bundle creation to fit in with internal project release process. =========================================================================== 2002/03/08: Initial release. =========================================================================== $Id: NEWS,v 1.30 2002/08/01 01:18:46 ehood Exp $