Patch Name: PHNE_20504 Patch Description: s700_800 10.0X-10 elm(1) cumulative Creation Date: 99/12/15 Post Date: 00/02/01 Hardware Platforms - OS Releases: s700: 10.00 10.01 10.10 s800: 10.00 10.01 10.10 Products: N/A Filesets: MailUtilities.MAILERS MailUtilities.MAIL-ENG-A-MAN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_20504 Symptoms: PHNE_20504: 1) DTS JAGab83576 / SR 8606110827: elm will set the "In-Reply-To:" field in the header to a 2 or 3 digit year in a replied mail. This is seen when the "h" command is used to view the header of the replied mail. The "Received on" and "Message sent on" fields displayed with the "#" command can also show a 2 or 3 digit year. 2) DTS JAGab78059 / SR 8606107768: In some timezones, elm version 2.0 can show an incorrect time/date in the message header in year 2001. PHNE_9859: * Generalised solution for date and time problem. PHNE_9165: * man page errors on PHNE_7343 ( default alias file size stated as 1000 instead of 5000). * Can't use environment variables in message after PHNE_7343 applied. * Setting options erases useraliasdbsize * elm patch PHNE_7343 causes problems with aliases. * elm mangles shell option if options are stored unchanged. * Problem handling return addresses with (name) in them. PHNE_7343: * Addresses handed to sendmail with quotes and spaces fail. * The / is missing in elmrc files * Filename suggestions skip periods,underscores * Filename suggestions are inconsistent regarding case * Usage of elm with su selects wrong user in some cases * Alias database size can now be selected by the user via elmrc "useraliasdbsize = 5000", "systemaliasdbsize = 5000". New default for both user and system is 5000. PHNE_7256: * Added -b option to prevent shelling and piping. * If changing folders while mail messages are limited, a redraw might not always occur until cursor moved. PHNE_6897: * Increased maximum number of aliases to 5000. PHNE_6806: * A symbolic link from the temp file could bypass access restrictions on file creation. PHNE_6691: * Saving the email from a user with a _ in the user name would result in a filename that took everything up to the _ instead of the full user name. Defect Description: PHNE_20504: 1) DTS JAGab83576 / SR 8606110827: The year in the header fields "In-Reply-To", "Received on" and "Message sent on" displayed a 2 digit value. Resolution: The year field has been modified to display a 4 digit year. 2) DTS JAGab78059 / SR 8606107768: The date displayed in the upper right corner of the elm screen, when a mail is viewed, indicates when the mail was sent. This date can differ with the date in the "Date" header of the mail when the year is 2001. Resolution: There was an error in date comparision for years 2001 and later. This has been corrected to fix the problem. PHNE_9859: *The year was displayed as 2 digit number. This was resulting in improper handling of sorting,expiry and display of messages. PHNE_9165: * To facilitate the use of double qoutes the addressed was enclosed in single quotes. This prevented the evaluation of the environmental variable by the shell * When saving options from the options menu the aliasdbsize in the elmrc file is deleted. * The flag for specifying the correct aliases.text file was not properly set. * Problem with the path specified in the elmrc file while saving from the options menu. * The address field was not properly processed before giving to sendmail PHNE_7343: * Sendmail invoked using shell, given args without single quotes trying to prevent double-quoted addresses from being protected. * String handling problem in algorithm. * Logic problem in algorithm. * Oversight by original design. * Elm used the wrong call to determine the user. * Original elm used a fixed-size hash table. The modified elm uses malloc() and a hash table specified by a elmrc environment variable. Elmalias was also modified to support this. PHNE_7256: * Shelling and piping are standard features. * If cursor is on last entry, the redraw was avoided as unnecessary and slow. Bad assumption. PHNE_6897: * The previous maximum number of aliases was 250. PHNE_6806: * Elm did not check to see if the temp file existed as a symbolic link. PHNE_6691: * The full user name, including _, is used for the file name where mail is stored. SR: 8606110827 8606107768 1653166520 1653159004 1653148486 1653135467 1653135483 1653166579 5003321976 5003322198 4701320093 5003258103 5003216531 5003297390 4701314476 1653057182 5003160390 5000612762 5003148932 5003082164 1653058545 5000617332 5000617324 4701231407 1653075747 1653039016 5003190900 5003332833 4701333492 5003335372 5003335521 5003311027 1653179325 4701334763 Patch Files: /usr/bin/elm /usr/bin/elmalias /usr/share/man/man1.Z/elm.1 /usr/share/man/man1.Z/elmalias.1 /usr/lib/nls/msg/C/elm.cat /usr/lib/nls/C/elm.cat what(1) Output: /usr/bin/elm: $Revision: 1.206.112.9 $ /usr/bin/elmalias: $Revision: 1.206.112.8 $ /usr/share/man/man1.Z/elm.1: None /usr/share/man/man1.Z/elmalias.1: None /usr/lib/nls/msg/C/elm.cat: None /usr/lib/nls/C/elm.cat: None cksum(1) Output: 3622524213 311296 /usr/bin/elm 1547252692 36864 /usr/bin/elmalias 772690030 15786 /usr/share/man/man1.Z/elm.1 4041017000 3364 /usr/share/man/man1.Z/elmalias.1 3657436964 39153 /usr/lib/nls/msg/C/elm.cat 3657436964 39153 /usr/lib/nls/C/elm.cat Patch Conflicts: PHNE_15836 Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_6691 PHNE_6806 PHNE_6897 PHNE_7256 PHNE_7343 PHNE_9165 PHNE_9859 Equivalent Patches: PHNE_20505: s700: 10.20 s800: 10.20 Patch Package Size: 500 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHNE_20504 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_20504.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_20504. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHNE_20504.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_20504.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None