Benoit Tellier created JAMES-4113:
-------------------------------------

             Summary: Allow audit of virus decisions
                 Key: JAMES-4113
                 URL: https://issues.apache.org/jira/browse/JAMES-4113
             Project: James Server
          Issue Type: Improvement
          Components: rspamd, Mailet Contributions
            Reporter: Benoit Tellier


h3. Description of the bug

On a prod platform I have virus detected and placed aside. Cool, it WORKS!

The issue is that hardly know **why** it is there is the first place. And I 
can't justify that decision if its eventually needed.

{code:java}
{
  "name": "Mail1718267393124-47b34e1f-a767-472f-b0e3-0c6d593a8394",
  "sender": "sa...@main-iz.ink",
  "recipients": [
    "fxxxx.y...@avocat.fr"
  ],
  "error": null,
  "state": "virus",
  "remoteHost": "3.mo552.mail-out.ovh.net",
  "remoteAddr": "178.33.254.192",
  "lastUpdated": "2024-06-13T08:29:53.216+0000",
  "attributes": null,
  "perRecipientsHeaders": null,
  "headers": null,
  "textBody": null,
  "htmlBody": null,
  "messageSize": null
}
{code}

h3. The fix

I would expect the `error` of the mail to discluse the exact symbol from RSPAMD 
and all the relevant information on the class of VIrus...

 - An admin reviewing logs would then know it in the AuditLog
 - An admin browsing repository would be able to see the error too



--
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