How to install a custom smtp in order to send notifications from Hystax Acura

How to install a custom smtp in order to send notifications from Hystax Acura

Task

Install a custom smtp in order to send Hystax Acura notifications from a separate address.

Solution

You can configure custom smtp settings by following these steps:

1. Create a new hx_smtp file (<current directory>/hx_smtp) with settings using the following arguments: 
  1. SMTP_SERVER=<SERVER NAME or IP>
  2. SMTP_PORT=<PORT>
  3. SMTP_EMAIL=<EMAIL>
  4. SMTP_PASSWORD=<PASSWORD>
server - smtp server address,
port - smtp server port,
email - email address to send from,
password - user email’s password.

2. Execute the command hx_set_smtp_server in order to apply the new smtp settings. This command must be executed directly from file location hx_smtp.
3. In order to get the smtp config settings, execute the get command hx_get_smtp_server.
The user’s smtp settings will be returned with an encrypted password, all other data like “server“, “port“, and “email“ will be returned as they were written in the hx_smtp file.

In order to test user credentials, start a replication process and then park the device to generate an event which will send an email.
    • Related Articles

    • How to configure custom replication agent settings when adding a new customer in the ACP

      Task When a replication agent is downloaded from the ACP, it is injected with the current network information vital for connecting to the Acura instance and discovering machines for the given customer.  Depending on the actual layout, Acura may be ...
    • How to change network settings of an Acura instance in VMware

      Challenge Hystax Acura for VMware is deployed as a virtual machine to a source ESXi host. It uses DHCP for its NIC by default.  However, these default settings might not work in case the source VMware infrastructure doesn't have DHCP enabled or ...
    • How to change the name of the cloud agent image

      Task Change the name of the cloud agent image Solution "Hystax_CATI" is the default Cloud Agent image name used while we deploy Hystax Acura. To let Acura use a different image name for an existing deployment, you can do the following: 1. Rename the ...
    • How to continue using Acura after changing its public IP address

      Challenge Acura requires a new public IP, and the replications should continue working as before. Solution  This article covers the process from the start, so skip to #2 if you have already configured a new IP. #1 To change Acura's public IP: ...
    • How to update SSL certificate on Acura

      Challenge By default, Acura uses a self-signed SSL certificate for customer access to the UI. This approach might be considered a security risk in some cases, and in order to avoid the corresponding warnings in the browser, the certificate can be ...