Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-4021

Cannot send emails to "abc@def"@other.com

    XMLWordPrintableJSON

Details

    Description

      James users cannot send email to an otherwise synctactically valid email address:

      "abc@def"@domain.com

      Exception calling RecipientRewriteTable: username local part can not contain domain delimiter, got "j.palazzolo@avocats"
      java.lang.IllegalArgumentException: username local part can not contain domain delimiter, got "j.palazzolo@avocats"
      	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:218)
      	at org.apache.james.core.Username.<init>(Username.java:82)
      	at org.apache.james.core.Username.fromLocalPartWithDomain(Username.java:58)
      	at org.apache.james.rrt.lib.AbstractRecipientRewriteTable.getResolvedMappings(AbstractRecipientRewriteTable.java:111)
      	at org.apache.james.transport.mailets.RecipientRewriteTableProcessor.executeRrtForRecipient(RecipientRewriteTableProcessor.java:391)
      	at org.apache.james.transport.mailets.RecipientRewriteTableProcessor.lambda$executeRrtFor$10(RecipientRewriteTableProcessor.java:380)
      

      (amongst other)

      We should make sure we are able to accept and relay mails of our users to those addresses.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m