[ 
https://issues.apache.org/jira/browse/JAMES-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

René Cordier resolved JAMES-4013.
---------------------------------
    Resolution: Fixed

https://github.com/apache/james-project/pull/2062 fixed this and has been merged

> MDN/send where not relayed
> --------------------------
>
>                 Key: JAMES-4013
>                 URL: https://issues.apache.org/jira/browse/JAMES-4013
>             Project: James Server
>          Issue Type: Bug
>          Components: JMAP, mdn
>            Reporter: Benoit Tellier
>            Assignee: Antoine Duprat
>            Priority: Major
>             Fix For: 3.9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In production I ended up with many legitimate emails in relayed denied mail 
> repository:
> {code:java}
> admin@cqlsh:cnb_prd_tmail> select * from mailrepositorycontentv2 where name = 
> 'cassandra://var/mail/relay-denied' ALLOW FILTERING  ;
>  name                              | mailkey                              | 
> attributes                                                                    
>                                                                               
>                                                                               
>                                                                               
>                                         | bodyblobid                          
>                | errormessage | headerblobid                                  
>      | lastupdated                     | messagesize | 
> perrecipientspecificheaders | recipients                                      
>    | remoteaddr | remotehost | sender                             | state
> -----------------------------------+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------+--------------+----------------------------------------------------+---------------------------------+-------------+-----------------------------+----------------------------------------------------+------------+------------+------------------------------------+--------------
>  cassandra://var/mail/relay-denied | 9e968014-6e3f-4e58-92ef-2f7097407ce9 |   
>                 {'ContactAttribute': 
> '{"serializer":"StringSerializer","value":"{\"userEmail\":\"xxx....@xxx.fr\",\"emails\":[\"x...@xxx.com\"]}"}',
>  'extractedContacts': 
> '{"serializer":"StringSerializer","value":"{\"userEmail\":\"xxx....@xxx.fr\",\"emails\":[\"x...@xxx.com\"]}"}'}
>  | 1_658_5B332HDCiU0HYG2PbgVjLrAVJIIKIxn1rUFPvInB4NI= |         null | 
> 1_658_7m0iljMyTW91XNeCm_IWgEs5FFUai1vTNv_xRLtrwaU= | 2024-02-14 
> 16:16:15.360000+0000 |        null |                        null |            
>        ['x...@yyy.com'] |  127.0.0.1 |  localhost |   xxx....@avocat.fr | 
> relay-denied
> {code}
> Those mails were sent via JMAP but did not have the JMAP username metadata 
> leading them to be qualified as not sent by JMAP and thus not routed.
> Investigations showed that MDN/send method was not positionning the username 
> attribute.



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

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

Reply via email to