Novell is now a part of Micro Focus

Using Alternate Mailfile Templates with the Lotus Notes Driver

Novell Cool Solutions: Tip
By Perry Nuffer

Digg This - Slashdot This

Posted: 10 Oct 2007


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']"

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates