Example: Configuring a new mail provider using wsadmin
- Identify the parent ID:
set node [$AdminConfig getid /Cell:mycell/Node:mynode/]Example output:
mynode(cells/mycell/nodes/mynode:node.xml#Node_1)- Get required attributes:
$AdminConfig required MailProviderExample output:
Attribute Type name String- Set up required attributes:
set name [list name MP1] set mpAttrs [list $name]- Create the mail provider:
set newmp [$AdminConfig create MailProvider $node $mpAttrs]Example output:
MP1(cells/mycell/nodes/mynode:resources.xml#MailProvider_1)- Save the changes with the following command:
$AdminConfig save