File name
mail_config.xml |
Description
This file specifies various settings, such as the connection destination for the email notification feature, and the retry settings used when transmission errors occur.
File location
[Windows]
<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\config |
[Linux]
/etc/opt/FJSVcfmgm/config |
File format
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <entry key="enable-email">true</entry> <entry key="notify-deployment-success">true</entry> ... omitted <entry key="smtp-host">smtp.example.com</entry> <entry key="smtp-port">25</entry> <entry key="smtp-timeout">60</entry> <entry key="smtp-retry-interval">600</entry> <entry key="smtp-retry-count">10</entry> <entry key="retrybox-path">[<Systemwalker Software Configuration Manager installation directory>]/mail/retrybox</entry> <entry key="failbox-path">[<Systemwalker Software Configuration Manager installation directory>]/mail/failbox </entry> <entry key="from-email">cloud-master@example.com</entry> <entry key="from-name">Cloud Center</entry> </properties>
Parameters
The contents of each key are as follows:
Key | Meaning | Initial value | Default value |
---|---|---|---|
enable-email (*1) | Enables the email transmission feature. | true | false |
smtp-host (*1) | Host name or IP address of the SMTP server | - | Must be specified |
smtp-port (*1) | Port number of the SMTP server | 25 | 25 |
smtp-timeout | The timeout for connections to the SMTP server(in seconds) | 60 | 60 |
smtp-retry-interval (*1) | Retry interval when transmission fails (in seconds) | 300 | 600 |
smtp-retry-count (*1) | Number of retries when transmission fails | 10 | 10 |
retrybox-path | The directory for storing email awaiting a retry attempt. This directory temporarily stores email when email transmission errors occur. | <Systemwalker Software Configuration Manager installation directory>/mail/retrybox | Must be specified |
failbox-path | Failed email storage directory. This directory stores email for which the maximum number of retry attempts has been reached when email transmission errors occur. | <Systemwalker Software Configuration Manager installation directory>/mail/failbox | Must be specified |
from-email (*1) | Sender's email address | - | Must be specified |
from-name (*1) | Sender name | - | Must be specified |
*1: The value specified at setup is applied.
Cautions
Use UTF-8 as the character encoding for the file.
Systemwalker Software Configuration Manager must be restarted in order for changes to the settings to take effect.
Example
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <entry key="enable-email">true</entry> <entry key="notify-deployment-success">true</entry> <entry key="smtp-host">smtp.example.com</entry> <entry key="smtp-port">25</entry> <entry key="smtp-timeout">60</entry> <entry key="smtp-retry-interval">300</entry> <entry key="smtp-retry-count">10</entry> <entry key="format-path">C:/Program Files (x86)/Systemwalker/SWCFMGM/mail/format</entry> <entry key="retrybox-path">C:/Program Files (x86)/Systemwalker/SWCFMGM/mail/retrybox</entry> <entry key="failbox-path">C:/Program Files (x86)/Systemwalker/SWCFMGM/mail/failbox</entry> <entry key="from-email">cloud-master@example.com</entry> <entry key="from-name">Cloud Center</entry> </properties>