Author: bago
Date: Mon Aug 7 05:00:51 2006
New Revision: 429311
URL: http://svn.apache.org/viewvc?rev=429311&view=rev
Log:
1. run-unit-tests now halts on error
2. Legal licensing issues (JAMES-579)
a. Created a README.txt including crypto notice
b. added required sentences (by 3rd party licenses) to NOTICE.txt
c. added 3rd party LICENSEs links to LICENSE.txt
d. Included README/NOTICE/LICENSE txt files in binary/sources redistributable
packages (rel JAMES-582)
Added:
james/server/trunk/README.txt (with props)
Modified:
james/server/trunk/LICENSE.txt
james/server/trunk/NOTICE.txt
james/server/trunk/build.xml
Modified: james/server/trunk/LICENSE.txt
URL:
http://svn.apache.org/viewvc/james/server/trunk/LICENSE.txt?rev=429311&r1=429310&r2=429311&view=diff
==============================================================================
--- james/server/trunk/LICENSE.txt (original)
+++ james/server/trunk/LICENSE.txt Mon Aug 7 05:00:51 2006
@@ -174,3 +174,45 @@
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
+
+
+
+
+ THIS PRODUCT ALSO INCLUDES THIRD PARTY SOFTWARE REDISTRIBUTED UNDER THE
+ FOLLOWING LICENSES:
+
+
+
+ Concurrent, Public Domain (see lib/concurrent.LICENSE)
+
+ BouncyCastle, MIT License (see lib/BouncyCastle.LICENSE)
+ http://www.bouncycastle.org/licence.html
+
+ DnsJava, BSD License (see lib/dnsjava.LICENSE)
+ http://www.dnsjava.org/README
+
+ JavaBeans Activation Framework, CDDL License
+ http://glassfish.dev.java.net/public/CDDLv1.0.html
+
+ JavaMail, CDDL License
+ http://glassfish.dev.java.net/public/CDDLv1.0.html
+
+ QDox, ASL 1.1 License (see tools/lib/qdox.LICENSE)
+ http://qdox.codehaus.org/license.html
+
+ MX4J, ASL 1.1 License (see phoenix-bin/bin/lib/mx4j.LICENSE)
+
+ Spice, ASL 1.1 License (see phoenix-bin/bin/lib/spice.LICENSE)
+ http://spice.codehaus.org/license.html
+
+ Wrapper, MIT License (see phoenix-bin/bin/Wrapper.LICENSE)
+ http://wrapper.tanukisoftware.org/doc/english/license.html
+
+ ISO-Relax, MIT License (see phoenix-bin/tools/lib/isorelax.LICENSE)
+
+ MSV, BSD License (see phoenix-bin/tools/lib/msv.LICENSE)
+
+ RelaxNG-Datatype, BSD License (see
phoenix-bin/tools/lib/relaxngDatatype.LICENSE)
+
+ XSDLib, BSD License (see phoenix-bin/tools/lib/xsdlib.LICENSE)
+
\ No newline at end of file
Modified: james/server/trunk/NOTICE.txt
URL:
http://svn.apache.org/viewvc/james/server/trunk/NOTICE.txt?rev=429311&r1=429310&r2=429311&view=diff
==============================================================================
--- james/server/trunk/NOTICE.txt (original)
+++ james/server/trunk/NOTICE.txt Mon Aug 7 05:00:51 2006
@@ -1,5 +1,5 @@
=========================================================================
- == NOTICE file for use with the Apache License, Version 2.0, ==
+ == NOTICE file for use with the Apache License, Version 2.0, ==
=========================================================================
Apache JAMES Server
@@ -26,6 +26,12 @@
- the SAX project (http://www.saxproject.org/)
- the The Spice Group
- Sun Microsystems (http://java.sun.com/)
+
+ This product includes software developed by the MX4J project
+ (http://mx4j.sourceforge.net)
+
+ This product includes software developed by the RealityForge Group
+ (http://www.realityforge.org/).
- Please read the different LICENSE files present in the root directory of
+ Please read the LICENSE.txt and README.txt files in the root directory of
this distribution.
Added: james/server/trunk/README.txt
URL:
http://svn.apache.org/viewvc/james/server/trunk/README.txt?rev=429311&view=auto
==============================================================================
--- james/server/trunk/README.txt (added)
+++ james/server/trunk/README.txt Mon Aug 7 05:00:51 2006
@@ -0,0 +1,217 @@
+ =======================================================================
+ === The Apache Software Foundation JAMES Server ===
+ =======================================================================
+
+
+ What is it?
+ -----------
+
+ JAMES Server is a 100% pure Java server application designed to be a
+ complete, portable and powerful enterprise mail engine solution based
+ on currently available open protocols (SMTP, POP3, NNTP).
+
+ JAMES Server was formerly known as the Java Apache Mail Enterprise Server.
+
+ Development Status for JAMES 2.3.0
+ ----------------------------------
+
+ SMTP Server: Stable
+ POP3 Server: Stable
+ IMAP Server: Under development
+ NNTP Server: Stable
+
+ Current Feature
+ ---------------
+
+ These are some JAMES features:
+
+ o complete portability: James is a 100% pure Java(tm) application
+ based on the Java 2 platform and the JavaMail 1.3.1 API.
+
+ o protocol abstraction: unlike other mail engines, protocols are seen
only
+ like "communication languages" ruling communications between clients and
+ the server. James is not be tied to any particular protocol but follow
an
+ abstracted server design (like JavaMail did on the client side)
+
+ o complete solution: the mail system is able to handle both mail
+ transport and storage in a single server application. Apache James
+ works alone without the need for any other server or solution.
+
+ o mailet support: James supports the Apache Mailet API. A Mailet
+ is a discrete piece of mail-processing logic which is incorporated into
+ a Mailet-compliant mail-server's processing. This easy-to-write,
+ easy-to-use pattern allows developers to build powerful customized mail
+ systems. Examples of the services a Mailet might provide include: a
+ mail-to-fax or mail-to-phone transformer, a filter, a language
+ translator, a mailing list manager, etc.
+ Several Mailets are included in the JAMES distribution.
+
+ o resource abstraction: like protocols, resources are abstracted and,
+ accessed through defined interfaces (JavaMail for transport, JDBC for
+ storage in RDBMS's, Apache Mailet API), the server is highly modular
+ and can reuse solutions from other projects or applications.
+
+ o secure and multi-threaded design: based on the technology developed for
+ the Apache JServ servlet engine, James has a careful,
security-oriented,
+ full multi-threaded design, to allow performance, scalability and
+ mission-critical use.
+
+ o Currently JAMES support SMTP, POP3, NNTP and a simple remote
administration
+ facility.
+
+
+ Planned Features
+ ----------------
+
+ o IMAP support.
+
+ o IMAP server side filtering.
+
+ o More powerful remote admin protocol and tool.
+
+ o Extended set of Mailet to easily support most mail system request.
+
+ o anything else you may want if you help us writing it :-)
+
+
+ Requirements
+ ------------
+
+ - JAMES.sar (required)
+ - Phoenix server (Avalon-Phoenix) (required)
+
+ JAMES distribution includes both required items.
+
+ To recompile James from sources you should use org.apache.tools.ant and its
+ needed packages (ant.jar, javac.jar, xml.jar).
+
+ Up and working...
+ -----------------
+
+ Step 1: installation.
+
+ Download distibution. Extract all files in your favorite folder. You've
+ probably done that if you are reading this file!
+
+
+ Step 2: start phoenix.
+
+ M$ users should just run /bin/run.bat. Unix users will find run.sh
+ under the same folder - you may need to chmod +x run.sh. A JVM must be in
+ the path.
+
+ Phoenix will unpack the james.sar into apps/james. Note that port 1111
+ must be available for Phoenix to run (used by RMI server).
+
+ Most UNIX systems require superuser privileges to open sockets below 1024,
+ which includes the IANA-standard SMTP (on port 25), POP3 (on port 110),
+ IMAP (port ) and NNTP (port ). You will get an error message with
+ 'org.apache.avalon.framework.atlantis.ApplicationException: Failed to
+ load block imapserver'
+ or something similar if you have not got the right privileges.
+
+ If you have the right privileges, you should see
+
+ 'Phoenix 4.2
+
+ James Mail Server 2.3.0
+ Remote Manager Service started plain: 4555
+ POP3 Service started plain:110
+ SMTP Service started plain:25
+ NNTP Service started plain:119
+ FetchMail Disabled'
+
+ Congratulations! You have James up and running.
+
+ Step 3: Adding users
+
+ Once James is running, telnet to port 4555. You will see somthing like:
+ 'JAMES RemoteAdministration Tool 2.3.0
+ Please enter your login and password
+ Login id:'
+
+ The defaul id and password are both 'root'. These can be changed in
+ the configuration file (see Step 4).
+
+ To get help for the RemoteAdmin tool, type help. To add a user, type
+ adduser [username] [password] .
+ Eg: adduser test test
+
+
+ Step 4: Test James
+
+ Once you have some users entered, you can test James by sending mail to
+ them. Note that for mail to get to your machine, you need MX records in
+ the DNS system. You will see files materialise in
+ apps/james/var/mail/inboxes.
+
+ Retrieve the mail by configuring your POP client to get mail (inbound mail
+ server) from James.
+
+ Test outbound mail handling by configuring your client to use James smtp.
+ (By default, you can only send mail from the machine on which James is
+ running. This is to stop spam relaying. This can be changed in config
+ file.)
+
+ Trace out JAMES actions in /logs/*info.log.
+ Action that will be taken by JAMES on incoming mail are configurated in
+ the mailet pipe line (/conf/james.conf.xml). Look at it if you want to
+ understand what's happening.
+
+ Step 5: configuration.
+
+ The configuration files are in apps/james/conf. For new users, the only
+ elements you need to worry about are in config.xml. You probably want to
+ change the root password in the remote manager section and to add your
+ local network's IP address to the anti-spam mailet.
+
+
+
+ Good luck :)
+
+
+ Licensing and legal issues
+ --------------------------
+
+ For legal and licensing issues, please look in the legal section of
+ the documentation or read the LICENSE.txt and NOTICE.txt files.
+
+
+ Crypto Notice
+ -------------
+
+ This distribution includes cryptographic software. The country in
+ which you currently reside may have restrictions on the import,
+ possession, use, and/or re-export to another country, of
+ encryption software. BEFORE using any encryption software, please
+ check your country's laws, regulations and policies concerning the
+ import, possession, or use, and re-export of encryption software, to
+ see if this is permitted. See http://www.wassenaar.org/ for more
+ information.
+
+ The U.S. Government Department of Commerce, Bureau of Industry and
+ Security (BIS), has classified this software as Export Commodity
+ Control Number (ECCN) 5D002.C.1, which includes information security
+ software using or performing cryptographic functions with asymmetric
+ algorithms. The form and manner of this Apache Software Foundation
+ distribution makes it eligible for export under the License Exception
+ ENC Technology Software Unrestricted (TSU) exception (see the BIS
+ Export Administration Regulations, Section 740.13) for both object
+ code and source code.
+
+ The following provides more details on the included cryptographic
+ software:
+
+ SSL support in James Server rely on javax.net.ssl.SSLSocket java class
+ included in SUN JRE/JDK.
+
+ BCmail, used by SMIME enabled mailets included in James Server, rely on
+ the JCE (Java Cryptography Extension) included in the Java 2 JRE since
+ release 1.4
+
+ =======================================================================
+
+ Thanks.
+
+ The James Project
+ http://james.apache.org/
Propchange: james/server/trunk/README.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: james/server/trunk/build.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/build.xml?rev=429311&r1=429310&r2=429311&view=diff
==============================================================================
--- james/server/trunk/build.xml (original)
+++ james/server/trunk/build.xml Mon Aug 7 05:00:51 2006
@@ -132,7 +132,8 @@
<copy todir="${dist.dir}">
<fileset dir=".">
<include name="LICENSE.txt"/>
- <include name="README"/>
+ <include name="README.txt"/>
+ <include name="NOTICE.txt"/>
</fileset>
</copy>
<fixcrlf srcdir="${java.dir}" includes="**/*.java" eol="lf"
tab="remove" tablength="4" />
@@ -566,16 +567,18 @@
<fileset dir="dist">
<include name="${name}-${version}/**"/>
<exclude name="${name}-${version}/downloads/**"/>
- <include name="release-notes.txt"/>
<include name="LICENSE.txt"/>
+ <include name="README.txt"/>
+ <include name="NOTICE.txt"/>
</fileset>
</zip>
<tar longfile="gnu"
tarfile="${dist.binary.dir}/${name}-binary-${version}.tar">
<tarfileset dir="dist" username="${name}" group="${name}">
<include name="${name}-${version}/**"/>
<exclude name="${name}-${version}/downloads/**"/>
- <include name="release-notes.txt"/>
<include name="LICENSE.txt"/>
+ <include name="README.txt"/>
+ <include name="NOTICE.txt"/>
</tarfileset>
</tar>
<gzip zipfile="${dist.binary.dir}/${name}-binary-${version}.tar.gz"
src="${dist.binary.dir}/${name}-binary-${version}.tar"/>
@@ -608,10 +611,6 @@
<zip
zipfile="${dist.source.dir}/${name}-with-phoenix-${version}-src.zip">
<fileset dir=".">
<include name="*.txt"/>
- <include name="KEYS"/>
- <include name="README"/>
- <include name="LICENSE.txt"/>
- <include name="NOTICE.txt"/>
<include name="build.*"/>
<include name="lib/**"/>
<include name="${phoenix.dir}/**"/>
@@ -624,10 +623,6 @@
<tar longfile="gnu"
tarfile="${dist.source.dir}/${name}-with-phoenix-${version}-src.tar">
<tarfileset dir="." username="${name}" group="${name}">
<include name="*.txt"/>
- <include name="KEYS"/>
- <include name="README"/>
- <include name="LICENSE.txt"/>
- <include name="NOTICE.txt"/>
<include name="build.*"/>
<include name="lib/**"/>
<include name="${phoenix.dir}/**"/>
@@ -653,10 +648,6 @@
<include name="lib/**"/>
<include name="tools/**"/>
<include name="*.txt"/>
- <include name="README"/>
- <include name="KEYS"/>
- <include name="LICENSE.txt"/>
- <include name="NOTICE.txt"/>
<include name="build.*"/>
<include name="*.properties" />
<include name="*.ent" />
@@ -668,10 +659,6 @@
<include name="lib/**"/>
<include name="tools/**"/>
<include name="*.txt"/>
- <include name="README"/>
- <include name="KEYS"/>
- <include name="LICENSE.txt"/>
- <include name="NOTICE.txt"/>
<include name="build.*"/>
<include name="*.properties" />
<include name="*.ent" />
@@ -768,7 +755,7 @@
<echo message="Running James Unit Tests"/>
<mkdir dir="${build.test}"/>
<mkdir dir="${build.test.reports}"/>
- <junit printsummary="yes" haltonfailure="no" >
+ <junit printsummary="yes" haltonfailure="yes" >
<classpath refid="unittest.class.path"/>
<classpath refid="project.class.path"/>
<classpath>
@@ -781,6 +768,7 @@
<fileset dir="${junitjava.dir}">
<include name="**/*Test.java"/>
<exclude name="**/AllTests.java"/>
+ <exclude name="**/Abstract*.java"/>
</fileset>
</batchtest>
</junit>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]