Configure Email Addresses
Use the config.tcl file to set the email addresses to be used for each user.
- Call addUserToEmailAddressMap USERNAME EMAIL
- Override the entire procedure getEmailAddress
# Fragment of vovnotifyd/config.tcl file.
# Method 1.
addUserToEmailAddressMap john John.Smith@my.company.com
# Method 2. Assume you can get an address from LDAP
# The LDAP subsystem needs to be configured.
proc getEmailAddress { user } {
set email [VovLDAP::getEmail $user]
if { $email != "" } {
return $email
} else {
return $user
}
}