Patch Name: PHSS_8568 Patch Description: s700_800 10.X OpenMail B.04.01 Unix Gateway patch Creation Date: 96/09/20 Post Date: 96/09/24 Hardware Platforms - OS Releases: s700: 10.01 10.10 10.20 s800: 10.01 10.10 10.20 Products: OpenMail B.04.01 Filesets: OpenMail.OM-UNIX,B.04.01 Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_8568 Symptoms: PHSS_8568: D500276543: Unix out gateway aborts when performing a character set conversion. 1653179077: Unix in gateway cannot handle incorrectly formatted base64 messages. PHSS_8147: 5003328971: MIME version number is not being included in the header of an attached message. PHSS_7383: 1653163030: Non-delivery coming in through the Mime gateway has incorrect tf type for the dl. PHSS_7184: D500249508: A series of changes to allow text (1167 and 1736) charset conversion configuration and steering with the MIME gateway. Changes include addition of a sys/mime.cs mapping file, and encoding/decoding of rfc-1522 style subjects, and the ability to have multiple steering files for the unix gateway (one per encoding method). See the SR for details of the new configuration options. This patch brings the GR3 support for Japanese MIME to the same level as the GR2 patches PHSS_7070 (HPUX 9) and PHSS_7052 (HPUX 10). Defect Description: PHSS_8568: D500276543: Unix out gateway was corrupting a memory buffer when performing a character set conversion. 1653179077: Unix in gateway Base 64 handling code has been improved to handle possible error conditions. PHSS_8147: 5003328971: MS Exchange is not interpreting attached messages as as MIME attachments although they are. PHSS_7383: 1653163030: Incorrect file handle was being used when processing a non-delivery report through the Mime gateway. PHSS_7184: D500249508: A series of changes to allow text (1167 and 1736) charset conversion configuration and steering with the MIME gateway. Changes include addition of a sys/mime.cs mapping file, and encoding/decoding of rfc-1522 style subjects, and the ability to have multiple steering files for the unix gateway (one per encoding method). SR: D500276543 1653179077 5003328971 1653163030 D500249508 Patch Files: /opt/openmail/bin/unix.in /opt/openmail/bin/unix.out /opt/openmail/bin/ompatch /opt/openmail/patch/PHSS_8568/ompatch.idx what(1) Output: /opt/openmail/bin/unix.in: $Header: ux_in.c,v 5.66 96/03/14 10:16:43 ann Exp $ ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/09/20 B.04.01.05 unix.in, unix.out ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/09/20 X.04.01.04 unix.in, unix.out ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/07/30 B.04.01.03 unix.out ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/04/26 B.04.01.02 unix.in, unix.out ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/04/03 B.04.01.01 unix.in, unix.out ---------------------------------------------------- ------------- Sccs_Id = %W% $Header: ux_out.c,v 5.67.1.2 96/09/20 15:36:14 tonyn Exp $ $Header: discon.c,v 1.2 93/09/15 11:45:05 steve Exp $ $Header: keyfcns.c,v 1.4 93/09/15 11:47:41 steve Exp $ $Header: recnext.c,v 1.2 93/09/15 11:49:07 steve Exp $ $Header: fillnew.c,v 1.2 93/09/15 11:45:12 steve Exp $ $Header: keyfind.c,v 1.2 93/09/15 11:47:46 steve Exp $ $Header: connect.c,v 1.4 93/09/15 11:43:42 steve Exp $ $Header: findco.c,v 1.2 93/09/15 11:45:14 steve Exp $ $Header: findfm.c,v 1.3 93/09/15 11:45:17 steve Exp $ $Header: recread.c,v 1.2 93/09/15 11:49:19 steve Exp $ $Header: keynext.c,v 1.2 93/09/15 11:47:58 steve Exp $ $Header: crget.c,v 1.2 93/09/15 11:43:51 steve Exp $ $Header: findnm.c,v 1.2 93/09/15 11:45:23 steve Exp $ $Header: crread.c,v 1.2 93/09/15 11:43:53 steve Exp $ $Header: dbdpath.c,v 1.2 93/09/15 11:44:37 steve Exp $ $Header: recwrite.c,v 1.2 93/09/15 11:49:31 steve Ex p $ $Header: crset.c,v 1.2 93/09/15 11:43:56 steve Exp $ $Header: libfcns.c,v 1.3 93/09/15 11:48:12 steve Exp $ $Header: dbfpath.c,v 1.2 93/09/15 11:44:41 steve Exp $ $Header: crtype.c,v 1.3 93/09/15 11:44:02 steve Exp $ $Header: setdb.c,v 1.2 93/09/15 11:49:44 steve Exp $ $Header: crwrite.c,v 1.2 93/09/15 11:44:05 steve Exp $ $Header: dblog.c,v 1.2 93/09/15 11:44:47 steve Exp $ $Header: dbtaf.c,v 1.2 93/09/15 11:44:51 steve Exp $ $Header: options.c,v 1.2 93/09/15 11:48:41 steve Exp $ $Header: dbuserid.c,v 1.3 93/09/15 11:44:54 steve Ex p $ $Header: delete.c,v 1.2 93/09/15 11:44:57 steve Exp $ $Header: destroy.c,v 1.2 93/09/15 11:44:59 steve Exp $ $Header: recfcns.c,v 1.6 93/09/15 11:48:55 steve Exp $ $Header: setor.c,v 1.2 93/09/15 11:50:11 steve Exp $ $Header: dio.c,v 1.4 93/09/15 11:45:02 steve Exp $ $Header: recfrst.c,v 1.2 93/09/15 11:48:59 steve Exp $ $Header: buildkey.c,v 1.4 93/09/15 11:43:34 steve Ex p $ $Header: gen.c,v 1.10 92/06/17 10:17:12 jeremyk Exp $ $Header: dblfcns.c,v 1.22 93/09/15 11:44:43 steve Ex p $ $Header: alloc.c,v 1.5 93/09/15 11:43:31 steve Exp $ $Header: recover.c,v 1.4 93/09/15 11:49:11 steve Exp $ $Header: dberr.c,v 1.19 93/10/08 17:26:47 steve Exp $ $Header: renfile.c,v 1.2 93/09/15 11:49:35 steve Exp $ $Header: mapchar.c,v 1.2 93/09/15 11:48:19 steve Exp $ $Header: makenew.c,v 1.2 93/09/15 11:48:15 steve Exp $ $Header: trlog.c,v 1.2 93/09/15 11:50:47 steve Exp $ $Header: utscm.c,v 1.2 93/09/15 11:50:49 steve Exp $ $Header: utsco.c,v 1.2 93/09/15 11:50:52 steve Exp $ $Header: initenv.c,v 1.3 93/09/15 11:47:12 steve Exp $ $Header: opens.c,v 1.6 93/09/15 11:48:37 steve Exp $ $Header: utscr.c,v 1.2 93/09/15 11:50:54 steve Exp $ $Header: utscs.c,v 1.2 93/09/15 11:50:57 steve Exp $ $Header: inittab.c,v 1.3 93/09/15 11:47:19 steve Exp $ $Header: ovfcns.c,v 1.4 93/09/15 11:48:45 steve Exp $ $Header: startup.c,v 1.2 93/09/15 11:50:24 steve Exp $ $Header: pathfcns.c,v 1.2 93/09/15 11:48:50 steve Ex p $ $Header: netgen.c,v 1.12 94/04/08 21:55:59 gren Exp $ $Header: genfcns.c,v 1.39 95/11/08 18:22:02 kevins E xp $ $Header: dropcore.c,v 1.5 93/09/15 11:45:10 steve Ex p $ /opt/openmail/bin/unix.out: $Header: ux_in.c,v 5.66 96/03/14 10:16:43 ann Exp $ ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/09/20 B.04.01.05 unix.in, unix.out ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/09/20 X.04.01.04 unix.in, unix.out ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/07/30 B.04.01.03 unix.out ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/04/26 B.04.01.02 unix.in, unix.out ---------------------------------------------------- ------------- PATCHED_B.04.01: 96/04/03 B.04.01.01 unix.in, unix.out ---------------------------------------------------- ------------- Sccs_Id = %W% $Header: ux_out.c,v 5.67.1.2 96/09/20 15:36:14 tonyn Exp $ $Header: discon.c,v 1.2 93/09/15 11:45:05 steve Exp $ $Header: keyfcns.c,v 1.4 93/09/15 11:47:41 steve Exp $ $Header: recnext.c,v 1.2 93/09/15 11:49:07 steve Exp $ $Header: fillnew.c,v 1.2 93/09/15 11:45:12 steve Exp $ $Header: keyfind.c,v 1.2 93/09/15 11:47:46 steve Exp $ $Header: connect.c,v 1.4 93/09/15 11:43:42 steve Exp $ $Header: findco.c,v 1.2 93/09/15 11:45:14 steve Exp $ $Header: findfm.c,v 1.3 93/09/15 11:45:17 steve Exp $ $Header: recread.c,v 1.2 93/09/15 11:49:19 steve Exp $ $Header: keynext.c,v 1.2 93/09/15 11:47:58 steve Exp $ $Header: crget.c,v 1.2 93/09/15 11:43:51 steve Exp $ $Header: findnm.c,v 1.2 93/09/15 11:45:23 steve Exp $ $Header: crread.c,v 1.2 93/09/15 11:43:53 steve Exp $ $Header: dbdpath.c,v 1.2 93/09/15 11:44:37 steve Exp $ $Header: recwrite.c,v 1.2 93/09/15 11:49:31 steve Ex p $ $Header: crset.c,v 1.2 93/09/15 11:43:56 steve Exp $ $Header: libfcns.c,v 1.3 93/09/15 11:48:12 steve Exp $ $Header: dbfpath.c,v 1.2 93/09/15 11:44:41 steve Exp $ $Header: crtype.c,v 1.3 93/09/15 11:44:02 steve Exp $ $Header: setdb.c,v 1.2 93/09/15 11:49:44 steve Exp $ $Header: crwrite.c,v 1.2 93/09/15 11:44:05 steve Exp $ $Header: dblog.c,v 1.2 93/09/15 11:44:47 steve Exp $ $Header: dbtaf.c,v 1.2 93/09/15 11:44:51 steve Exp $ $Header: options.c,v 1.2 93/09/15 11:48:41 steve Exp $ $Header: dbuserid.c,v 1.3 93/09/15 11:44:54 steve Ex p $ $Header: delete.c,v 1.2 93/09/15 11:44:57 steve Exp $ $Header: destroy.c,v 1.2 93/09/15 11:44:59 steve Exp $ $Header: recfcns.c,v 1.6 93/09/15 11:48:55 steve Exp $ $Header: setor.c,v 1.2 93/09/15 11:50:11 steve Exp $ $Header: dio.c,v 1.4 93/09/15 11:45:02 steve Exp $ $Header: recfrst.c,v 1.2 93/09/15 11:48:59 steve Exp $ $Header: buildkey.c,v 1.4 93/09/15 11:43:34 steve Ex p $ $Header: gen.c,v 1.10 92/06/17 10:17:12 jeremyk Exp $ $Header: dblfcns.c,v 1.22 93/09/15 11:44:43 steve Ex p $ $Header: alloc.c,v 1.5 93/09/15 11:43:31 steve Exp $ $Header: recover.c,v 1.4 93/09/15 11:49:11 steve Exp $ $Header: dberr.c,v 1.19 93/10/08 17:26:47 steve Exp $ $Header: renfile.c,v 1.2 93/09/15 11:49:35 steve Exp $ $Header: mapchar.c,v 1.2 93/09/15 11:48:19 steve Exp $ $Header: makenew.c,v 1.2 93/09/15 11:48:15 steve Exp $ $Header: trlog.c,v 1.2 93/09/15 11:50:47 steve Exp $ $Header: utscm.c,v 1.2 93/09/15 11:50:49 steve Exp $ $Header: utsco.c,v 1.2 93/09/15 11:50:52 steve Exp $ $Header: initenv.c,v 1.3 93/09/15 11:47:12 steve Exp $ $Header: opens.c,v 1.6 93/09/15 11:48:37 steve Exp $ $Header: utscr.c,v 1.2 93/09/15 11:50:54 steve Exp $ $Header: utscs.c,v 1.2 93/09/15 11:50:57 steve Exp $ $Header: inittab.c,v 1.3 93/09/15 11:47:19 steve Exp $ $Header: ovfcns.c,v 1.4 93/09/15 11:48:45 steve Exp $ $Header: startup.c,v 1.2 93/09/15 11:50:24 steve Exp $ $Header: pathfcns.c,v 1.2 93/09/15 11:48:50 steve Ex p $ $Header: netgen.c,v 1.12 94/04/08 21:55:59 gren Exp $ $Header: genfcns.c,v 1.39 95/11/08 18:22:02 kevins E xp $ $Header: dropcore.c,v 1.5 93/09/15 11:45:10 steve Ex p $ /opt/openmail/bin/ompatch: $Header: sh_patch.gen,v 5.17 96/03/09 00:20:04 gren Exp $ /opt/openmail/patch/PHSS_8568/ompatch.idx: No what strings cksum(1) Output: 1338536108 520192 /opt/openmail/bin/unix.in 1338536108 520192 /opt/openmail/bin/unix.out 3603765251 12311 /opt/openmail/bin/ompatch 3623138355 6507 /opt/openmail/patch/PHSS_8568/ompatch.idx Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7184 PHSS_7383 PHSS_8147 Equivalent Patches: PHSS_8567: s700: 9.01 9.03 9.05 9.07 s800: 9.00 9.04 Patch Package Size: 590 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 PHSS_8568 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_8568.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/PHSS_8568.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/PHSS_8568. 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 PHSS_8568.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/PHSS_8568.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: SUBSYSTEM_SHUT For PHSS_7184 and later: Message subject and message text in Japanese is now supported at the MIME gateway. New configuration options follow: New configuration file to allow mapping of OpenMail and MIME character set names. This file is: /var/opt/openmail/sys/mime.cs Extra steering files for the unix.out gateway that can be used on an encoding basis in addition to the default steering file: /users/openmail/sys/unixout.str (Default unix.out steering) /users/openmail/sys/sharout.str (Addition steering for 'shar' encoding) /users/openmail/sys/uxuuout.str (Addition steering for 'uuencode' encoding) /users/openmail/sys/mimeout.str (Addition steering for 'MIME' encoding) Extra steering file for the unix.in gateway that can be used on an encoding basis in addition to the default steering file: /users/openmail/sys/unixin.str (Default unix.out steering) /users/openmail/sys/mimein.str (Addition steering for 'MIME' encoding) New openmail general.cfg option to control aspects of MIME encoding: UXO_MIME_SUBJECT_ENCODING= Controls the encoding of a message subject OM->MIME. where value is 'N' for no encoding or 'Q' for 'quoted-printable' encoding (the default) or 'B' for 'base64' encoding UXO_MIME_SUBJECT_FOLDING= If TRUE or YES, subject headers are folded according to RFC 1522 rules - Folding is at 76 bytes (after encoding). For multibyte, folding may be earlier then 76 bytes to avoid splitting multibyte characters and to handle escape sequences correctly. Note that folding is only applicable when the MIME character set is ISO2022 or T61 conformant. This character set must be defined in the Openmail /users/openmail/sys/CSInfo.cfg and ../T61Info.cfg and must have the setting INTERCHANGE=no. UXO_MIME_SUBJ_BENC_NONASCII= This only applies when UXO_MIME_SUBJECT_ENCODING=B. If TRUE or YES, only non-Ascii characters are B encoded. UXO_MIME_SUBJ_NO_SPACE_SEPS= This only applies when UXO_MIME_SUBJECT_ENCODING=B and when UXO_MIME_SUBJ_BENC_NONASCII=T. If TRUE or YES, a space separator between encoded and non-encoded data is not generated. Note that setting this option generates messages in a form that are not strictly compatible with RFC1522. UXO_TREAT_AS_MIME_SUBJECT= If TRUE or YES, the subject of messages leaving Openmail on a shar or uuencode route are treated as if they were for a MIME route. All the MIME_SUBJECT options apply. UXO_MIME_TEXTFILE_ENCODING= Controls the encoding of message text OM->MIME. where value is 'N' for no encoding or 'Q' for 'quoted-printable' encoding (the default) or 'B' for 'base64' encoding UXO_MIME_OMIT_DEF_CTENC_HDR= If TRUE or YES, the Content Encoding header is omitted if it has the default value of 7Bit. UXI_TREAT_AS_MIME_SUBJECT= Controls subject decoding MIME->OM. Setting this option TRUE means that subjects that conform to the MIME (rfc-1522) style encoding will be treated as rfc-1522 subjects (and decoded accordingly) even though they are not in a MIME message (ie. they are in a 'shar' or 'uuencoded' message). NOTE: OpenMail must be shutdown before installing this patch.