Re: Rspamd integration

Benoit TELLIER <[email protected]> Tue, 7 Jul 2026 10:52:34 +0000
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
---=Part.626.38f9380af1075995.19f3c354db7.abae7ddfa72ce2c8=-
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT, de-DE
Content-Language: en-US

>=C2=A0Would you be open for contributions on these topics?

Yes !

(and th=
anks ;-) )

--=C2=A0

Best regards,

Benoit TELLIER

General manager of Lin=
agora VIETNAM=2E
Product owner for Twake-Mail product=2E
Chairman of the Ap=
ache James project=2E

Mail: btellier@linagora=2Ecom
Tel: (0033) 6 77 26 04=
 58 (WhatsApp, Signal)


On Jul 7, 2026 12:10 PM, from Felix Auringer <feli=
x=2Eauringer@giz=2Eberlin>Hey,

I have some questions regarding the rspamd =
integration in James=2E

Currently, when I move a message from my Spam fold=
er to the Inbox, it is marked as ham twice: once because it was moved out o=
f the spam folder in another folder that is not the trash folder and once b=
ecause the message was appended to the Inbox=2E
Is this desired behavior? T=
he MailboxEvents=2EAdded object has a method to check whether the email was=
 delivered (or moved)=2E Additionally checking this would make more sense t=
o me=2E

James distinguishes the following six actions: "no action", "greyl=
ist", "add header", "rewrite subject", "soft reject", "reject"=2E
I tested =
that James successfully handles the actions "no action", "rewrite subject" =
and "reject"=2E
For the latter two and "add header", James also sets two he=
aders and marks them so that they can be moved to the spam folder if desire=
d=2E
The "greylist" and "soft reject" actions are not handled=2E

However, =
Rspamd emits different actions: "discard", "reject", "rewrite subject", "ad=
d header", "no action", "soft reject", "quarantine" (docs=2Erspamd=2Ecom/co=
nfiguration/metrics#introduction)=2E
We would especially be interested in t=
he "soft reject" action to implement greylisting=2E Additionally, rspamd re=
turns a list of headers it wants to remove / add=2E I think honoring those =
would also be benefitial=2E
Would you be open for contributions on these to=
pics?

Best regards,
Felix
---
Gesellschaft f=C3=BCr interkulturelles
Zusam=
menleben gGmbH (GIZ)
Felix Auringer
IT
Reformationsplatz 2
13597 Berlin

Te=
l: 030/513 0100 00; Fax: 030/513 0100 09 
giz=2Eberlin; felix=2Eauringer@gi=
z=2Eberlin

Amtsgericht Charlottenburg HRB 200872 B
Gesch=C3=A4ftsf=C3=BChr=
erin: Dr=2E Britta Marschke

----------------------------------------------=
-----------------------
To unsubscribe, e-mail: server-dev-unsubscribe@jame=
s=2Eapache=2Eorg
For additional commands, e-mail: server-dev-help@james=2Ea=
pache=2Eorg


---=Part.626.38f9380af1075995.19f3c354db7.abae7ddfa72ce2c8=---