In order to send email via the application process, the information about the mail server and the mail sender information must be registered in admin Server.
Registering the mail server and sender
Login as the system administrator, and register the mail server and the mail sender information to admin server using the procedure shown below.
Check whether admin server has stated by using the swrba_status command. If it has not, then start it by using the swrba_start command. Refer to the procedure 6 on the command.
[Windows]
<Installation directory for this product>\SWRBAM\bin\swrba_status
[Linux]
/opt/FJSVswrbam/bin/swrba_status
If SMTP server authentication will be used when the mail is sent, then encrypt the password. This procedure is not necessary if SMTP server authentication will not be used when the mail is sent.
[Windows]
> <Installation directory for this product>\IBPM\server\deployment\bin\EncryptPassword.bat -e "password"
-------ENCRYPTED PASSWORD-------
encrypted password
[Linux]
# /opt/FJSVibpm/client/samples/configuration/EncryptPassword.sh -e "password" -------ENCRYPTED PASSWORD------- encrypted password
Prepare the mail server and mail sender definition files (they can be created in any location).
SMTP server settings file (smtpserver.conf)
Set the following items:
Setting item | Description | Default value |
---|---|---|
SMTPServerHost | Host name or IP address of the SMTP server that will be used to send mail. | localhost |
SMTPServerPort | Port number of the SMTP server that will be used to send mail. | 25 |
SMTPUserName | User name that will be used in SMTP server authentication when the mail is sent. | None |
SMTPPassword | Password that will be used in SMTP server authentication when the mail is sent. | None |
Example: showing how to define the settings file so that SMTP server authentication is used when the mail is sent.
SMTPServerHost=swrba.mail.server
SMTPServerPort=25
SMTPUserName=swrbamailuser
SMTPPassword=encrypted password
Example: SMTP server authentication will not be used when the mail is sent.
SMTPServerHost=swrba.mail.server SMTPServerPort=25 SMTPUserName=\ (*) SMTPPassword=\ (*)
*: A space must be specified after the backslash.
Mail sender settings file (emailaddress.conf)
Set the following items:
Setting item | Description | Default value |
---|---|---|
ServerEmailAddress | Mail sender ('from' address) that will be assigned to the mail in mail address format. | postmaster@example.com |
An example is shown below.
ServerEmailAddress=swrbamailuser@swrba.mail.server
Register the mail server information.
[Windows]
<Installation directory for this product >\IBPM\server\deployment\bin\importProperties.bat smtpserver.conf [Process Management Database user] [Process Management Database password]
*: "swrbadb" as Process Management Database user and Process Management Database password is set during installation.
[Linux]
/opt/FJSVibpm/server/deployment/bin/importProperties.sh mtpserver.conf [Process Management Database user] [Process Management Database password]
*: "swrbadb" as Process Management Database user and Process Management Database password is set during installation.
Register the mail sender information.
[Windows]
<Installation directory for this product >\IBPM\server\deployment\bin\importProperties.bat emailaddress.conf [Process Management Database user] [Process Management Database password] Default
*: "swrbadb" as Process Management Database user and Process Management Database password is set during installation.
[Linux]
/opt/FJSVibpm/server/deployment/bin/importProperties.sh emailaddress.conf [Process Management Database user] [Process Management Database password] Default
*: "swrbadb" as Process Management Database user and Process Management Database password is set during installation.
The "Default" option must be specified at the end.
Restart admin server
To reflect the information that was set, stop Systemwalker Runbook Automation by issuing the swrba_stop command, then restart it by issuing the swrba_start command.
Stop admin server
[Windows]
<Installation directory for this product >\SWRBAM\bin\swrba_stop
[Linux]
/opt/FJSVswrbam/bin/swrba_stop
Start admin server
[Windows]
<Installation directory for this product >\SWRBAM\bin\swrba_start
[Linux]
/opt/FJSVswrbam/bin/swrba_start