vRealize Business for Cloud needs an SMTP server to email the reports to recipients. You can configure your SMTP server properties in vRealize Business for Cloud to email the reports.

Prerequisites

You must have configured an SMTP server in your environment that can be used by vRealize Business for Cloud.

Procedure

  1. Log in to the Shell prompt by performing an SSH into the IP address of the vRealize Business for Cloud virtual appliance.
  2. Navigate to the /usr/ITFM-Cloud/va-tools/bin/ directory.

    cd /usr/ITFM-Cloud/va-tools/bin/.

  3. To configure your SMTP server properties, run the configclient.py SET -k <key> -v <value> command.

    The following table lists the keys that must be configured, including example values.

    Key

    Description

    Example Values

    mail.host

    SMTP server host name

    mail.abc.com

    mail.port

    SMTP server port number

    25

    mail.senderEmail

    Email address, which need not be a real email address

    noreply@abc.com

    mail.password

    Password of your SMTP host.

    password

    If there is no password set for your SMTP host, you can enter an empty ("") string.

    mail.transport.strategy

    Transport protocol configuration type

    SMTP_PLAIN

    mail.proxy.host

    Host name of proxy server.

    proxy.mail.abc.com

    If you do not use this key, you must enter an empty ("") string.

    mail.proxy.port

    Port number of proxy server.

    26

    If you do not use this key, you must enter an empty ("") string.

    mail.proxy.userName

    User name of proxy server.

    proxyuser@abc.com

    If you do not use this key, you must enter an empty ("") string.

    mail.proxy.password

    Password of proxy server.

    proxypassword

    If you do not use this key, you must enter an empty ("") string.

    mail.dkimPrivateKey.path

    Path to the DomainKeys Identified Mail (DKIM) private key.

    /usr/key

    If you do not use this key, you must enter an empty ("") string.

    mail.dkimPrivateKey.signingDomain

    Signing domain for the DKIM private key.

    abc.com

    If you do not use this key, you must enter an empty ("") string.

    mail.dkimPrivateKey.selector

    Selector for the DKIM private key.

    xyz

    If you do not use this key, you must enter an empty ("") string.

    You must configure all the parameters listed in the table, even if they are not applicable to your environment. You must add "" for keys that you do not use in your environment.

    For example, if you do not use a mail proxy host, you must configure the key as following.

    ./configclient.py SET -k mail.proxy.host -v ""

  4. Run the monit restart vrbc-xenon-services command.

    The vrbc-xenon-services restarts.

  5. For the configuration to take effect, restart the vRealize Business for Cloud virtual appliance.