You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2022/08/01 03:22:04 UTC

[GitHub] [james-project] chibenwa commented on a diff in pull request #1093: JAMES-3775 Mailet for RSpamD

chibenwa commented on code in PR #1093:
URL: https://github.com/apache/james-project/pull/1093#discussion_r934109093


##########
server/apps/distributed-app/docs/modules/ROOT/partials/IsMarkedAsSpam.adoc:
##########
@@ -14,4 +14,15 @@ As an example, here is a part of a mailet pipeline which can be used in your Loc
         <targetFolderName>Spam</targetFolderName>
     </mailet>
 <!-- End of SpamAssassing mailets pipeline -->
+....
+
+In order to use this with `rspamd`, we need to declare a condition for the matcher.
+Eg: With the recipient header for RSpamD being *org.apache.james.rspamd.status*,
+then the configuration would be:
+
+....
+<!-- SpamAssassing mailets pipeline -->
+    <mailet match="IsMarkedAsSpam=org.apache.james.rspamd.status" class="WithStorageDirective">
+        <targetFolderName>Spam</targetFolderName>
+    </mailet>

Review Comment:
   <3



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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