james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2389) Inbox User Name is case sensitive so wrong inbox generated
Date Mon, 14 May 2018 02:27:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473704#comment-16473704
] 

ASF GitHub Bot commented on JAMES-2389:
---------------------------------------

Github user chibenwa commented on the issue:

    https://github.com/apache/james-project/pull/114
  
    Hi @mostafavtp .
    
    One alternative solution is to position the `RecipientToLowerCase` mailet just before
the `LocalDelivery` mailet.
    
    It will solve your use case while still keeping flexibility to users for which "Test@domain"
might be a different user than "test@domain".
    
    The sequence in `mailetcontainer.xml` becomes:
    
    ```
    <mailet matcher="RecipientIsLocal" class="RecipientToLowerCase"/>
    <mailet matcher="RecipientIsLocal" class="LocalDelivery"/>
    ```
    
    Would that solve your problem?
    
    If yes, we might consider adding this to default configurations:
    
    ```
    ... /server/app/src/main/resources/mailetcontainer.xml
    ... /server/container/guice/jpa-smtp/sample-configuration/mailetcontainer.xml
    ... /dockerfiles/run/guice/cassandra/destination/conf/mailetcontainer.xml
    ... /dockerfiles/run/guice/cassandra-ldap/destination/conf/mailetcontainer.xml
    ```


> Inbox User Name is case sensitive so wrong inbox generated
> ----------------------------------------------------------
>
>                 Key: JAMES-2389
>                 URL: https://issues.apache.org/jira/browse/JAMES-2389
>             Project: James Server
>          Issue Type: Bug
>          Components: data
>    Affects Versions: 3.0.1
>            Reporter: mostafa vtp
>            Priority: Major
>
> Hi
>  When sending an email to a user with no lower case user name, a new Inbox is created
for that user.
>  For example assume:
>  I have a user with "test1@t.t1" name for example. When I send mail to "*Test1*@t.t1",
James accepts it but *creates a new mail box* with "Test1@t.t1" name in database(JAMES_MAILBOX
table in USER_NAME field) *and "test1@t.t1" user can't see the email.*
>  It seems user existence check is case insensitive but mailbox creation is case sensitive.
>  James should not create a new inbox in this situation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message