Benoit Tellier created JAMES-4013:
-------------------------------------
Summary: 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
Fix For: 3.9.0
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\":\"[email protected]\",\"emails\":[\"[email protected]\"]}"}',
'extractedContacts':
'{"serializer":"StringSerializer","value":"{\"userEmail\":\"[email protected]\",\"emails\":[\"[email protected]\"]}"}'}
| 1_658_5B332HDCiU0HYG2PbgVjLrAVJIIKIxn1rUFPvInB4NI= | null |
1_658_7m0iljMyTW91XNeCm_IWgEs5FFUai1vTNv_xRLtrwaU= | 2024-02-14
16:16:15.360000+0000 | null | null |
['[email protected]'] | 127.0.0.1 | localhost | [email protected] |
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: [email protected]
For additional commands, e-mail: [email protected]