Re: Question about the RRT

Benoit TELLIER <[email protected]> Fri, 26 Jun 2026 20:35:13 +0000
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
---=Part.6b.acd06d15bc63c3df.19f05a4cb23.73719b4d7b0a234d=-
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

Hello Felix,

I wasn't aware of this=2E

This do not seem intentional=2E

I=
 did put a PR together addressing this:=C2=A0https://github=2Ecom/apache/ja=
mes-project/pull/3074
Reviews welcome=2E

Have a nice weekend=2E
--=C2=A0

=

Best regards,

Benoit TELLIER

General manager of Linagora VIETNAM=2E
Prod=
uct owner for Twake-Mail product=2E
Chairman of the Apache James project=2E=


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



On Jun 23, 2026 3:57 PM, from Felix Auringer <felix=2Eauringer@giz=2Eb=
erlin>Hello everybody,

I have a question regarding the RRT=2E

I have one =
user "e1421751-5ee1-4979-a3c4-84f0c5cc54cc@users=2E<my-domain>" and exactly=
 one entry in my RRT:

[
  {"username":"mailer2","domain_name":"<my-domain>=
","target_address":"alias:e1421751-5ee1-4979-a3c4-84f0c5cc54cc@users=2E<my-=
domain>"}
]

There are no domain aliases, e=2Eg=2E requests to the followin=
g endpoints of the webadmin API return empty lists:

/domains/<my-domain>/a=
liases
/domains/users=2E<my-domain>/aliases

When I request /users/e1421751=
-5ee1-4979-a3c4-84f0c5cc54cc@users=2E<my-domain>/allowedFromHeaders, I get =
the following result:

[
  "e1421751-5ee1-4979-a3c4-84f0c5cc54cc@users=2Ema=
il-dev=2Einterdea=2Ede",
  "mailer2@<my-domain>",
  "mailer2@users=2E<my-do=
main>"
]

Some more debugging:

Deleting the sole entry from the RRT remove=
s the entries "mailer2@<my-domain>" and "mailer2@users=2E<my-domain>" from =
the allowedFromHeaders=2E
Adding another entry `{"username":"mailer2","doma=
in_name":"users=2E<my-domain>","target_address":"alias:e1421751-5ee1-4979-a=
3c4-84f0c5cc54cc@users=2E<my-domain>"}` to the RRT does not change the allo=
wedFromHeaders=2E
Adding another entry `{"username":"test","domain_name":"u=
sers=2E<my-domain>","target_address":"alias:e1421751-5ee1-4979-a3c4-84f0c5c=
c54cc@users=2E<my-domain>"}` to the RRT adds only the entry "test@users=2E<=
my-domain>" to the allowedFromHeaders=2E

So it seems like adding an alias =
with a different domain than the target to the RRT always creates two alias=
es: one with the user part and the domain of the alias and one with the use=
r part and the domain of the target=2E
Why is this the case? Is it document=
ed somewhere?

Best regards,
Felix


---
Gesellschaft f=C3=BCr interkulture=
lles
Zusammenleben gGmbH (GIZ)
Felix Auringer
IT
Reformationsplatz 2
13597 =
Berlin

Tel: 030/513 0100 00; Fax: 030/513 0100 09 
giz=2Eberlin; felix=2Ea=
uringer@giz=2Eberlin

Amtsgericht Charlottenburg HRB 200872 B
Gesch=C3=A4ft=
sf=C3=BChrerin: Dr=2E Britta Marschke

------------------------------------=
---------------------------------
To unsubscribe, e-mail: server-user-unsub=
scribe@james=2Eapache=2Eorg
For additional commands, e-mail: server-user-he=
lp@james=2Eapache=2Eorg


---=Part.6b.acd06d15bc63c3df.19f05a4cb23.73719b4d7b0a234d=---