[jira] [Created] (JAMES-4164) FORWARDs + vacation

"Benoit Tellier (Jira)" <[email protected]>
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
Benoit Tellier created JAMES-4164:
-------------------------------------

             Summary: 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


```
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.