Hello Felix,

In a 'classic' configuration RRT is at the beginning of the pipeline so is run 
before per recipient headers are added: we thus never impement rewrite for 
per-recipient headers.

Pr welcome: this seems nice for corectness.

--

Best regards,

Benoit TELLIER

General manager of Linagora VIETNAM <https://linagora.vn>.
Product owner for Twake-Mail <https://github.com/linagora/tmail-flutter> 
product.
Chairman of the Apache James project <https://james.apache.org/>.

Mail: [email protected]
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)

On Oct 28, 2026 at 9:39 PM, Felix Auringer via server-dev 
<[email protected]> wrote:

> Hey,
>
> I observed something which I believe to be a bug but maybe it's
> intended:
> When I set recipient specific headers on a mail via a mailet (e.g.
> AddDeliveredToHeader) and apply the RRT afterwards, those headers are
> gone.
> Technically, they are not gone but they are still for the original
> recipient, so they are not considered during local delivery.
> In my specific use-case, I wanted to add two Delivered-To headers, one
> with the email address from the envelope and one with the final email
> address after the RRT. This is currently not possible.
>
> Is this indeed a bug? If so, I can write a fix for it.
>
> Best regards,
> Felix
>
> --
> Gesellschaft für Interkulturelles Zusammenleben gGmbH (GIZ)
> Felix Auringer (he/him)
> Softwareentwickler
>
> Reformationsplatz 2
> 13597 Berlin
>
> Tel: -; Fax: +4930513010009
> www.giz.berlin; [email protected]
>
> Amtsgericht Charlottenburg HRB 200872 B
> Geschäftsführerin: Dr. Britta Marschke
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to