System administrators can create a System Event to trigger an automated notification or action when a specific mail server condition is met. This process allows for proactive monitoring of SmarterMail server health and performance.
Before you begin
You will need:
System Administrator access to the SmarterMail server.
Knowledge of the specific server condition or threshold you wish to monitor.
Create a System Event
Log in to the SmarterMail administration interface.
Navigate to System Administration > System Events.
Click Add to create a new event.
Enter a descriptive name for the event in the Event Name field.
Select the appropriate Condition from the dropdown menu (e.g., a specific service status or resource threshold).
Define the Severity level of the event.
Click Save.
Configure an Email Notification for a System Event
Once the event is created, you can configure the system to send an email alert when the condition is met.
Navigate to System Administration > System Events.
Select the specific event you created and click Edit.
Locate the Notification section.
Select Email as the notification method.
Enter the email address(es) that should receive the alert.
Click Save.
Configure a Command Action for a System Event
You can also configure SmarterMail to execute a specific command automatically when a system event occurs.
Navigate to System Administration > System Events.
Select the specific event and click Edit.
Locate the Action section.
Select Command as the action type.
Enter the command or script path in the Command field.
Click Save.
Confirm the result
The new event will appear in the list under System Administration > System Events.
If an email notification is configured, a test alert can be triggered by manually forcing the condition to verify the alert reaches the intended recipients.
If a command action is configured, the system will execute the specified command automatically upon the next occurrence of the condition.
