You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by er...@apache.org on 2011/04/06 17:13:24 UTC

svn commit: r1089485 - in /james/server/trunk/container-spring/src/main/config/examples: imapserver.xml lmtpserver.xml pop3server.xml smtpserver-ssl.xml smtpserver.xml

Author: eric
Date: Wed Apr  6 15:13:24 2011
New Revision: 1089485

URL: http://svn.apache.org/viewvc?rev=1089485&view=rev
Log:
Update the configuration example to reflect latest changes regarding bind/port

Modified:
    james/server/trunk/container-spring/src/main/config/examples/imapserver.xml
    james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml
    james/server/trunk/container-spring/src/main/config/examples/pop3server.xml
    james/server/trunk/container-spring/src/main/config/examples/smtpserver-ssl.xml
    james/server/trunk/container-spring/src/main/config/examples/smtpserver.xml

Modified: james/server/trunk/container-spring/src/main/config/examples/imapserver.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/imapserver.xml?rev=1089485&r1=1089484&r2=1089485&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/imapserver.xml (original)
+++ james/server/trunk/container-spring/src/main/config/examples/imapserver.xml Wed Apr  6 15:13:24 2011
@@ -21,16 +21,13 @@
 <!-- Disabling blocks will stop them from listening, -->
 <!-- but does not free as many resources as removing them would -->
 <imapserver enabled="true">
-    <!-- port 993 is the well-known/IANA registered port for IMAPS  ie over SSL/TLS -->
-    <!-- port 143 is the well-known/IANA registered port for IMAP -->
-    <port>143</port>
 
-    <!-- Uncomment this if you want to bind to a specific inetaddress -->
+    <!-- Configure this if you want to bind to a specific inetaddress -->
+    <!-- port 143 is the well-known/IANA registered port for IMAP -->
+    <!-- port 993 is the well-known/IANA registered port for IMAPS  ie over SSL/TLS -->
     <!-- Please NOTE: you should add this IP also to your RemoteAddrNotInNetwork -->
-    <!-- in order to avoid relay check for locallly generated bounces -->     
-    <!--
-    <bind> </bind>
-    -->
+    <!-- in order to avoid relay check for locally generated bounces -->     
+    <bind>0.0.0.0:143</bind>
     
     <connectionBacklog>200</connectionBacklog>
     

Modified: james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml?rev=1089485&r1=1089484&r2=1089485&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml (original)
+++ james/server/trunk/container-spring/src/main/config/examples/lmtpserver.xml Wed Apr  6 15:13:24 2011
@@ -21,10 +21,9 @@
 <!-- Disabling blocks will stop them from listening, -->
 <!-- but does not free as many resources as removing them would -->
 <lmtpserver enabled="false">
-    <port>24</port>
 
     <!-- LMTP should not be reachable from outside your network so bind it to loopback-->
-    <bind>127.0.0.1</bind>
+    <bind>127.0.0.1:24</bind>
     
     <connectionBacklog>200</connectionBacklog>
       

Modified: james/server/trunk/container-spring/src/main/config/examples/pop3server.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/pop3server.xml?rev=1089485&r1=1089484&r2=1089485&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/pop3server.xml (original)
+++ james/server/trunk/container-spring/src/main/config/examples/pop3server.xml Wed Apr  6 15:13:24 2011
@@ -21,17 +21,14 @@
 <!-- Disabling blocks will stop them from listening, -->
 <!-- but does not free as many resources as removing them would -->
 <pop3server enabled="true">
+
+    <!-- Configure this to bind to a specific inetaddress -->
     <!-- port 995 is the well-known/IANA registered port for POP3S  ie over SSL/TLS -->
     <!-- port 110 is the well-known/IANA registered port for Standard POP3 -->
-    <port>110</port>
+    <bind>0.0.0.0:110</bind>
 
-    <!-- Uncomment this if you want to bind to a specific inetaddress -->
-    <!--
-    <bind> </bind>
-    -->
     <connectionBacklog>200</connectionBacklog>
 
-      
     <!-- Set to true to support STARTTLS or SSL for the Socket.
          To use this you need to copy sunjce_provider.jar to /path/james/lib directory.
     -->

Modified: james/server/trunk/container-spring/src/main/config/examples/smtpserver-ssl.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/smtpserver-ssl.xml?rev=1089485&r1=1089484&r2=1089485&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/smtpserver-ssl.xml (original)
+++ james/server/trunk/container-spring/src/main/config/examples/smtpserver-ssl.xml Wed Apr  6 15:13:24 2011
@@ -28,7 +28,7 @@
    You also need to define another jmxName (see https://issues.apache.org/jira/browse/JAMES-1105)
  -->
  <smtpserver enabled="true">
-  <port>465</port>
+  <bind>0.0.0.0:465</bind>
   <connectionBacklog>200</connectionBacklog>
   <tls socketTLS="true" startTLS="false">
     <keystore>file://conf/keystore/keystore></keystore>

Modified: james/server/trunk/container-spring/src/main/config/examples/smtpserver.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/examples/smtpserver.xml?rev=1089485&r1=1089484&r2=1089485&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/config/examples/smtpserver.xml (original)
+++ james/server/trunk/container-spring/src/main/config/examples/smtpserver.xml Wed Apr  6 15:13:24 2011
@@ -21,18 +21,15 @@
     <!-- Disabling blocks will stop them from listening, -->
     <!-- but does not free as many resources as removing them would -->
    <smtpserver enabled="true">
+
+      <!-- Configure this to bind to a specific inetaddress -->
+      <!-- Please NOTE: you should add this IP also to your RemoteAddrNotInNetwork -->
+      <!-- in order to avoid relay check for locallly generated bounces -->
       <!-- 
             Port 25 is the well-known/IANA registered port for SMTP. 
             Port 465 is the well-known/IANA registered port for SMTP over TLS.
             -->
-      <port>25</port>
-
-      <!-- Uncomment this if you want to bind to a specific inetaddress -->
-      <!-- Please NOTE: you should add this IP also to your RemoteAddrNotInNetwork -->
-      <!-- in order to avoid relay check for locallly generated bounces -->
-      <!--
-      <bind> </bind>
-      -->
+      <bind>0.0.0.0:25</bind>
 
       <connectionBacklog>200</connectionBacklog>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org