Using Alternate Mailfile Templates with the Lotus Notes Driver

pnuffer Absent Member.
Absent Member.
0 0 19


A Forum reader recently asked:

"I'm using the Lotus Notes IDM driver. I need to create users which, under certain circumstances, need another than the default mailfile template. I'm able to create the right conditions with Policy Builder, but I'm having trouble finding the right action(s) to overrule the default mailfile-template setting.

For example, default users just get the mail7.ntf template, but some need a crmmail7.ntf template, based upon certain placement in the eDirectory environment."


The online documentation for the IDM Driver for Lotus Notes, in section 4.5 Custom Driver Parameters, describes the 'mailfile-template' custom parameter. When used as an attribute on an XDS add element, this parameter overrides the mailfile-template parameter used by the driver configuration.

I would recommend using a policy to insert an XML mailfile-template
attribute into the XDS add element. Using a rule somewhere in a Subscriber
Command Transformation policy similar to the sample below may get you closer to a solution.

<description>Insert mailfile-template attribute for appropriate add
      <if-operation op="equal">add</if-operation>
      <if-class-name op="equal">User</if-class-name>
      <if-op-attr name="OU" op="equal">Field Sales</if-op-attr>
    <do-set-xml-attr expression="../add[@class-name='User']"
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.