Author: btellier
Date: Thu Dec 17 15:11:55 2015
New Revision: 1720599

URL: http://svn.apache.org/viewvc?rev=1720599&view=rev
Log:
JAMES-1620 Write Sieve scripts

Added:
    james/project/trunk/server/mailet/mailets/src/test/resources/
    james/project/trunk/server/mailet/mailets/src/test/resources/org/
    james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllBcc.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllCc.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllFrom.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-From.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-To.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllSender.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllTo.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressDomain.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressLocalPart.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllFalse.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllTrue.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofOneFalse.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllFalse.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllTrue.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofOneFalse.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/discard.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/envelope.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/exists.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/false.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/fileinto.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/header.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/keep.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notFalse.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notTrue.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/redirect.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeOver.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeUnder.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/stop.script
    
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/true.script

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllBcc.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllBcc.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllBcc.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllBcc.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :all "Bcc" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllCc.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllCc.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllCc.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllCc.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :all "Cc" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllFrom.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllFrom.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllFrom.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllFrom.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :all "from" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-From.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-From.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-From.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-From.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :all "Resend-From" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-To.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-To.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-To.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllResend-To.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :all "Resend-To" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllSender.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllSender.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllSender.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllSender.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :all "Sender" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllTo.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllTo.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllTo.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressAllTo.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :all "To" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressDomain.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressDomain.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressDomain.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressDomain.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :domain "from" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressLocalPart.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressLocalPart.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressLocalPart.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/addressLocalPart.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if address :is :localpart "from" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllFalse.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllFalse.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllFalse.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllFalse.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if alloff (false, false) {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllTrue.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllTrue.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllTrue.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofAllTrue.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if alloff (true, true) {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofOneFalse.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofOneFalse.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofOneFalse.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/allofOneFalse.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if alloff (true, false) {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllFalse.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllFalse.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllFalse.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllFalse.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if anyoff (false, false) {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllTrue.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllTrue.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllTrue.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofAllTrue.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if anyoff (true, true) {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofOneFalse.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofOneFalse.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofOneFalse.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/anyofOneFalse.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if anyoff (true, false) {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/discard.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/discard.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/discard.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/discard.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,20 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+discard;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/envelope.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/envelope.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/envelope.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/envelope.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,27 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+require "envelope";
+
+if envelope :is :all "from" "[email protected]" {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/exists.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/exists.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/exists.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/exists.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if exists ["Cc","Bcc"] {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/false.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/false.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/false.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/false.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if true {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/fileinto.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/fileinto.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/fileinto.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/fileinto.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,22 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+fileinto "INBOX.any"
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/header.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/header.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/header.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/header.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if header :is :contains ["Subject"] ["JAMES-1620"] {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/keep.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/keep.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/keep.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/keep.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,20 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notFalse.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notFalse.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notFalse.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notFalse.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if not false {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notTrue.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notTrue.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notTrue.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/notTrue.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if not true {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/redirect.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/redirect.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/redirect.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/redirect.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,20 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+redirect "[email protected]";
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeOver.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeOver.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeOver.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeOver.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if size :over 1000 {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeUnder.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeUnder.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeUnder.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/sizeUnder.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if size :under 1000 {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/stop.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/stop.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/stop.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/stop.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,22 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+stop;
+
+discard;
\ No newline at end of file

Added: 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/true.script
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/true.script?rev=1720599&view=auto
==============================================================================
--- 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/true.script
 (added)
+++ 
james/project/trunk/server/mailet/mailets/src/test/resources/org/apache/james/transport/mailets/delivery/true.script
 Thu Dec 17 15:11:55 2015
@@ -0,0 +1,26 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+require "fileinto";
+
+if true {
+    fileinto "INBOX.select";
+}
+
+keep;
\ No newline at end of file



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

Reply via email to