Patch Name: PHNE_9859 Patch Description: s700_800 10.0X-10 elm(1) cumulative Creation Date: 97/01/17 Post Date: 97/02/04 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 Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_9859 Symptoms: 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_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: 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/C/elm.cat what(1) Output: /usr/bin/elm: $Revision: 1.206.112.8 $ /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/C/elm.cat: (none) cksum(1) Output: 157335977 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 2429483766 39145 /usr/lib/nls/C/elm.cat Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_6691 PHNE_6806 PHNE_6897 PHNE_7256 PHNE_7343 PHNE_9165 Equivalent Patches: PHNE_9860: s700: 10.20 s800: 10.20 Patch Package Size: 460 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_9859 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_9859.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHNE_9859.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_9859. 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_9859.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_9859.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None