4.5.2. Procedure – Configuring e-mail alerts

Purpose: 

To configure e-mail alerts, complete the following steps:

Steps: 

  1. Navigate to Basic Settings > Management > Mail settings.

  2. If you want to encrypt the communication between PSM and the SMTP server, in Encryption, select the STARTTLS option and complete the following steps:

    • If you want PSM to verify the certificate of the server, select Only accept certificates authenticated by the specified CA certificate and click the icon in the CA X.509 certificate field. A pop-up window is displayed.

      Click Browse, select the certificate of the Certificate Authority (CA) that issued the certificate of the SMTP server, then click Upload. Alternatively, you can paste the certificate into the Copy-paste field and click Set.

      PSM will use this CA certificate to verify the certificate of the server, and reject the connections if the verification fails.

    • If the SMTP server requires mutual authentication, that is, it expects a certificate from PSM, enable Authenticate as client. Generate and sign a certificate for PSM, then click in the Client X.509 certificate field to upload the certificate. After that, click in the Client key field and upload the private key corresponding to the certificate.

    Balabit recommends using 2048-bit RSA keys (or stronger).

  3. If you want PSM to authenticate to the SMTP server, in Authentication, select the Enabled option. Enter the Username to authenticate with.

    To configure or change the password to use to authenticate to the SMTP server, click Change and enter the password. Click Update. Click .

    Note

    PSM accepts passwords that are not longer than 150 characters. The following special characters can be used: !"#$%&'()*+,-./:;<=>?@[\]^-`{|}

  4. Enter the IP address or the hostname of the mail server into the SMTP server address field.

    Use an IPv4 address.

    Figure 4.15. Basic Settings > Management > Mail settings — Configuring e-mail sending

    Basic Settings > Management > Mail settings — Configuring e-mail sending
  5. Enter the e-mail address where you want to receive e-mails from into the Send e-mails as field. This can be useful for e-mail filtering purposes. PSM sends e-mails from the address provided here. If no e-mail address is entered, e-mails will be sent from the default e-mail address.

  6. Enter the e-mail address of the administrator into the Administrator's e-mail address field. PSM sends notifications related to system-events (but not alerts and reports) to this address.

  7. Enter the e-mail address of the administrator into the Send e-mail alerts to field. PSM sends monitoring alerts to this address.

  8. Enter the e-mail address the person who should receive traffic reports from PSM into the Send reports to field. For details on reports, see Chapter 19, Reports.

  9. Click .

  10. Click Test to send a test message.

    If the test message does not arrive to the server, check if PSM can access the server. For details, see Chapter 23, Troubleshooting PSM.

  11. Navigate to Basic Settings > Alerting & Monitoring and select in which situations should PSM send an e-mail alert. For details, see Section 4.6, Configuring system monitoring on PSM.

  12. Click .