Held Attachments and Virus Email

XN-Matt

Well-Known Member
Aug 21, 2017
92
7
48
43
Are there any plans for you to alter the system that mails with held attachments and viruses can be searched by email address?

This information would be captured on the receiving message and would then allow us to build against the API so users can see these messages and release them if required.
 
Are there any plans for you to alter the system that mails with held attachments and viruses can be searched by email address?
The API for listing mails held in the virus-quarantine yields the sender (envelope and the from-header) and the receiver:
Code:
[
   {
      "bytes" : 1426,
      "envelope_sender" : "sender@senderdomain",
      "from" : "Sender <sender@senderdomain>",
      "id" : "C1R38T178467895",
      "receiver" : "receiver@receiverdomain",
      "spamlevel" : 0,
      "subject" : "test",
      "time" : 1612283102,
      "virusname" : "Eicar-Signature (clamav)"
   }
]

You would get all mails held this way in the json-response.
Which information is missing?

Thanks
 
I think the output then relies on us going through each message?

Like with https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/quarantine/spam, we can send over `pmail` to show the messages by email.

Where as virus and attachment don't have this field so it would be nice to search by that just to provide a list of messages.

For a system with lots of domains, just going through the output each time would be a sizeable response and processing.
 
hmm - from a quick look at the source adding a pmail parameter for filtering could be possible.
Could you please open an enhancement request over at https://bugzilla.proxmox.com ?

out of curiosity - how many mails do you have on average in the attachment/virus quarantine?