[ 
https://issues.apache.org/jira/browse/JAMES-3775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556229#comment-17556229
 ] 

ouvtam commented on JAMES-3775:
-------------------------------

Your proposal would be the easiest approach to integrate rspamd.

Have you thought about implementing the milter protocol, that would leverage 
additional rspamd features such as Greylisting 
(https://rspamd.com/doc/quickstart.html#using-of-milter-protocol-for-rspamd–16)?

In your approach you limit rspamd only for spam filter as a replacement for 
spamassassin whereas in milter mode rspamd can be hooked at any time in the 
process (i.e. HELO hook, MAIL hook, RCPT hook etc.)

However, implementing support for milter protocol in james may dilute its 
benefits of a pluggable mailserver.

> Integration with RSpamD
> -----------------------
>
>                 Key: JAMES-3775
>                 URL: https://issues.apache.org/jira/browse/JAMES-3775
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Benoit Tellier
>            Priority: Minor
>
> # Why
> RSpamD is a classic software used for Spam Virus detection.
> # What
> Provide the building blocks to integrate RSpamD with Apache James. This 
> includes:
>   - Mailet to call RSpamD and thus detect Spam.
>   - Mailbox listener to larn Spam/Ham
>   - But also a batch job iterating user mailboxes in order to learn SPAM/HAM
> # How
> This could be provided as a Guice extension, leveraging existing extension 
> mechanism. Likely to fall into `third-party/rspamd` directory.  A user would 
> need to add the Jar on the extensions-jar folder to use the 
> mailets/listeners/webadmin routes defined here.
> RSpamD  comes with a handy, eaasy to use HTTP API : 
> https://rspamd.com/doc/architecture/protocol.html#rspamd-http-request . We 
> could thus easily write a reactor-netty http client.
> If we decide tht there is little interest for this in the James eco-system 
> this extension can very well be added to third party project. I share it here 
> as I think more integrations with popular email products is a good thing.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to