Alerts to a single E-Mail Address --------------------------------- In order to send notifications to a single address three items need to be setup within ossec.conf Global E-Mail address destination ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The destination email address and mail host should be configured inside the section of the /var/ossec/etc/ossec.conf. .. code-block:: xml yes me@example.com mx.example.com.. ossec@example.com Full details on all the options are available at :ref:`ossec_config.global` .. note:: If the `smtp_server` entry contains a hostname, `/etc/resolv.conf` will probably have to be copied to OSSEC's `etc` directory (`/var/ossec/etc` by default). Set the alert levels that will send notifications ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The minimum email_alert_level can be set inside the section of the /var/ossec/etc/ossec.conf file. .. code-block:: xml 10 Full details on all the options are available at :ref:`ossec_config.alerts` Restart OSSEC to complete the changes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OSSEC needs to be restarted for the change to take effect. .. code-block:: console # /var/ossec/bin/ossec-control restart