Mail Notification

Introduction

Mail notifications (also known as Mail Relay) allow you to send email from the Security Gateway.

You can send email interactively or from a script. The email is relayed to a mail hub that sends the email to the final recipient.

Mail notifications are used as an alerting mechanism when a Firewall rule is triggered. It is also used to email the results of cron jobs to the system administrator.

Gaia supports these mail notification features:

  • Presence of a mail client or Mail User Agent (MUA) that can be used interactively or from a script.

  • Presence of a Sendmail-like replacement that relays mail to a mail hub by using SMTP.

  • Ability to specify the default recipient on the mail hub.

Gaia does not support these mail notification features:

  • Incoming e-mail.

  • Mail transfer protocols other than outbound SMTP.

  • Telnet to port 25.

  • E-mail accounts other than admin or monitor.

Configuring Mail Notification in Gaia Portal

Important - On Scalable Platforms, you must connect to the Gaia Portal of the applicable Security Group.

Step

Instructions

1

In the navigation tree, click System Management > Mail Notification.

2

In the Mail Server field, enter the IPv4 Address or Hostname of the mail server.

For example: mail.example.com

3

In the User Name field, enter the user name.

For example: user@mail.example.com

4

Click Apply.

Configuring Mail Notification in Gaia Clish

Important - On Scalable Platforms, you must run the applicable commands in Gaia gClish of the applicable Security Group.

Description

Use this group of commands to configure mail notifications.

Syntax

  • To configure the mail server that receives the mail notifications:

    set mail-notification server <IPv4 Address or Hostname>

  • To configure the user on the mail server that receives the mail notifications:

    set mail-notification username <User Name>

  • To show the configured mail server and user:

    show mail-notification
          server
          username

Important - After you add, configure, or delete features, run the "save config" command to save the settings permanently. Scalable Platforms save the changes automatically.

Parameters

Parameter

Description

server <IPv4 Address or Hostname>

The IPv4 address or Hostname of the mail server, to which Gaia sends mail notifications.

Example: mail.company.com

username <User Name>

The username on the mail server that receives the admin or monitor mail notifications.

Example: johndoe

Example

gaia> set mail-notification server mail.company.com

gaia> set mail-notification username johndoe

gaia> show mail-notification server

Mail notification server: mail.company.com

gaia> show mail-notification username

Mail notification user: johndoe