james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r420794 - in /james/jspf/trunk: README.txt build.xml
Date Tue, 11 Jul 2006 10:45:38 GMT
Author: bago
Date: Tue Jul 11 03:45:38 2006
New Revision: 420794

URL: http://svn.apache.org/viewvc?rev=420794&view=rev
Log:
Add a build.xml and a README.txt to the root (JSPF-19)

Added:
    james/jspf/trunk/README.txt   (with props)
Modified:
    james/jspf/trunk/build.xml

Added: james/jspf/trunk/README.txt
URL: http://svn.apache.org/viewvc/james/jspf/trunk/README.txt?rev=420794&view=auto
==============================================================================
--- james/jspf/trunk/README.txt (added)
+++ james/jspf/trunk/README.txt Tue Jul 11 03:45:38 2006
@@ -0,0 +1,50 @@
+Welcome to Apache James jSPF
+============================
+
+Apache James jSPF is an Apache 2.0 licensed java library that implements the SPF specification.
+
+There are 2 main entry points to the library:
+1) The SPFQuery command line tool
+2) The SPF class, for programmatic use
+
+
+SPFQuery
+--------
+You need jspf library, dnsjava and log4j libraries in your classpath, then you run
+> java -jar jspf-version.jar
+to get the usage.
+
+
+SPF
+---
+Here is a simple usage of the library:
+
+SPF spf = new SPF(new DNSServiceXBillImpl ());
+SPFResult res = spf.checkSPF("192.168.0.1", "from@example.com", "example.com");
+if (res.getResult().equals(SPF1Utils.FAIL_CONV)) {
+ ... do something ...
+} else if (res.getResult().equals(SPF1Utils.PASS_CONV)) {
+ ... something else..
+} else .....
+Further results are:
+
+PERM_ERROR_CONV = "error";
+NONE_CONV = "none";
+TEMP_ERROR_CONV = "temperror";
+PASS_CONV = "pass";
+NEUTRAL_CONV = "neutral";
+FAIL_CONV = "fail";
+SOFTFAIL_CONV = "softfail";
+
+
+Links
+-----
+http://new.openspf.org/ for the latest informations about SPF
+http://james.apache.org/jspf/ for the jSPF website, javadocs, xdocs and more.
+
+
+Please help us make jSPF better - we appreciate any feedback you may have.
+Enjoy!
+
+---------------------
+The Apache James team

Propchange: james/jspf/trunk/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: james/jspf/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/jspf/trunk/build.xml?rev=420794&r1=420793&r2=420794&view=diff
==============================================================================
--- james/jspf/trunk/build.xml (original)
+++ james/jspf/trunk/build.xml Tue Jul 11 03:45:38 2006
@@ -2,7 +2,7 @@
   <property file="${user.home}/.m2/maven.properties"/>
   <property name="maven.build.output" value="target/classes"/>
   <property name="maven.build.directory" value="target"/>
-  <property name="maven.build.final.name" value="jspf-svn409826"/>
+  <property name="maven.build.final.name" value="jspf-0.9"/>
   <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
   <property name="maven.test.output" value="target/test-classes"/>
   <property name="maven.repo.local" value="${user.home}/.m2/repository"/>



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


Mime
View raw message