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

Benoit Tellier edited comment on JAMES-3775 at 6/20/22 9:06 AM:
----------------------------------------------------------------

Thanks for the feedback!

I would clearly support a Milter integration for James.

Then nothing would prevent using RSpamD as a milter: both approaches are 
definitly not exclusive!

Now if I have to work on it, a milter integration sounds more complicated than 
some HTTP calls, hence I would prioritize the HTTP integration.

FYI I opened https://github.com/nightcode/jmilter/issues/7 hoping to get a 
milter client to build such integrations.

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

What do you mean? I believe one would have a set of milter hooks to position in 
the mailet pipeline / or as SMTP hooks. I think this would integrate quite well 
into James extension mechanism.


was (Author: btellier):
I would clearly support a Milter integration for James.

Then nothing would prevent using RSpamD as a milter: both approaches are 
definitly not exclusive!

Now if I have to work on it, a milter integration sounds more complicated than 
some HTTP calls, hence I would prioritize the HTTP integration.

FYI I opened https://github.com/nightcode/jmilter/issues/7 hoping to get a 
milter client to build such integrations.

> 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