6.3.2 Defining the mail configuration properties
Define the mail configuration properties. You can change the contents that are defined when a new mail configuration is created.
For an overview of property setting procedures, see 3.5 Property settings using the property file. The definition of the mail configuration properties is as follows:
- Organization of this subsection
(1) Property file to be edited
Mail property file
(2) Acquiring the property file to be edited and setting the attributes
-
Acquiring the property file
Execute the following command to acquire a mail property file:
- Execution format
cjgetresprop [server-name] [-nameserver provider-URL] -type mail -resname display-name-of-mail -c path-of-mail-property-file
- Example of execution
cjgetresprop MyServer -type mail -resname Mail -c MailProp.xml
-
Setting the attributes
Execute the following command to apply a mail property file:
- Execution format
cjsetresprop [server-name] [-nameserver provider-URL] -type mail -resname display-name-of-mail -c path-of-mail-property-file
- Example of execution
cjsetresprop MyServer -type mail -resname Mail -c MailProp.xml
(3) Attribute settings to be edited
The following table describes the settings for the mail configuration properties:
Items |
Corresponding tags |
---|---|
E-mail address of the E-mail sender |
<from> |
Host name or IP address of the SMTP mail server |
<server> |
Optional name information# |
<resource-external-property> |
Items in optional name information |
Mandatory |
Corresponding tags |
---|---|---|
Optional name of resources |
Y |
<optional-name> |
Resource authentication method |
O |
<res-auth> |
Scope of resource sharing |
O |
<res-sharing-scope> |
For details on the property settings, see 4.3 HITACHI Mail Property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.