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 bt...@apache.org on 2019/11/18 02:50:41 UTC
[james-project] 07/44: JAMES-2972 commented-out WithPriority
mailet/matcher, added description/explanation for both
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 19f9b64c7239037fa194e693604cc12397404b17
Author: Joerg Thomas <jo...@consol.de>
AuthorDate: Thu Nov 14 11:10:36 2019 +0100
JAMES-2972 commented-out WithPriority mailet/matcher, added description/explanation for both
---
server/app/src/main/resources/mailetcontainer.xml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/server/app/src/main/resources/mailetcontainer.xml b/server/app/src/main/resources/mailetcontainer.xml
index dba24bd..baeeeef 100644
--- a/server/app/src/main/resources/mailetcontainer.xml
+++ b/server/app/src/main/resources/mailetcontainer.xml
@@ -56,14 +56,22 @@
<!-- Important check to avoid looping -->
<mailet match="RelayLimit=30" class="Null"/>
+ <!-- The WithPriority mailet allows to set a priority attribute on the mail. If the
+ attribute is set and priority handling is enabled it will take care of moving the
+ Mails with higher priority to the head of the queue (so the mails are faster handled). -->
+ <!--
<mailet match="All" class="WithPriority">
<priority>8</priority>
</mailet>
-
+ -->
+ <!-- Using the following three matchers you can control the mail processing flow based
+ on the priority attribute. Note that if a mail's priority is set to 8, then all of
+ the below will match. -->
+ <!--
<mailet match="HasPriority=8" class="Null"/>
<mailet match="AtLeastPriority=8" class="Null"/>
<mailet match="AtMostPriority=8" class="Null"/>
-
+ -->
<!-- Check attachment extensions for possible viruses -->
<!-- The "-z" option requests the check to be non-recursively applied -->
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org