You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2023/08/22 14:28:00 UTC

[jira] [Created] (JAMES-3935) As a James user I want to send email to sub-adresses

Benoit Tellier created JAMES-3935:
-------------------------------------

             Summary: As a James user I want to send email to sub-adresses
                 Key: JAMES-3935
                 URL: https://issues.apache.org/jira/browse/JAMES-3935
             Project: James Server
          Issue Type: Improvement
          Components: JMAP, SMTPServer, webadmin
            Reporter: Benoit Tellier
            Assignee: Antoine Duprat


h3. What is sub addressing

https://en.wikipedia.org/wiki/Email_address#Sub-addressing

An SMTP email address uses the basic syntax: <local-part>@<domain>. For example, sean@contoso.com.

Plus addressing uses the syntax: <local-part>+<tag>@<domain>. For example, sean+newsletter@contoso.com.

The original email address must be valid.  The sub-address can be used for classification purposes.

h3. Story

As a James user I want to send email to sub-adresses:

 - [ ] Using SMTP
 - [ ] Using JMAP
 - [ ] I can define a redirection / forward to an address containing a `+`

Out of scope: sub addressing is not-to-be-supported for now. When sending an email to a local user sub-address, the user willl not be found, resulting in an SMTP error.

h3. Definition of done

Integration tests for relaying sub addresses emails in SMTP and JMAP and for forwards.
Integration test for sub address (non) handling for local users (see above).

h3. How

 - 1. Modify (relax) the MailAddress POJO to support usage of `+` in local part.

Example of valid mail address: `bob+tag@domain.tld`

Ensure that `+` can still not be used in user names.

 - 2. Write the JMAP/SMTP/Forward tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org