Patch Name: PHNE_7343 Patch Description: s700_800 10.X cumulative elm(1) patch Creation Date: 96/06/18 Post Date: 96/06/20 Hardware Platforms - OS Releases: s700: 10.00 10.01 10.10 s800: 10.00 10.01 10.10 Products: N/A Filesets: MailUtilities.MAILERS Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHNE_7343 Symptoms: 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_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 1653135467 1653135483 1653166579 5003321976 5003322198 4701320093 5003258103 5003216531 5003297390 4701314476 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.6 $ /usr/share/man/man1.Z/elm.1: (none) /usr/lib/nls/C/elm.cat: (none) /usr/bin/elmalias: $Revision: 1.206.112.6 $ /usr/share/man/man1.Z/elmalias.1: (none) cksum(1) Output: 1647104075 294912 /usr/bin/elm 1001053967 15527 /usr/share/man/man1.Z/elm.1 2429483766 39145 /usr/lib/nls/C/elm.cat 820804297 36864 /usr/bin/elmalias 4275960809 3065 /usr/share/man/man1.Z/elmalias.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_6691 PHNE_6806 PHNE_6897 PHNE_7256 Equivalent Patches: PHNE_7342: s700: 9.01 9.03 9.05 9.07 s800: 9.00 9.04 Patch Package Size: 440 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_7343 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_7343.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_7343.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. The cluster clients must be shut down as described in step 5b. By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_7343. 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_7343.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_7343.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None