Patch Name: PHNE_23624 Patch Description: s700_800 11.04 (VVOS) elm patch Creation Date: 01/03/15 Post Date: 01/08/02 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: MailUtilities.MAILERS,fr=B.11.04,fa=HP-UX_B.11.04_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHNE_23624 Symptoms: PHNE_23624: Repackaged HP-UX patch PHNE_21915 for VVOS Based on HP-UX patch PHNE_21915: 1. JAGaa93235 / SR 5003448183: elm fails with the error message "Too many addresses, or addresses too long!" when the address list greater than 256 characters. 2. JAGaa45552 / SR 8606184872 : elm generates invalid MIME encoded header when an unencoded text is present in the encoded header. 3. JAGaa62600 / SR 8606184873: elm does not accept 8-bit characters in subject line. 4. JAGab13395 / SR 1653301564: elm garbles the "To:" header when we send a mail which has a ":" in the comment text along with the mail ids in the "To:" address list. 5. JAGab17360 / SR 1653305060: elm creates the folders with write permissions for the group. 6. JAGab46340 / SR 8606111696: elm used to drop the attachments while replying for a mail which has an attachment. 7. JAGac40290 / SR 8606124898: elm displays a wrong offset in the "Date:" field when the date rolls over to next month. 8. JAGac39335 / SR 8606123975: elm unlinks the file which is attached while replying a mail. 9. JAGaa31747 / SR 5003408047: elm does not read the system alias file if user alias file is not present. 10. JAGab68639 / SR 8606184875: elm does not read the user/system alias files if we edit them and run newalias on them. 11. JAGac59567 / SR 8606126726: elm was adding an extra empty attachment whenever we attach a file and send it through command line. 12. JAGaa31610 / SR 1653236695: mailfrom/newmail dumps core with the ONC patch PHNE_20371. 13. JAGad40143 / SR 8606170879 mailfrom/newmail does not understand any new configuration parameter in elmrc file. 14. JAGad50499 / SR 8606181282 elm does not work properly in certain conditions. Defect Description: PHNE_23624: Repackaged HP-UX patch PHNE_21915 for VVOS Based on HP-UX patch PHNE_21915: 1. JAGaa93235 / SR 5003448183: This error occurs because the buffer used to hold is only 256 character length. Resolution: The buffer size is increased to 2560 bytes. 2. JAGaa45552 / SR 8606184872: The switch between ASCII mode and other modes does not happen properly when unencoded text is present along with encoded text in the header. Resolution: The switching between ASCII and other modes is being done properly. 3. JAGaa62600 / SR 8606184873: The problem occurs because the data type being used currently does not hold 8 bit characters. Resolution: Now the data type has been changed to handle 8-bit characters. 4. JAGab13395 / SR 1653301564: If a message contains a ":" in the comment text in the To: address list, then at the receiving end the To: header is formated incorrectly. This was because, elm used to check only for a ":" while displaying the message. Resolution: The code has been modified to take care of the problem. 5. JAGab17360 / SR 1653305060: Some elm versions used to create the folders with permissions as rw-rw-r--. Resolution: Now a configarable parameter "folderperms" is provided in the elmrc file, where the user can set his own permission value for folders. The default folder permission is 0640. 6. JAGab46340 / SR 8606111696: elm ignores the attachments while replying for a mail that has attachments. Resolution: The code has been modified to fix the problem. 7. JAGac40290 / SR 8606124898: When the date rolls into the next month there is a window of time for which elm calculates the GMT offset incorrectly. This calculation error result in a 720+ hour offset. Resolution: The code has been modified to calculate the GMT offset properly. 8. JAGac39335 / SR 8606123975: elm unlinks the file which is attached when we are replying or forwarding a mail. Resolution: Now it has been take care not to unlink the files which are newly attached while replying or forwarding a mail. 9. JAGaa31747 / SR 5003408047: elm used to ignore the system alias file when there is no user alias file. Resolution: It has been taken care to read the system alias file even when there is no user alias file. 10. JAGab68639 / SR 8606184875 : elm was not updating the alias table properly when we manually add entries to system and user alias files. Resolution: It is taken care to read the user and system alias files and update the alias table when we start elm. 11. JAGac59567 / SR 8606126726: elm was adding an extra mime boundary when we send a mail with an attachment at the command line. Resolution: It is taken care not to add an additional mime boundary while sending attachments through command line. 12. JAGaa31610 / SR 1653236695: With the ONC patch PHNE_20371 installed, mailfrom and new mail dumps core since there is a problem with the number of parameters being passed to gethostdomain(). Resolution: It is taken care to send the correct number of parameters for gethostdomain(). 13. JAGad40143 / SR 8606170879 With the new configuration parameter "folderperms" added to elmrc file, mailfrom and newmail were showing an error message saying that they is not able to understand the new configuration parameter. This was because they were not reading the complete configuration parameter list. Resolution: It is taken care to read the entire list of configuration parameters. 14. JAGad50499 / SR 8606181282 elm does not work properly for long subject lines. Resolution: It is taken care to check for long subject lines. SR: 5003448183 8606184872 8606184873 1653301564 1653305060 8606111696 8606124898 8606123975 5003408047 8606184875 8606126726 1653236695 8606170879 8606181282 Patch Files: MailUtilities.MAILERS,fr=B.11.04,fa=HP-UX_B.11.04_32/64, v=HP: /usr/bin/elm /usr/bin/answer /usr/bin/elmalias /usr/bin/fastmail /usr/bin/mailfrom /usr/bin/newalias /usr/bin/newmail /usr/bin/readmail what(1) Output: MailUtilities.MAILERS,fr=B.11.04,fa=HP-UX_B.11.04_32/64, v=HP: /usr/bin/elm: $Id: init.c,v 5.20 1994/05/30 16:31:40 syd Exp $ $Id: showmsg.c,v 5.16 1994/08/30 15:09:43 syd Exp $ $Id: signals.c,v 5.13 1994/09/01 19:42:39 syd Exp $ $Revision: 1.206.214.2 $ /usr/bin/answer: $Revision: 1.206.214.2 $ /usr/bin/elmalias: $Revision: 1.206.214.2 $ /usr/bin/fastmail: $Revision: 1.206.214.2 $ /usr/bin/mailfrom: $Revision: 1.206.214.2 $ /usr/bin/newalias: $Revision: 1.206.214.2 $ /usr/bin/newmail: $Revision: 1.206.214.2 $ /usr/bin/readmail: $Revision: 1.206.214.2 $ cksum(1) Output: MailUtilities.MAILERS,fr=B.11.04,fa=HP-UX_B.11.04_32/64, v=HP: 1368559575 487424 /usr/bin/elm 1269518925 53248 /usr/bin/answer 3598923827 53248 /usr/bin/elmalias 3601130418 143360 /usr/bin/fastmail 1790699507 155648 /usr/bin/mailfrom 3308048980 57344 /usr/bin/newalias 3516693993 167936 /usr/bin/newmail 1145995990 159744 /usr/bin/readmail Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHNE_21915: s700: 11.00 s800: 11.00 Patch Package Size: 1280 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_23624 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_23624.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_23624. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHNE_23624.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHNE_23624.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_23624.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_23624.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None