Sun Java System Directory Server Enterprise Edition 6.2 Administration Guide

ProcedureTo Configure Administrative Alerts to Be Sent to Email

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. Select the alerts that will be sent to the syslog, as described in To Enable Administrative Alerts.

  2. Configure the address and characteristics of the email.


    $ dpconf set-server-prop -h host -p port email-alerts-smtp-host:host-name \
      email-alerts-smtp-port:port-number \
      email-alerts-message-from-address:sender-email-address \
      email-alerts-message-to-address:receiver-email-address \
      [email-alerts-message-to-address:receiver-email-address ...] \
      email-alerts-message-subject:email-subject
    
  3. Enable alerts to be sent to email.


    $ dpconf set-server-prop -h host -p port email-alerts-enabled:true
  4. (Optional) Set a flag to include the alert code in the email


    $ dpconf set-server-prop -h host -p port \
     email-alerts-message-subject-includes-alert-code:true