Fix NPE while expanding %{p} (JSPF-99)

Project: http://git-wip-us.apache.org/repos/asf/james-jspf/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-jspf/commit/4da8fbba
Tree: http://git-wip-us.apache.org/repos/asf/james-jspf/tree/4da8fbba
Diff: http://git-wip-us.apache.org/repos/asf/james-jspf/diff/4da8fbba

Branch: refs/heads/master
Commit: 4da8fbba15f4e007a5e14a31dd92d9a6bb7b5e7c
Parents: 856e580
Author: Cristian Ciocau <[email protected]>
Authored: Mon Oct 17 16:09:26 2016 +0100
Committer: benwa <[email protected]>
Committed: Fri Oct 21 15:13:26 2016 +0200

----------------------------------------------------------------------
 .../org/apache/james/jspf/tester/mailzone-tests.yml         | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-jspf/blob/4da8fbba/tester/src/main/resources/org/apache/james/jspf/tester/mailzone-tests.yml
----------------------------------------------------------------------
diff --git 
a/tester/src/main/resources/org/apache/james/jspf/tester/mailzone-tests.yml 
b/tester/src/main/resources/org/apache/james/jspf/tester/mailzone-tests.yml
index ca38ec9..0176f38 100644
--- a/tester/src/main/resources/org/apache/james/jspf/tester/mailzone-tests.yml
+++ b/tester/src/main/resources/org/apache/james/jspf/tester/mailzone-tests.yml
@@ -825,6 +825,13 @@ tests:
     # this has been changed to permerror because of the latest openspf updates
     # result: fail
     result: permerror
+  mailzone-#135:
+    # 10.0.0.1 has no PTR record associated with
+    description: domain of 95.spf1-test.mailzone.com does not designate 
10.0.0.1 as permitted sender
+    helo: 95.spf1-test.mailzone.com
+    host: 10.0.0.1
+    mailfrom: 95.spf1-test.mailzone.com
+    result: fail
 zonedata:
   01.spf1-test.mailzone.com:
     - TXT:  v=spf1                                                             
@@ -1104,4 +1111,4 @@ zonedata:
     - A:  192.0.2.43
   208.210.124.180.addr:
     - A:  208.210.124.180
-    
\ No newline at end of file
+    


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to