Patch Name: PHSS_9143 Patch Description: s700_800 10.X OpenMail B.05.01 Unix Gateway patch Creation Date: 96/12/05 Post Date: 96/12/10 Hardware Platforms - OS Releases: s700: 10.01 10.10 10.20 s800: 10.01 10.10 10.20 Products: OpenMail B.05.01 Filesets: OpenMail.OM-UNIX,B.05.01 OpenMail.OM-CORE,B.05.01 Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_9143 Symptoms: PHSS_9143: 1653173328: Support of Eudora x-uuencode body part. 1653173393: Improved support of Japanese filenames in attachments 1653188862: RTF file is retained as alternative even though successfully converted to text. 1653188540: Message received by unix.in which performs INTERNET-ADDR mapping to convert the recipient address to an Openmail address. Sometimes the Teletex parts of the Openmail address are lost and the message is non-delivered. PHSS_8609: D500278564: D500277319: The B.05.01 version of openmail does not support sendmail V8.7, this is seen as an inability of omsendin to update the sendmail configuration file. Also the unix gateway is unable to send messages. NOTE: sendmail V8.7 is ONLY SUPPORTED ON HPUX 10.20 OpenMail support for sendmail V8.7 on HPUX 10.20 requires SendMail patch PHNE_8702 Defect Description: PHSS_9143: 1653173328: Support of Eudora x-uuencode body part. If such a part is received, it will be decoded. 1653173393: Improved support of Japanese filenames in attachments. Filename will be taken from Content-Disposition header if present, and such will also be generated. If general.cfg option of UXO_T61_ITEMSUB_IS_FNAME is set then T61 Item subject will be used for the filename on outgoing MIME messages (unless over-ridden by other settings) There is a new general.cfg option : UXO_MIME_FNAME_ENCODING This can have the same values as the equivalent one for subjects. In addition, it supports the value 'D' which ensures that the filename generated for an attachment will be a valid DOS filename. If the general.cfg option 'UXI_DOS_FNAME' is set then the subject field for attachments which are not text will be coerced to be valid DOS filenames. 1653188862: Alternatives retention can be disabled, either for all converted files by setting general.cfg option UXO_NO_RETAIN_IF_CONVERTED=TRUE or selectively by setting the same tweak to a list of filetypes for which retention is not wanted, e.g. UXO_NO_RETAIN_IF_CONVERTED=2130,2127,1566,1662 The unix in gateway attempts to convert T61 OR Name fields to its internal T61 format. This step is not necessary when address mapping is in effect and the Openmail address is already in the correct form. PHSS_8609: D500278564: D500277319: A new omsendin script has been written to recognise the lines in sendmail.cf which correspond to OpenMail support. NOTE: no attempt is made to add in the missing lines if they are not present. The internet gateway has been changed to supply a hostname along with the helo command when talking to sendmail - to avoid problems with sendmail thinking a loop has occured "localhost"is used as the hostname. NOTE: sendmail V8.7 is ONLY SUPPORTED ON HPUX 10.20 SR: 1653188862 1653173328 1653173393 1653188540 D500278564 D500277319 Patch Files: /opt/openmail/bin/omsendin /opt/openmail/bin/omsendin.20 /opt/openmail/bin/unix.out /opt/openmail/bin/unix.in /opt/openmail/newconfig/sm.update /opt/openmail/bin/ompatch /opt/openmail/patch/PHSS_9143/ompatch.idx what(1) Output: /opt/openmail/bin/omsendin: No what strings /opt/openmail/bin/omsendin.20: No what strings /opt/openmail/bin/unix.out: $Header: ux_in.c,v 6.32 96/11/30 07:28:04 gren Exp $ ---------------------------------------------------- ------------- PHSS_9142 and PHSS_9143 PATCHED_B.05.01: 96/11/26 B.05.01.02 unix.in, unix.out ---------------------------------------------------- ------------- Sccs_Id = %W% $Header: ux_out.c,v 6.17.1.2 96/11/30 07:34:47 gren Exp $ $Header: discon.c,v 1.2 93/09/15 11:45:05 steve Exp $ $Header: disdel.c,v 1.2 93/09/15 11:45:07 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: members.c,v 1.3 93/09/15 11:48:23 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: setro.c,v 1.2 93/09/15 11:50:20 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: csmset.c,v 1.2 93/09/15 11:44:13 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: ismember.c,v 1.2 93/09/15 11:47:23 steve Ex p $ $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.in: $Header: ux_in.c,v 6.32 96/11/30 07:28:04 gren Exp $ ---------------------------------------------------- ------------- PHSS_9142 and PHSS_9143 PATCHED_B.05.01: 96/11/26 B.05.01.02 unix.in, unix.out ---------------------------------------------------- ------------- Sccs_Id = %W% $Header: ux_out.c,v 6.17.1.2 96/11/30 07:34:47 gren Exp $ $Header: discon.c,v 1.2 93/09/15 11:45:05 steve Exp $ $Header: disdel.c,v 1.2 93/09/15 11:45:07 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: members.c,v 1.3 93/09/15 11:48:23 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: setro.c,v 1.2 93/09/15 11:50:20 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: csmset.c,v 1.2 93/09/15 11:44:13 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: ismember.c,v 1.2 93/09/15 11:47:23 steve Ex p $ $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/newconfig/sm.update: HP OpenMail script to copy new sendmail file and ref reeze it. $Header: sh_smupd.gen,v 6.8 96/09/12 16:33:46 kevins Exp $ /opt/openmail/bin/ompatch: $Header: sh_patch.gen,v 6.4 96/03/11 05:48:55 gren E xp $ /opt/openmail/patch/PHSS_9143/ompatch.idx: No what strings cksum(1) Output: 3554782788 12426 /opt/openmail/bin/omsendin 1082653721 7890 /opt/openmail/bin/omsendin.20 1677545960 421888 /opt/openmail/bin/unix.out 1677545960 421888 /opt/openmail/bin/unix.in 546157807 6943 /opt/openmail/newconfig/sm.update 1056313100 12310 /opt/openmail/bin/ompatch 3492735808 7242 /opt/openmail/patch/PHSS_9143/ompatch.idx Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_8609 Equivalent Patches: PHSS_9142: s700: 9.01 9.03 9.05 9.07 s800: 9.00 9.04 Patch Package Size: 530 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_9143 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_9143.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_9143.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_9143. 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_9143.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_9143.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: SUBSYSTEM_SHUT Enhancements for Japanese Internet Mail Support ----------------------------------------------- New general.cfg options : UXO_T61_ITEMSUB_IS_FNAME=T the T61 Item subject will be used for the filename in outgoing messages. Encoding will be determined by UXO_MIME_FNAME_ENCODING. UXO_MIME_FNAME_ENCODING= Controls the encoding of a message filename OM->MIME. where the value is : 'D' for forcing outgoing non-text filenames to meet DOS filename conventions. 'N' for no encoding or 'Q' for 'quoted-printable' encoding or 'B' for 'base64' encoding UXI_DOS_FNAME=T The Subject for Non-text attachments in messages entering OpenMail will be coerced to a DOS filename. If UXO_MIME_FNAME_ENCODING=D then this takes precedence over UXO_T61_ITEMSUB_IS_FNAME. Recommended settings in general.cfg for Japan. ---------------------------------------------- UXI_UNIX_MAIL_CHARSET=UNIXJIS UXI_TREAT_AS_MIME_SUBJECT=TRUE UXI_SUPPRESS_ARPA_HEADER=T # Enable the next setting if OpenMail clients # exporience difficulties with invalid # filenames in attachment subjects. # Newer clients use the original filename field, # which should avoid the need for this setting. #UXI_DOS_FNAME=T UXO_MIME_SUBJECT_ENCODING=N UXO_MIME_TEXTFILE_ENCODING=N UXO_MIME_SUBJECT_FOLDING=T # This next setting is not strictly required but # is useful if UXO_MIME_SUBJECT_ENCODING=B UXO_MIME_SUBJ_BENC_NONASCII=T UXO_TREAT_AS_MIME_SUBJECT=T UXO_MIME_OMIT_DEF_CTENC_HDR=T UXO_MIME_SUBJ_NO_SPACE_SEPS=T UXO_T61_ITEMSUB_IS_FNAME=T UXO_MIME_FNAME_ENCODING=D Other recommendations. ---------------------- By default, OpenMail configures SendMail to strip the 8th bit from all characters in incoming messages. This should be disabled. =========================================================== Disabling alternative body part retention. ------------------------------------------ For the outgoing MIME internet gateway, alternatives retention can be disabled, either for all converted files by setting general.cfg option UXO_NO_RETAIN_IF_CONVERTED=TRUE or selectively by setting the same option to a list of filetypes for which retention is not wanted, e.g. UXO_NO_RETAIN_IF_CONVERTED=2130,2127,1566,1662 =========================================================== sendmail V8.7 support on HPUX 10.20 systems. -------------------------------------------- This patch can be installed on non-HPUX 10.20 systems as long as they have supported versions of sendmail on them. NOTE: OpenMail must be shutdown before installing this patch.