mhonarc-commits
[Top] [All Lists]

CVS: mharc/lib config.sh.dist,1.6,1.7

2002-07-17 15:00:01
Update of /cvsroot/mhonarc/mharc/lib
In directory subversions:/tmp/cvs-serv31959/lib

Modified Files:
	config.sh.dist 
Log Message:
* 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/mk-procmailrc:
  . "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.


Index: config.sh.dist
===================================================================
RCS file: /cvsroot/mhonarc/mharc/lib/config.sh.dist,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** config.sh.dist	7 Jul 2002 04:10:45 -0000	1.6
--- config.sh.dist	17 Jul 2002 21:59:36 -0000	1.7
***************
*** 8,52 ****
  ##	program can easily parse this file.  The shell scripts can
  ##	just source this file directly.
  ##-------------------------------------------------------------------------
  
! # Installation paths: The SW_ROOT setting is the most important since
! # other variables are based upon it.  Generally, if SW_ROOT is set
! # properly, the other path values should be okay.
  SW_ROOT=$HOME
  LISTS_DEF_FILE=$SW_ROOT/lib/lists.def
  MHA_RC=$SW_ROOT/lib/common.mrc
  MHA_RC_DIR=$SW_ROOT/lib/mrc
  MBOX_DIR=$SW_ROOT/mbox
  HTML_DIR=$SW_ROOT/html
  MAIN_HEADER=$HTML_DIR/.PNM.head
  MAIN_FOOTER=$HTML_DIR/.PNM.foot
  
! # Namazu paths: Modify MKNMZ to reflect pathname to mknmz program.
  MKNMZ=/usr/local/bin/mknmz
  MKNMZ_RC=$SW_ROOT/cgi-bin/mknmzrc
- MKNMZ_TMPL_DIR=$SW_ROOT/cgi-bin/template
  
! # Email address of administrator: Used in MKNMZ_RC
! ADMIN_ADDRESS=
  
! # HTTP URLs: The ROOT_URL is the most important one to set.
  ROOT_URL=/~mhonarc
- HTML_URL=$ROOT_URL/html
- ALL_LISTS_URL=$HTML_URL
- MNAV_CGI=$ROOT_URL/cgi-bin/mnav.cgi
  
! # SEARCH_CGI url should not have to be changed, but the namazu.cgi
! # program will need to be copied to $SW_ROOT/cgi-bin directory.
! SEARCH_CGI=$ROOT_URL/cgi-bin/namazu.cgi
  
! # Pathname to source mail spool file: Modify to reflect you system.
! ORGMAIL=/var/mail/$LOGNAME
  
! # Set to 1 if $ORGMAIL is pathname to a mail spool file.  Else set
! # to 0.  This affects how locking is done filter-spool
! IS_MAIL_SPOOL=1
  
  # Procmail search path for procmailrc.
! PROCMAIL_PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin
  
  # Options to procmail: Uncomment and change as needed if you want
--- 8,94 ----
  ##	program can easily parse this file.  The shell scripts can
  ##	just source this file directly.
+ ##
+ ##	Normal environment variables can be referenced when defining
+ ##	the value of a variable.
  ##-------------------------------------------------------------------------
  
! ##-------------------------------------------------------------------------
! ##  Main variables to verify
! ##-------------------------------------------------------------------------
! 
! # The SW_ROOT setting is the most important since other variables are
! # based upon it.  It should be the pathname to the directory you installed
! # MHArc.
  SW_ROOT=$HOME
+ 
+ # MHonArc library path: If MHonArc libraries are not in Perl's default
+ # search path, add it here.
+ MHONARC_LIB=
+ 
+ # Pathname to source mail spool file: Modify to reflect you system.
+ # The reference to LOGNAME is an environment variable normally defined
+ # by the system to represent the username.
+ ORGMAIL=/var/mail/$LOGNAME
+ 
+ # Set to 1 if $ORGMAIL is pathname to a mail spool file.  Else set
+ # to 0.  This affects how locking is done filter-spool
+ IS_MAIL_SPOOL=1
+ 
+ # SEARCH_CGI url should not have to be changed, but the namazu.cgi
+ # program will need to be copied to $SW_ROOT/cgi-bin directory.
+ SEARCH_CGI=$ROOT_URL/cgi-bin/namazu.cgi
+ 
+ # Email address of administrator: Used in MKNMZ_RC.
+ ADMIN_ADDRESS=
+ 
+ ##-------------------------------------------------------------------------
+ ##  The variables after here can generally be left as-is, but you may
+ ##  want to to check if you want more granular customization.
+ ##-------------------------------------------------------------------------
+ 
+ # Pathname to lists.def.
  LISTS_DEF_FILE=$SW_ROOT/lib/lists.def
+ 
+ # Pathname to main MHonArc resource file.
  MHA_RC=$SW_ROOT/lib/common.mrc
+ 
+ # Pathname to directory containing list-specific MHonArc resource files.
  MHA_RC_DIR=$SW_ROOT/lib/mrc
+ 
+ # Pathname of directory containing raw mail archives.
  MBOX_DIR=$SW_ROOT/mbox
+ 
+ # Pathname of directory containing HTML mail archives.
  HTML_DIR=$SW_ROOT/html
+ 
+ # Pathname of header template for period index pages.
  MAIN_HEADER=$HTML_DIR/.PNM.head
+ 
+ # Pathname of footer template for period index pages.
  MAIN_FOOTER=$HTML_DIR/.PNM.foot
  
! # Pathname to mknmz program
  MKNMZ=/usr/local/bin/mknmz
+ 
+ # Pathname to resource file for mknmz
  MKNMZ_RC=$SW_ROOT/cgi-bin/mknmzrc
  
! # Directory containing templates for namazu
! MKNMZ_TMPL_DIR=$SW_ROOT/cgi-bin/template
  
! # Root URL to mail archives.
  ROOT_URL=/~mhonarc
  
! # URL to html archives
! HTML_URL=$ROOT_URL/html
  
! # URL providing list of all archives
! ALL_LISTS_URL=$HTML_URL
  
! # URL to period navigation CGI program
! MNAV_CGI=$ROOT_URL/cgi-bin/mnav.cgi
  
  # Procmail search path for procmailrc.
! PROCMAIL_PATH=$SW_ROOT/bin:/usr/local/bin:/bin:/usr/bin
  
  # Options to procmail: Uncomment and change as needed if you want
***************
*** 67,71 ****
  # mail is processed.  Here, 86400 = 1 day.  Since the default template
  # crontab settings have mail processed hourly, this should be a
! # reasonable setting.  However, if decrease the frequency of mail
  # processing, you may need to increase MTIME_AGE.
  MTIME_AGE=86400
--- 109,117 ----
  # mail is processed.  Here, 86400 = 1 day.  Since the default template
  # crontab settings have mail processed hourly, this should be a
! # reasonable setting.  However, if you decrease the frequency of mail
  # processing, you may need to increase MTIME_AGE.
  MTIME_AGE=86400
+ 
+ # Maximum size, in bytes, of msgid cache for detecting duplicate
+ # messages.
+ #MSGID_CACHE_SIZE=16384

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV