Patch Name: PHNE_26285 Patch Description: s700_800 11.00 elm patch Creation Date: 02/10/25 Post Date: 03/02/13 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: MailUtilities.MAILERS,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP MailUtilities.MAIL-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_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_26285 Symptoms: PHNE_26285: 1. JAGae00928 / SR 8606231692 elm removes empty lines (containing only \n) from the body of the message. 2. JAGae19074 / SR 8606254743 The elm.1 man page does not provide information on setting the configurable folder permissions with the `folderperms' variable. 3. JAGad62462 / SR 8606193250 elm does not prompt for alias addresses and fails to create new aliases in the command mode. 4. JAGad93852 / SR 8606224764 elm formats the "To:" header field incorrectly in the reply. 5. JAGad45662 / SR 8606176424 elm sometimes does not display the attachments in the mail message. 6. JAGae18843 / SR 8606254511 When the variable `folderperms' is set to any invalid value in the elmrc file, the permissions of the file are improperly set. PHNE_21915: 1. JAGaa93235 / SR 5003448183: elm fails with the error message "Too many addresses, or addresses too long!" when the address list is 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 does not support configurable folder permissions. 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_26285: 1. JAGae00928 / SR 8606231692 When PHNE_21915:11.00 elm patch is installed, elm removes empty lines (containing only \n) from the body of the message. Resolution: elm now retains all the empty lines in the body of the message. 2. JAGae19074 / SR 8606254743 When the elm code was modified to support the 'folderperms' variable, the elm.1 man page was not updated. Resolution: The English version of the elm.1 man page has been modified accordingly. 3. JAGad62462 / SR 8606193250 elm always obtains the non-success return value even in the case of success and it does not prompt for alias addresses in command mode. Resolution: The return value is handled properly in case of success and prompt for alias addresses in command mode. 4. JAGad93852 / SR 8606224764 elm does not extract the host name properly while formatting the 'To' address in the reply header. Resolution: Code has been modified to interpret the host names properly. 5. JAGad45662 / SR 8606176424 elm looks for MIME end boundaries in mail attachments. It does not display those messages which do not have a MIME end boundary since the length count of such attachments is not updated. Resolution: Code has been modified to update the length count of the messages which do not have MIME end boundaries. 6. JAGae18843 / SR 8606254511 elm cannot handle invalid values set to the `folderperms' variable. Resolution: elm now handles all the values set by the user. PHNE_21915: 1. JAGaa93235 / SR 5003448183: This error occurs because the buffer used to hold the "To:" address list is only 256 character long. 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 was misinterpreting the ":" in the comment text while displaying the message. Resolution: The code has been modified to take care of the problem. 5. JAGab17360 / SR 1653305060: elm does not support configurable parameter for folder permission. 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 newmail 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.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. Enhancement: No SR: 5003448183 8606184872 8606184873 1653301564 1653305060 8606111696 8606124898 8606123975 5003408047 8606184875 8606126726 1653236695 8606170879 8606181282 8606231692 8606254743 8606193250 8606224764 8606176424 8606254511 Patch Files: MailUtilities.MAILERS,fr=B.11.00,fa=HP-UX_B.11.00_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 MailUtilities.MAIL-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man1.Z/elm.1 what(1) Output: MailUtilities.MAILERS,fr=B.11.00,fa=HP-UX_B.11.00_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.3 $ 11.00 [ELM 2.4] PHNE_26285 $ /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 $ MailUtilities.MAIL-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man1.Z/elm.1: None cksum(1) Output: MailUtilities.MAILERS,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 2264800232 491520 /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 MailUtilities.MAIL-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: 2744092006 38919 /usr/share/man/man1.Z/elm.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_21915 Equivalent Patches: None Patch Package Size: 1330 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_26285 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_26285.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_26285. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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_26285.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_26285.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_26285.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None