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:
Gaia does not support these mail notification features:
Step |
Description |
---|---|
1 |
In the navigation tree, click System Management > Mail Notification. |
2 |
In The Mail Server field, enter the IP Address or Hostname of the mail server. For example: |
3 |
In the User Name field, enter the user name. For example: |
4 |
Click Apply. |
Description
Use this group of commands to configure mail notifications.
Syntax
set mail-notification server <IP Address or Hostname> |
set mail-notification username <User Name> |
show mail-notification server username |
Important - After you add, configure, or delete features, run the save config
command to save the settings permanently.
Parameters
Parameter |
Description |
|
The IP address or Hostname of the mail server, to which Gaia sends mail notifications. Example: |
|
The username on the mail server that receives the Example: |
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 |