ECO NUMBER: VAXMAIL01_072 PRODUCT: OpenVMS VAX OPERATING SYSTEM V7.2 UPDATE PRODUCT: OpenVMS VAX OPERATING SYSTEM V7.2 COVER LETTER 1 KIT NAME: VAXMAIL01_072. 2 KITS SUPERSEDED BY THIS KIT: None. 3 KIT DEPENDENCIES: 3.1 The following remedial kit(s), or later, must be installed BEFORE installation of this, or any required kit: VAXUPDATE01_072. 3.2 In order to receive all the corrections listed in this kit, the following remedial kits, or later, should also be installed: None. 4 KIT DESCRIPTION: 4.1 Version(s) of OpenVMS to which this kit may be applied: OpenVMS VAX V7.2. 4.2 Files patched or replaced: o [SYSLIB]MAILSHR.EXE (new image) o [SYSLIB]MAILSHRP.EXE (new image) o [SYSEXE]MAIL_SERVER.EXE (new image) o [SYSEXE]MAIL.EXE (new image) 5 PROBLEMS ADDRESSED IN VAXMAIL01_072 KIT o If a user attempts to forward a foreign file, the forward fails and the user is returned to the MAIL> prompt. No message of any kind is displayed. -- COVER LETTER -- Page 2 4 September 2001 Images Affected: - [SYSEXE]MAIL.EXE o Sending mail to a username logical defined by /TRANSLATION=TERMINAL fails with "%MAIL-E-NOSUCHUSR, no such user logical_name". See example below: $ define/translation=terminal js john_smith $ mail MAIL> send To: js %MAIL-E-NOSUCHUSR, no such user JS Images Affected: - [SYSEXE]MAIL.EXE o If the COMPRESS command is issued in MAIL, but did not complete successfully, a user cannot use any other MAIL command that requires an open MAIL file. See example below: MAIL> compress %MAIL-S-CREATED, SYSTEM1:[USER1.MAIL]MAIL_4EEC_COMPRESS.TMP created %MAIL-S-COPIED, SYSTEM1:[USER1.MAIL]MAIL.MAI copied to SYSTEM1:[USER1.MAIL]MAIL_4EEC_COMPRESS.TMP (30 records) %MAIL-S-RENAMED, SYSTEM1:[USER1.MAIL]MAIL.MAI;1 renamed to SYSTEM1:[USER1.MAIL]MAIL.OLD;3 %MAIL-S-RENAMED, SYSTEM1:[USER1.MAIL]MAIL_4EEC_COMPRESS.TMP;1 renamed to SYSTEM1:[USER1.MAIL]MAIL.MAI;1 %MAIL-E-OPENIN, error opening SYSTEM1:[USER1.MAIL]MAIL.MAI as input -RMS-E-FLK, file currently locked by another user %MAIL-E-NOFILEOPEN, no mail file open MAIL> compress %MAIL-E-NOFILEOPEN, no mail file open MAIL> dir %MAIL-E-NOFILEOPEN, no mail file open MAIL> read %MAIL-E-NOFILEOPEN, no mail file open %MAIL-E-NOMSGS, no messages MAIL> sel A %MAIL-E-NOFILEOPEN, no mail file open MAIL> exit %MAIL-E-NOFILEOPEN, no mail file open %MAIL-E-NOFILEOPEN, no mail file open SYSTEM1> -- COVER LETTER -- Page 3 4 September 2001 Images Affected: - [SYSEXE]MAIL.EXE o If a message line containing an embedded NULL character is extracted to a file, the message line is truncated at the NULL character. Sample message: 111111111111111111111111111111 111111111111^@1111111111111111 111111111111111111111111111111 Extract results in output file: 111111111111111111111111111111 111111111111 Images Affected: - [SYSEXE]MAIL.EXE o Callable MAIL routines may fail with "%LIB-F-INSVIRMEM, insufficient virtual memory." Callable MAIL allocates free memory space, but does not return all of it. The reproducer supplied in this case is a loop of MAIL$SEND_BEGIN and MAIL$SEND_END calls. Images Affected: - [SYSLIB]MAILSHR.EXE o Using DEFINE/KEY on an undefined key yields no results or error message, i.e., nothing happens when a user attempts to use the key and the user is not notified that the key definition failed. Images Affected: - [SYSEXE]MAIL.EXE o The value returned in the MAIL$MAILFILE_DELETED_BYTES field in a call to MAIL$MAILFILE_PURGE_WASTE is always 0, when it should be the actual number of bytes deleted from the file. See the sample output below: %MAIL-I-RECLPLSWAIT, reclaiming deleted file space. Please wait... Data buckets reclaimed: [6] Number of data buckets scanned: [7] Number of index buckets reclaimed [0] -- COVER LETTER -- Page 4 4 September 2001 Number of deleted bytes: [0] Number of messages deleted: [68] Number of bytes reclaimed: [6] Images Affected: - [SYSLIB]MAILSHR.EXE o The MAIL> SET FILE command is ignored. See the example below: MAIL> sho file Your current mail file is SYS$SYSROOT:[SYSMGR]MAIL.MAI. MAIL> set file SYS$SYSDEVICE:[XXX.MAIL] MAIL> dir/fol Listing of folders in SYS$SYSROOT:[SYSMGR]MAIL.MAI MAIL> sho file Your current mail file is SYS$SYSROOT:[SYSMGR]MAIL.MAI. MAIL> exit Images Affected: - [SYSEXE]MAIL.EXE o Errors can occur when copying a MAIL folder from one file to another. Not all of the files may be copied and no error message is displayed. See the example below: MAIL> sel "MAIL-nov-1998" %MAIL-I-SELECTED, 3121 messages selected MAIL> sel/sinc=01-jan-80 %MAIL-I-SELECTED, 3121 messages selected MAIL> copy/all "MAIL-nov-1998" dua3:[mpiati] MAIL> set file dua3:[mpiati] MAIL> sel "MAIL-nov-1998" %MAIL-I-SELECTED, 169 messages selected Images Affected: - [SYSLIB]MAILSHR.EXE o When a MAIL message is extracted to a file, the date portion of the header is not included in the extracted message. -- COVER LETTER -- Page 5 4 September 2001 Images Affected: - [SYSEXE]MAIL.EXE o When a new message arrives and the MAIL file in use is not the default, READ/NEW does not close the current MAIL file and open the default MAIL file. An explicit SET FILE to the default has to be done, and then READ/NEW. In addition, after reading the new messages, then using the SELECT MAIL command, the new messages remain in the NEWMAIL folder. Images Affected: - [SYSEXE]MAIL.EXE o When sending mail to an SMTP address, an ACCVIO occurs if the MAIL record attributes do not remain intact. Images Affected: - [SYSLIB]MAILSHR.EXE o The SEND/LAST command fails to include the text from the previous MAIL message when MAIL is invoked with MAIL/EDIT. This does not occur if the /EDIT qualifier is not used with the DCL MAIL command. Images Affected: - [SYSEXE]MAIL.EXE o OpenVMS MAIL does not filter out the character on the header fields, i.e., From:, To:, CC: and Subj: strings. In some instances, a MAIL message could be received with a type of VT Escape Sequence that could modify the behavior of a user's terminal; the potential would be to render the terminal unusable. Images Affected: - [SYSEXE]MAIL.EXE o An %MAIL-E-ALTPRIJOB error message displays without cause. See example below: $ MAIL MAIL> 22 (Message #22 is displayed) MAIL> print -- COVER LETTER -- Page 6 4 September 2001 MAIL> 5 (Message #5 is displayed) MAIL> print/queue=32$lb2a %MAIL-E-ALTPRIJOB, error altering parameters of job 505 queue 32$LB2A Job MAIL (queue 34$LB4L, entry 505) started on 34$LB4L MAIL> exit $ In this example, print queue 34$LB4L is the default print queue in the user's MAIL profile. This error is benign because the print job eventually is released to the printer (32$LB2A in the example above), even though the user is not notified. Images Affected: - [SYSEXE]MAIL.EXE o Sending mail from VMSMAIL to Microsoft Exchange mail using TCP/IP merges the To: and CC: lines into one To: line in the received message. See example below: MAIL> Send/CC To: SMTP%"A.B@C.COM" CC: SMTP%"D.E@F.COM" The To: line in Exchange: To: A.B@C.COM,D.E@F.COM Images Affected: - [SYSEXE]MAIL.EXE - [SYSLIB]MAILSHR.EXE o The SEND/LAST commands exits a user into the MAIL screen editor instead of sending the last mail message that had been sent. Images Affected: - [SYSEXE]MAIL.EXE -- COVER LETTER -- Page 7 4 September 2001 6 KIT INSTALLATION RATING: The following kit installation rating, based upon current CLD information, is provided to serve as a guide to which customers should apply this remedial kit. (Reference attached Disclaimer of Warranty and Limitation of Liability Statement) INSTALLATION RATING: INSTALL_3 : To be installed by customers experiencing the problems corrected. 7 INSTALLATION INSTRUCTIONS: Install this kit with the VMSINSTAL utility by logging into the SYSTEM account, and typing the following at the DCL prompt: @SYS$UPDATE:VMSINSTAL VAXMAIL01_072 [location of the saveset] The saveset location may be a tape drive, CD, or a disk directory that contains the kit saveset. No reboot is necessary after successful installation of the kit. Copyright (c) Compaq Computer Corporation, 2001 All Rights Reserved. Unpublished rights reserved under the copyright laws of the United States. COMPAQ, the Compaq logo, VAX, Alpha, VMS, and OpenVMS are registered in the U.S. Patent and Trademark Office. All other product names mentioned herein may be trademarks of their respective companies. Confidential computer software. Valid license from Compaq required for possession, use, or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. Compaq shall not be liable for technical or editorial errors or omissions contained herein. The information in this document is provided as is without warranty of any kind and is subject to change without notice. The warranties for Compaq products are set forth in the express limited warranty statements accompanying such products. Nothing herein should be construed as constituting an additional warranty. DISCLAIMER OF WARRANTY AND LIMITATION OF LIABILITY THIS PATCH IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED TO THE EXTENT PERMITTED BY APPLICABLE LAW. IN NO EVENT WILL COMPAQ BE LIABLE FOR ANY LOST REVENUE OR PROFIT, OR FOR SPECIAL, INDIRECT, -- COVER LETTER -- Page 8 4 September 2001 CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, WITH RESPECT TO ANY PATCH MADE AVAILABLE HERE OR TO THE USE OF SUCH PATCH.