[jboss-cvs] JBossAS SVN: r62350 - trunk/varia/src/etc.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Apr 15 12:50:12 EDT 2007


Author: dimitris at jboss.org
Date: 2007-04-15 12:50:12 -0400 (Sun, 15 Apr 2007)
New Revision: 62350

Modified:
   trunk/varia/src/etc/mail-service.xml
Log:
JBAS-3846, add mail.smtp.port property to mail-service.xml and fix the dependency on the naming service

Modified: trunk/varia/src/etc/mail-service.xml
===================================================================
--- trunk/varia/src/etc/mail-service.xml	2007-04-15 16:48:15 UTC (rev 62349)
+++ trunk/varia/src/etc/mail-service.xml	2007-04-15 16:50:12 UTC (rev 62350)
@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE server>
 <!-- $Id$ -->
-
 <server>
 
   <!-- ==================================================================== -->
@@ -14,28 +12,32 @@
     <attribute name="User">nobody</attribute>
     <attribute name="Password">password</attribute>
     <attribute name="Configuration">
-       <!-- Test -->
-       <configuration>
-          <!-- Change to your mail server prototocol -->
-          <property name="mail.store.protocol" value="pop3"/>
-          <property name="mail.transport.protocol" value="smtp"/>
+      <!-- A test configuration -->
+      <configuration>
+        <!-- Change to your mail server prototocol -->
+        <property name="mail.store.protocol" value="pop3"/>
+        <property name="mail.transport.protocol" value="smtp"/>
 
-          <!-- Change to the user who will receive mail  -->
-          <property name="mail.user" value="nobody"/>
+        <!-- Change to the user who will receive mail  -->
+        <property name="mail.user" value="nobody"/>
 
-          <!-- Change to the mail server  -->
-          <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
+        <!-- Change to the mail server  -->
+        <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
 
-          <!-- Change to the SMTP gateway server -->
-          <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
+        <!-- Change to the SMTP gateway server -->
+        <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
+        
+        <!-- The mail server port -->
+        <property name="mail.smtp.port" value="25"/>
+        
+        <!-- Change to the address mail will be from  -->
+        <property name="mail.from" value="nobody at nosuchhost.nosuchdomain.com"/>
 
-          <!-- Change to the address mail will be from  -->
-          <property name="mail.from" value="nobody at nosuchhost.nosuchdomain.com"/>
-
-          <!-- Enable debugging output from the javamail classes -->
-          <property name="mail.debug" value="false"/>
-       </configuration>
+        <!-- Enable debugging output from the javamail classes -->
+        <property name="mail.debug" value="false"/>
+      </configuration>
     </attribute>
+    <depends>jboss:service=Naming</depends>
   </mbean>
 
 </server>




More information about the jboss-cvs-commits mailing list