From 8f731063c3a73ae2585abd4f949611f153be9421 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 20 Jul 2007 20:04:30 +0000
Subject: [PATCH] Add a general framework for OpenDS to send e-mail messages, and add an SMTP alert handler that can be used to send e-mail messages in response to administrative alerts generated within the server.
---
opends/src/server/org/opends/server/messages/ConfigMessages.java | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/ConfigMessages.java b/opends/src/server/org/opends/server/messages/ConfigMessages.java
index daedce5..87be0ee 100644
--- a/opends/src/server/org/opends/server/messages/ConfigMessages.java
+++ b/opends/src/server/org/opends/server/messages/ConfigMessages.java
@@ -7057,6 +7057,16 @@
/**
+ * The message ID for the message that will be used if an SMTP server value is
+ * not properly-formed. This takes a single argument, which is the invalid
+ * server value.
+ */
+ public static final int MSGID_CONFIG_CORE_INVALID_SMTP_SERVER =
+ CATEGORY_MASK_CONFIG | SEVERITY_MASK_SEVERE_ERROR | 697;
+
+
+
+ /**
* Associates a set of generic messages with the message IDs defined in this
* class.
*/
@@ -7649,6 +7659,12 @@
"Configuration entry %s has an invalid value for " +
"configuration attribute " + ATTR_NOTIFY_ABANDONED_OPS +
" (it should be a Boolean value of true or false): %s");
+ registerMessage(MSGID_CONFIG_CORE_INVALID_SMTP_SERVER,
+ "The provided SMTP server value '%s' is invalid. An " +
+ "SMTP server value must have an IP address or a " +
+ "resolvable name, and it may optionally be followed by a " +
+ "colon and an integer value between 1 and 65535 to " +
+ "specify the server port number");
registerMessage(MSGID_CONFIG_CORE_INVALID_PROXY_MAPPER_DN,
"Configuration entry %s has an invalid value for " +
"configuration attribute " + ATTR_PROXY_MAPPER_DN +
--
Gitblit v1.10.0