From a68b4f48eac04f9a2bc84ab87897d77b693dd02a Mon Sep 17 00:00:00 2001 From: jwise Date: Wed, 3 Jan 2001 01:49:03 +0000 Subject: Update mhonarc to version 2.4.7. Changes since version 2.2.0 (the last pkgsrc version): 10/28/2000 (2.4.7) o Added the following options to m2h_text_plain::filter: attachcheck Honor attachment disposition. By default, all text/plain data is displayed inline on the message page. If attachcheck is specified and Content-Disposition specifies the data as an attachment, the data is saved to a file with a link to it from the message page. htmlcheck Check if message is actually an HTML message (to get around abhorrent MUAs). The message is treated as HTML if the first non-whitespace data looks like the start of an HTML document. o FROMFIELD resource default value is now: from:mail-reply-to:reply-to:return-path:apparently-from: sender:resent-sender The change is the addition of "mail-reply-to." o Added the following resource variables: $MSGTORDNUM$ Ordinal number of message in current thread. o Added the following resource variable message specificiers: TEND Last message of current discussion thread. TTOP Top/root message of current discussion thread. o Changes to readmail.pl: - %Cid hash keys are now URLs. Content-Ids are denoted as "cid:..." Hash also contains Content-Location values of message parts. This allows filters (like the HTML filter) to check for external URL references where the data for the reference is included with the message. - More robust handling of malformed multipart messages. o The null filter is applied to application/ms-tnef by default. o Lowercase tag names are now used in default resource values that contain HTML markup. o Bug fixes to the documentation. Bug Fixes --------- See BUGS. ======================================================================= 04/24/2000 (2.4.6) o Stricter check is made when decoded quoted-printable data. An escape sequence is only converted to a raw character if a it is a valid escape sequence. I.e. Any '=' not followed by two hexadecimal characters is left as-is. o Call to Digest::MD5::md5_hex() wrapped in eval block in case of bad installations of Digest::MD5 module. Bug Fixes --------- See BUGS. ======================================================================= 02/14/2000 (2.4.5) Enhancements/Changes -------------------- o Following changes to m2h_text_html::filter: - All comment declarations are removed. This avoid potential SSI attacks and declarations that may conflict with MHonArc. - Additional tags have been added to the to-strip list to avoid potential client-side scripting attacks. See MIMEFILTERS docs for list. - Added "nofont" option to strip out any tags. o Added application/x-bzip2 to known mime types (mhmimetypes.pl). o Simple modification to get_time_from_date() in mhutil.pl to handle abhorrent case of message date using a 2 digit year. o Under VMS, the default lock file name has been changed to "mhonarc_lck" for directory based locking will work. o mhonarc::htmlize/entify now translates the double-quote character (") to ". o Added VARREGEX resource to allow customization of resource variable matching. Mainly for use with resource files written on multibyte charsets like SJIS. Use with caution. Bug Fixes --------- See BUGS. ======================================================================= 10/01/1999 (2.4.4) Enhancements/Changes -------------------- o Added the following resources: MIMEDECODERS Content-Transfer-Encoding decoding functions. o Added the following resource variables: $PGLINKLIST$ Print out a list of index page links. o New content filter for message/external-body. o Message/delivery-status content handled by mhtxtplain.pl o Support for "Zone[+-]DDDD" timezone specification. o MAILparse_parameter_str() function added to readmail.pl. Function supports parsing parameter value strings with support for RFC 2184 extensions. Function added to provide support for message/external-body filter. Bug Fixes --------- See BUGS. ======================================================================= 08/15/1999 (2.4.3) Enhancements/Changes -------------------- o Added the following resources: POSIXSTRFTIME Use POSIX::strftime() or not for processing time format strings o The "latin[1-6]" character sets defined in the default value of CHARSETCONVERTERS. iso8859::str2sgml modified to use proper iso8859 map for specified latin[1-6] specification. o The text/html filter now strips out scripting markup by default. To allow scripting markup to be preserved, the "allowscript" option can be used. o Unknown media-types are now treated as application/octet-stream, which will invoke the application/octet-stream filter. Because of this, an explicit entry for application/octet-stream has been added to the default value of MIMEFILTERS. o If in a multipart/alternative entity, and no known media-types exists, the last part is treated as application/octet-stream. Bug Fixes --------- See BUGS. ======================================================================= 08/11/1999 (2.4.2) Enhancements/Changes -------------------- o Added the following resources: STDIN Source for standard input o Added the following resource variables: $ENV$ Print an environment variable o Added support for decoding uuencoded data within text messages in mhtxtplain.pl. Decoding activated via the "uudecode" option. o For processing time format strings, POSIX::strftime() is used, if available. If not, MHonArc implementation is used. o The default value of FROMFIELDS now includes "return-path". o Description section moved before Options section in -help message. Bug Fixes --------- See BUGS. ======================================================================= 07/25/1999 (2.4.1) Enhancements/Changes -------------------- o Added the following resources: MSGEXCFILTER Perl expressions for excluding messages from archive. SAVERESOURCES Flag if resource values should be saved in database. o Added the following resource variables: $HTMLEXT$ Value of HTMLEXT resource. o Documentation corrections an additions. o Use of typeglobs removed from mhdb.pl. o mhtime.pl explicitly defined in mhonarc package. Bug Fixes --------- See BUGS. ======================================================================= 06/25/1999 (2.4.0) Enhancements/Changes -------------------- o Added the following resources: ADDRESSMODIFYCODE Perl expressions to apply to addresses during message header conversion. CHECKNOARCHIVE Check "no archive" flag in messages. LOCKMETHOD The type of archive locking performed. SPAMMODE Perform actions to deter email address harvesters. SSMARKUP Markup at the *very* beginning of any generated page. STDOUT Destination of stdout messages/data. STDERR Destination of stderr messages/data. SUBJECTTHREADS To check, or not to check, subjects when computing threads. o Added the following resource variables: $FROMADDRNAME$ Username portion of From email address. $FROMADDRDOMAIN$ Domain portion of From email address. $TOADDRNAME$ Username portion of an email address (applicable in MAILTOURL only). $TOADDRDOMAIN$ Domain portion of an email address (applicable in MAILTOURL only). o A new utility program: mha-decode. The program functions as a MIME message decoder. Can be used against mail folders or single messages. o The "PARENT" argument to applicable resource variables is now called "TPARENT". This change should not affect anyone since the "PARENT" argument did not work properly in previous releases. o SUBJECTHEADER and HEADBODYSEP resource changes will now affect existing messages that are edited during normal operations or via EDITIDX. Note, messages created from old versions of MHonArc may not be affected. o The default TIMEZONES settings now has a more complete list. o Timezone acronym settings now support [+-]HHMM specifications. o Support for ISO-2022-JP encoded strings in message headers is now supported. It does assume that HTML viewer supports ISO-2022-JP. o If Digest::MD5 is installed, md5_hex() will be used to create message-ids for messages without message-ids. This allows MHonArc to ignore non-message-id archived messages in ADD mode. The MD5 digest is computed only on message header for efficieny. If Digest::MD5 is not installed, a message-id will still be assigned if none present, but MHonArc will not be able to detect if message has already been archived in subsequent ADD operations. o Text/html filter supports the "noscript" option. If specified, any script-related markup will be removed. This provides added security to avoid sites being compromised with foreign client-side scripting. o Added the following options to mhexternal.pl (the save-to-file filter): forceattach, forceinline, and inlineexts. o Recognize mailing list headers as defined by RFC 2369 and hyperlink URLs listed. o If no boundaries exist in a multipart message (even though a boundary is defined in the header), MHonArc will treat the entire body as the first part. This prevents "unable to process" warnings. o The "