From 16e9aa11e63515dbd5ee373ffe32863abddcc82a Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 28 Aug 2007 02:00:49 +0000
Subject: [PATCH] Add an SMTP account status notification handler, which can be configured to send e-mail messages whenever an account status notification is generated.  The message can be sent to the end user impacted by the notification (based on an attribute in the user's entry) and/or a fixed set of recipients.

---
 opends/src/messages/messages/extension.properties |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/opends/src/messages/messages/extension.properties b/opends/src/messages/messages/extension.properties
index a3cb7b7..a66515c 100644
--- a/opends/src/messages/messages/extension.properties
+++ b/opends/src/messages/messages/extension.properties
@@ -1733,3 +1733,48 @@
  searchable and should not be included in otherwise unindexed search filters
 MILD_ERR_HASSUBORDINATES_VATTR_NOT_SEARCHABLE_542=The %s attribute is not \
  searchable and should not be included in otherwise unindexed search filters
+MILD_ERR_SMTP_ASNH_NO_MAIL_SERVERS_CONFIGURED_543=The SMTP account status \
+ notification handler defined in configuration entry %s cannot be enabled \
+ unless the Directory Server is with information about one or more SMTP servers
+MILD_ERR_SMTP_ASNH_NO_RECIPIENTS_544=SMTP account status notification handler \
+ configuration entry '%s' does not include any email address attribute types \
+ or recipient addresses.  At least one of these must be provided
+MILD_ERR_SMTP_ASNH_SUBJECT_NO_COLON_545=Unable to parse message subject value \
+ '%s' from configuration entry '%s' because the value does not contain a \
+ colon to separate the notification type from the subject
+MILD_ERR_SMTP_ASNH_SUBJECT_INVALID_NOTIFICATION_TYPE_546=Unable to parse \
+ message subject value '%s' from configuration entry '%s' because '%s' is not \
+ a valid account status notification type
+MILD_ERR_SMTP_ASNH_SUBJECT_DUPLICATE_TYPE_547=The message subject definitions \
+ contained in configuration entry '%s' have multiple subjects defined for \
+ notification type %s
+MILD_ERR_SMTP_ASNH_TEMPLATE_NO_COLON_548=Unable to parse message template \
+ file path value '%s' from configuration entry '%s' because the value does \
+ not contain a colon to separate the notification type from the template file \
+ path
+MILD_ERR_SMTP_ASNH_TEMPLATE_INVALID_NOTIFICATION_TYPE_549=Unable to parse \
+ message template file path value '%s' from configuration entry '%s' because \
+ '%s' is not a valid account status notification type
+MILD_ERR_SMTP_ASNH_TEMPLATE_DUPLICATE_TYPE_550=The message template file path \
+ definitions contained in configuration entry '%s' have multiple template \
+ file paths defined for notification type %s
+MILD_ERR_SMTP_ASNH_TEMPLATE_NO_SUCH_FILE_551=The message template file '%s' \
+ referenced in configuration entry '%s' does not exist
+MILD_ERR_SMTP_ASNH_TEMPLATE_UNCLOSED_TOKEN_552=An unclosed token was found \
+ starting at column %d of line %d
+MILD_ERR_SMTP_ASNH_TEMPLATE_UNDEFINED_ATTR_TYPE_553=The \
+ notification-user-attr token starting at column %d of line %d references \
+ undefined attribute type %s
+MILD_ERR_SMTP_ASNH_TEMPLATE_UNDEFINED_PROPERTY_554=The \
+ notification-property token starting at column %d of line %d references \
+ undefined notification property %s
+MILD_ERR_SMTP_ASNH_TEMPLATE_UNRECOGNIZED_TOKEN_555=An unrecognized token %s \
+ was found at column %d of line %d
+MILD_ERR_SMTP_ASNH_TEMPLATE_CANNOT_PARSE_556=An error occurred while \
+ attempting to parse message template file '%s' referenced in configuration \
+ entry '%s':  %s
+INFO_SMTP_ASNH_DEFAULT_SUBJECT_557=Directory Account Status Notification
+SEVERE_ERR_SMTP_ASNH_CANNOT_SEND_MESSAGE_558=An error occurred while \
+ attempting to send an account status notification message for notification \
+ type %s for user entry %s:  %s
+

--
Gitblit v1.10.0