Patch Name: PHSS_7340 Patch Description: s700_800 10.X OpenMail B.04.00 X400 patch Creation Date: 96/04/23 Post Date: 96/06/14 Hardware Platforms - OS Releases: s700: 10.01 10.10 s800: 10.01 10.10 Products: OpenMail B.04.00 Filesets: OpenMail.OM-CORE,B.04.00 OpenMail.OM-X400,B.04.00 Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_7340 Symptoms: PHSS_7340: Binary Attachments were going out in X400 as BP14 not external or FTBP. 1653165514: Problem with coercion of Word 6 documents 5003298521: Support for X4_SN_EMPTY_TOKEN missing from X400 XAPIA mappers. 1653159467: If MTA report requests an "audited report" in the per recipient flags of a message, any subsequent delivery or non-delivery report for that message will have zero user report request bits set. PHSS_7263: D500255653: Partially Wild-Carded OpenMail Routes not Displayed by AdC GUI Duplicate Key Errors When Synchronizing OpenMail Mangaged Nodes using AdC. PHSS_7128: D500255125: Installation of PHSS_6944 (Japanese MIME support) makes some incoming X400 messages unreadable at the client. 1653162552: When a large objids.map is created (approx 300 FTBP Object Ids defined) and a message with two message attachments + FORWARDING_LEVEL=0 in madmd.cfg file, a segmentation violation occurs in the x400.hpx.out mapper. 1653162545: When a large objids.map is created (approx 300 FTBP Object Ids defined) and a message with an FTBP is sent, a segmentation violation occurs in the x400.hpx.out mapper. 1653126698: When modifying PDL entries the change log contains the full directory entry for both the before and after images. ----------------------------------- D500234526: OpenMail B.04 cannot integrate with the HP X.500 product ----------------------------------- ----------------------------------- 1653131755: ommodu doesn't remove original alias entry in directory. If ou2 is only 1 character, an alias entry in the directory is not updated if you move a user to a new mailnode. 1653143917: Updates of PDL take a long time using dirsync, and causes the directory to be locked. 1653149625: PDL members get removed when an omresync is done if the member entries belong to a remote directory 5003286245: The removal of attribute values (e.g. ou2=) is not processed by an importing XLR7 dirsync system - this then causes all subsequent changes to fail too. ----------------------------------- D500222687: OpenMail's support for CDS Mail*Hub does not include FTBP EMA BP15 ----------------------------------- ----------------------------------- 5003276360: Japanese messages sent through X400 outmapper cause conformance problem with MTA. ----------------------------------- ----------------------------------- 5000713826: Acknowledgements not recognised when recipients include Freeform name or Common Name fields. 1653145904: Gateway aborts when sending to an 84 route if name includes Teletext Common Name. ----------------------------------- Defect Description: PHSS_7340: Binary Attachments can now go out in X400 as BP14, external or FTBP. 1653165514: Better Word 6 signature in map.types. 5003298521: Support for X4_SN_EMPTY_TOKEN re-instated to X400 XAPIA mappers. 1653159467: The constant for checking the MTA report request flags was set to 0x30 instead of 0x60. PHSS_7263: D500255653: If Part Wild-Carded Routes are used within OpenMail, e.g. C=GB/A=GOLD* Then all text immeadiately before the wild-card is lost, as the route is discovered by HP OpenView AdminCenter. This may lead to 'Duplicate Key' errors during synchronization and mis-representation of the route. The actual route within OpenMail is OK, it is only the visible representation of the route via AdC that is incorrect. PHSS_7128: D500255125: In some cases the incoming X400 gateway must parse the Japanese text to determine it's character set. PHSS_6944 introduced a new character set, UNIXJIS, which is very similar to OMJIS, the Japanese X400 and internal character set. As a result, the X400 gateway parsing incorrectly returned UNIXJIS instead of OMJIS. Consequently the message was set up incorrectly and the client could not read it. 1653162552: The quick-index to the object id memory structures now stores offsets from a base address (rather than direct memory pointers which may become invalid when the memory block is moved). 1653162545: When the FTBP object id records were read into memory structures, one of the elements was not being initialised to NULL. 1653126698: Unless the DR_NO_MOD_STRIP_PDL option is set in general.cfg the code will now only log the PDL name and address as the before image. The after image remains the full modified directory entry. ----------------------------------- D500234526: omconfX500 gives error [OM 16085] ----------------------------------- ----------------------------------- 1653131755: The comparison routine which was used to determine if the mailnode for a user had changes was not working correctly. 1653143917: For PDLs, the full entry was being used as a filter to search for the entry to be modified. 1653149625: When an omresyncds is done, the entries from the remote directory are removed before being re-added. If PDLs contain these entries and they are cross- referenced, the names will be removed from the PDLs too. *** FIX INFO *** A general.cfg and environment variable option have been added to allow the breaking of this link so the names are not removed from the PDLs. To turn off the removal of these names, set DS_BREAK_PDL_LINK_RESYNC=TRUE either in general.cfg or in the shell before running omon. 5003286245: The library routine used to filter known attributes from the update entry was discarding empty attributes which were supplied in order to remove the values from those attributes. ----------------------------------- D500222687: OpenMail's support for CDS Mail*Hub does not include FTBP EMA BP15 ----------------------------------- ----------------------------------- 5003276360: When Japanese messages enter Openmail, the converter converts the message text to X400 compatible format. The converter incorrectly inserted FF-LF at the head of the text. For INTAP JPBodyParts, no FF sequence should be generated. ----------------------------------- ----------------------------------- 5000713826: Problem with matching names between P1 and P2 fields. This is due to OpenMail having one set of ack requests, X.400 splitting them. 1653145904: The teletext Common Name was being included in messages sent to an 84 configured route. This causes the XAPIA to reject the message. ----------------------------------- SR: 1653165514 5003298521 1653159467 D500255653 D500255125 1653162552 1653162545 1653126698 D500234526 1653131755 1653143917 D500222687 5003276360 5000713826 1653145904 Patch Files: /opt/openmail/bin/x400.hpx.in /opt/openmail/bin/x400.hpx.out /opt/openmail/bin/x400.cds.in /opt/openmail/bin/x400.cds.out /opt/openmail/bin/dirsync /usr/openmail/lib/libxgcCDS.sl /usr/openmail/lib/libx4cCDS.sl /opt/openmail/lib/libom.sl /opt/openmail/lib/libxdsd.sl /var/opt/openmail/release.sys/ftbpids.map /var/opt/openmail/release.sys/objids.map /var/opt/openmail/release.sys/map.types /tmp/ominst.7340 what(1) Output: /opt/openmail/bin/x400.hpx.in: ---------------------------------------------------- ------------- PATCHED_B.04.00: 96/04/22 B.04.00.04 x400.hpx.in, x400.cds.in ---------------------------------------------------- ------------- PATCHED_B.04.00: 96/03/29 B.04.00.03 x400.hpx.in, x400.cds.in ---------------------------------------------------- ------------- PATCHED_B.04.00: 95/11/22 B.04.00.02 x400.hpx.in, x400.cds.in ---------------------------------------------------- ------------- PATCHED_B.04.00: 95/11/06 B.04.00.01 x400.hpx.in, x400.cds.in ---------------------------------------------------- ------------- X400-GTWAPI: C.05.22 $Date: 95/11/06 9:25:44 $ /opt/openmail/bin/x400.hpx.out: ---------------------------------------------------- ------------- PATCHED_B.04.00: 96/04/19 B.04.00.04 x400.hpx.out, x400.cds.out ---------------------------------------------------- ------------- PATCHED_B.04.00: 96/03/29 B.04.00.03 x400.hpx.out, x400.cds.out ---------------------------------------------------- ------------- PATCHED_B.04.00: 95/11/22 B.04.00.02 x400.hpx.out, x400.cds.out ---------------------------------------------------- ------------- PATCHED_B.04.00: 95/11/06 B.04.00.01 x400.hpx.out, x400.cds.out ---------------------------------------------------- ------------- X400-GTWAPI: C.05.22 $Date: 95/11/06 9:25:44 $ /opt/openmail/bin/x400.cds.in: ---------------------------------------------------- ------------- PATCHED_B.04.00: 96/04/22 B.04.00.04 x400.hpx.in, x400.cds.in ---------------------------------------------------- ------------- PATCHED_B.04.00: 96/03/29 B.04.00.03 x400.hpx.in, x400.cds.in ---------------------------------------------------- ------------- PATCHED_B.04.00: 95/11/22 B.04.00.02 x400.hpx.in, x400.cds.in ---------------------------------------------------- ------------- PATCHED_B.04.00: 95/11/06 B.04.00.01 x400.hpx.in, x400.cds.in ---------------------------------------------------- ------------- /opt/openmail/bin/x400.cds.out: ---------------------------------------------------- ------------- PATCHED_B.04.00: 96/04/19 B.04.00.04 x400.hpx.out, x400.cds.out ---------------------------------------------------- ------------- PATCHED_B.04.00: 96/03/29 B.04.00.03 x400.hpx.out, x400.cds.out ---------------------------------------------------- ------------- PATCHED_B.04.00: 95/11/22 B.04.00.02 x400.hpx.out, x400.cds.out ---------------------------------------------------- ------------- PATCHED_B.04.00: 95/11/06 B.04.00.01 x400.hpx.out, x400.cds.out ---------------------------------------------------- ------------- /opt/openmail/bin/dirsync: Sccs_Id = %W% $Header: ds_Common.c,v 5.28 94/12/01 11:35:38 mauric e Exp $ Sccs_Id = %W% $Header: ds_ErrLog.c,v 5.8 94/06/21 17:41:17 gren Ex p $ Sccs_Id = %W% $Header: ds_Filter.c,v 5.28 95/07/04 17:06:44 ann Ex p $ Sccs_Id = %W% $Header: ds_Init.c,v 5.26 95/02/13 15:55:12 ann Exp $ ---------------------------------------------------- ------------ PATCHED_B.04.00: 95/11/24 B.04.00.01 dirsync ---------------------------------------------------- ------------ Sccs_Id = %W% $Header: ds_Main.c,v 5.38 95/11/24 15:57:49 apm Exp $ Sccs_Id = %W% $Header: ds_Msg.c,v 5.20 94/06/21 17:42:24 gren Exp $ Sccs_Id = %W% $Header: ds_RcvAll.c,v 5.14 95/02/13 15:58:17 ann Ex p $ Sccs_Id = %W% $Header: ds_RcvUpd.c,v 5.13 95/02/13 15:58:45 ann Ex p $ Sccs_Id = %W% $Header: ds_ReqAll.c,v 5.7 94/06/21 17:42:51 gren Ex p $ Sccs_Id = %W% $Header: ds_ReqUpd.c,v 5.10 94/06/21 17:43:06 gren E xp $ Sccs_Id = %W% $Header: ds_Reset.c,v 5.12 94/06/21 17:43:11 gren Ex p $ Sccs_Id = %W% $Header: ds_SendAll.c,v 5.16 95/02/10 15:41:09 ann E xp $ Sccs_Id = %W% $Header: ds_SendInd.c,v 5.7 94/06/21 17:43:41 gren E xp $ Sccs_Id = %W% $Header: ds_SendUpd.c,v 5.18 95/02/10 15:41:22 ann E xp $ Sccs_Id = %W% $Header: ds_Time.c,v 5.11 94/06/21 17:44:32 gren Exp $ Sccs_Id = %W% $Header: ds_Util.c,v 5.24 95/11/09 17:29:31 apm Exp $ Sccs_Id = %W% $Header: ds_UtilSS.c,v 4.23 95/04/03 14:36:00 ann Ex p $ /usr/openmail/lib/libxgcCDS.sl: No what strings /usr/openmail/lib/libx4cCDS.sl: Sccs_Id = %W% $Header: x4c_ConvDL.c,v 1.3 95/05/04 16:04:13 apm Ex p $ /opt/openmail/lib/libom.sl: $Header: gen_vers.c,v 1.22 96/03/29 15:47:59 tonyn E xp $ Sccs_Id = %W% $Header: mll_access.c,v 5.12 95/07/14 16:33:04 jacki e Exp $ $Header: mll_highl.c,v 5.3 94/06/22 00:43:40 gren Ex p $ Sccs_Id = %W% $Header: bb_find.c,v 1.10 95/09/29 17:02:36 ann Exp $ Sccs_Id = %W% $Header: bb_itm2acl.c,v 1.2 94/11/23 11:16:27 kevins Exp $ Sccs_Id = %W% $Header: bb_utils.c,v 1.38 95/07/14 16:10:18 jackie Exp $ Sccs_Id = %W% $Header: cl_format.c,v 5.25 94/06/21 18:56:33 gren E xp $ Sccs_Id = %W% $Header: smsk_exxp.c,v 1.3 95/07/14 11:25:36 steves Exp $ Sccs_Id = %W% $Header: usrl_add.c,v 4.28 95/09/22 17:33:02 richard Exp $ Sccs_Id = %W% $Header: usrl_del.c,v 4.12 95/07/13 16:23:22 richard Exp $ Sccs_Id = %W% $Header: usrl_lic.c,v 4.5 94/06/21 21:55:11 gren Exp $ Sccs_Id = %W% $Header: da_FmtEnt.c,v 1.23 96/04/17 16:45:18 steve Exp $ Sccs_Id = %W% $Header: da_PrsEnt.c,v 4.43 95/09/26 17:16:34 ann Ex p $ ---------------------------------------------------- ------------ da_FmtEnt.c PATCHED_B.04.00: 96/04/17 B.04.00.09 oid_ObjId.c, oid_access.h PATCHED_B.04.00: 96/03/29 B.04.00.08 ccs_GetCpd.c PATCHED_B.04.00: 96/03/28 B.04.00.07 oid_ObjId.c PATCHED_B.04.00: 96/03/08 B.04.00.06 oid_ObjId.c PATCHED_B.04.00: 96/02/22 B.04.00.05 PATCHED_B.04.00: 96/01/19 B.04.00.04 flt_aponef.c, dr_Opt da_Opt dr_modify, dr_delete, da_NmConv PATCHED_B.04.00: 95/11/29 B.04.00.03 PATCHED_B.04.00: 95/11/17 B.04.00.02 PATCHED_B.04.00: 95/11/10 B.04.00.01 libom.sl ---------------------------------------------------- ------------ /opt/openmail/lib/libxdsd.sl: ---------------------------------------------------- ------------ PATCHED_B.04.00: 95/11/29 B.04.00.01 libxdsd.sl ---------------------------------------------------- ------------ /var/opt/openmail/release.sys/ftbpids.map: No what strings /var/opt/openmail/release.sys/objids.map: No what strings /var/opt/openmail/release.sys/map.types: $Header: sys_coerce,v 5.14 96/04/18 12:58:32 tonyn E xp $ /tmp/ominst.7340: Installation file for the OpenMail core product cksum(1) Output: 2161386065 1187840 /opt/openmail/bin/x400.hpx.in 1672369438 1179648 /opt/openmail/bin/x400.hpx.out 1144497728 2256896 /opt/openmail/bin/x400.cds.in 1512572860 2248704 /opt/openmail/bin/x400.cds.out 673883364 471040 /opt/openmail/bin/dirsync 1468384917 290816 /usr/openmail/lib/libxgcCDS.sl 1778504169 159744 /usr/openmail/lib/libx4cCDS.sl 3877030981 6393856 /opt/openmail/lib/libom.sl 1639616944 12288 /opt/openmail/lib/libxdsd.sl 810293893 16126 /var/opt/openmail/release.sys/ftbpids.map 3455757598 3164 /var/opt/openmail/release.sys/objids.map 1676574275 8037 /var/opt/openmail/release.sys/map.types 1369236931 3047 /tmp/ominst.7340 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7128 PHSS_7263 Equivalent Patches: PHSS_7339: s700: 9.01 9.03 9.05 9.07 s800: 9.00 9.04 Patch Package Size: 14000 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_7340 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_7340.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_7340.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. The cluster clients must be shut down as described in step 5b. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_7340. 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_7340.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_7340.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: SUBSYSTEM_SHUT Configuring the link between OpenMail and the Control Data Mail*Hub X.400 MTA This section describes how to configure the Control Data Mail*Hub X.400 MTA and OpenMail so that messages can be passed between the two products. To configure Control Data Mail*Hub MTA to work with OpenMail ------------------------------------------------------------ NOTE Control Data recommends that all Mail*Hub installation and configuration procedures be completed by Control Data certified Mail*Hub integrators. 1. All Mail*Hub components must be fully installed and operable. Routing information for the Mail*Hub X.400 MTA is stored in a routing tree in the Mail*Hub X.500 directory. Add an entry to this routing tree so that mail you want routed to the OpenMail system is placed in the queue for OpenMail - OPENMAIL. Make a note of this queue name. 2. Obtain the configured name of the MTA. The line beginning with the keyword "mta:" in the file /usr/var/mhs/mailhub.cf defines the Directory Distinguished Name (DDN) of the MTA. Use the DDN as input to the command: /usr/sbin/mhs/lookupMTA This command returns details about the MTA, including in the line beginning "name =" the MTA name. Make a note of this name. To configure OpenMail to work with Control Data Mail*Hub MTA ------------------------------------------------------------ 1. Check the correct transport configuration file is used. In the directory /users/openmail/sys/xport.mappers, copy the file X400.cds to the file X400. 2. Configure route specific information. In the directory /users/openmail/sys, edit the file madmd.cfg. Add the following attributes: ROUTE : A name, you choose, to identify a set of attributes enclosed by BEGIN and END tags. The ROUTE name is used to reference these attributes when adding and modifying routes. MTA_NAME : The configured name of the MTA. (You noted this in the previous procedure.) CLIENT_NAME : The configured name of the OpenMail queue in the MTA. Usually, OPENMAIL. (You noted this in the previous procedure.) Also add the attributes : TELETEX_PAGE_FORMATS=1 GENERATE_FTPBP=TRUE If your local mailnodes do not already include Country Name, ADMD, and optionally PRMD and Organization Name, you must define these attributes (C, ADMD, PRMD, O, and T61_O) also. Optionally, add further attributes for this route name. A full list of attributes is given in the OpenMail Technical Guide. 3. Optionally, add further groups of attributes for each route that requires a different configuration. 4. Route messages to the X.400 Interface using the command omaddrt or omadmin. The name specified in the route information must match a ROUTE attribute in the madmd.cfg file. 5. Uncommment the File Transfer Body part lines from the OpenMail objids.map file. 6. Restart the X.400 Interface. NOTE: OpenMail must be shutdown before installing this patch.