[jira] [Closed] (JAMES-4164) FORWARDs + vacation
"Benoit Tellier (Jira)" <[email protected]> Fri, 13 Mar 2026 21:36:00 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.james.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/JAMES-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-4164.
---------------------------------
Resolution: Fixed
This is fixed...
> FORWARDs + vacation
> -------------------
>
> Key: JAMES-4164
> URL: https://issues.apache.org/jira/browse/JAMES-4164
> Project: James Server
> Issue Type: Bug
> Components: JMAP, Mailet Contributions
> Affects Versions: 3.9.0
> Reporter: Benoit Tellier
> Assignee: Antoine Duprat
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> ```
> GIVEN externalUserA sends mail to externalUserB
> AND externalUserB redirects to internalUser
> WHEN internalUser has a vacation
> THEN the answer is sent to externalUserB and not externalUserA
> ```
> This also happens for forwards with internal users when we rewritte MAIL FROM. (but bear in mind that forward can happen upfront James too, or that some forwarders might implement Sender Rewrite Scheme that defeats vacations)
> I suggest that we rely on `Reply-To` header instead of `MAIL FROM` envelope
> I suggest to preserve the existing behaviour, as a configurable option.
> CF:
> ```
> <mailet match="RecipientIsLocal" class="org.apache.james.transport.mailets.VacationMailet">
> <replyMode>replyToHeader</replyMode> <!-- default behaviour -->
> <!-- <replyMode>enveloppe</replyMode> -->
> </mailet>
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)