Hi Pierre, > and moved the file apache-james-spamassassin-3.8.0.jar next to the others
I think the apache-james-spamassassin-3.8.0.jar should be put into the */root/extensions-jars* directory (Your reference documentation is outdated IMO). Besides that jar, other files need to be bound like *extensions.properties, spamassassin.properties*, *listeners.xml*,... We do provide a docker-compose that uses James + SpamAssassin with sample configuration files at: https://github.com/apache/james-project/tree/master/third-party/spamassassin . Besides SpamAssassin, James supports Rspamd also: https://github.com/apache/james-project/tree/master/third-party/rspamd. Please ask if you have any issues using them. Regards, Quan Vào Th 4, 27 thg 12, 2023 vào lúc 14:43 Pierre Grimaud <pier...@gmail.com> đã viết: > Hello, > > I'm using James as my personal mail server, consuming my messages with > my mobile phone and Thunderbird via IMAP. Spam getting out of hand (for > a while now) I've decided to install SpamAssassin, and I could not find > enough resources out there... I started from here: > > https://server-user.james.apache.narkive.com/hWAazOxA/securing-james-3-and-spam-protection-setup, > > using the second option cause I want those spams in my spam folder. > > Starting James 3.8.0 with this led to a ClassNotFounfException: > SpamAssassin, so I searched for the class in all the jars inside > james-server-jpa-guice/james-server-jpa-app.lib but didn't find anything. > > I then tried downloading the spamassassin mailet with the command: mvn > dependency:get > -Dartifact=org.apache.james:apache-james-spamassassin:3.8.0 and moved > the file apache-james-spamassassin-3.8.0.jar next to the others, to no > avail... > > Any help would be greatly appreciated (either with help getting SA to > work or any other lead if SA is not the recommended way to handle spam > anymore). > > -- > /Pierre Grimaud/