Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Perform the following steps to configure a new mail provider:
Steps for this task
Using Jacl:
set node [$AdminConfig getid /Cell:mycell/Node:mynode/]
node = AdminConfig.getid('/Cell:mycell/Node:mynode/') print node
mynode(cells/mycell/nodes/mynode|node.xml#Node_1)
Using Jacl:
$AdminConfig required MailProvider
print AdminConfig.required('MailProvider')
Attribute Type name String
Using Jacl:
set name [list name MP1] set mpAttrs [list $name]
name = ['name', 'MP1'] mpAttrs = [name]
Using Jacl:
set newmp [$AdminConfig create MailProvider $node $mpAttrs]
newmp = AdminConfig.create('MailProvider', node, mpAttrs) print newmp
MP1(cells/mycell/nodes/mynode|resources.xml#MailProvider_1)
Related concepts
AdminConfig object for scripted administration
Related reference
Commands for the AdminConfig object