Regarding the problem of adding logging on the user side

SCM

Member
Aug 9, 2019
43
2
13
21
Hi Team,I want to know when the user side adds the whitelist, where can I see when the user added it, for example, whether there is a log to record this operation, or other records can be found. thanks!
 
If a user adds a mail-address to their user-lists - it should show up as POST request to /quarantine/blacklist or /quarantine/whitelist respectively
in '/var/log/pmgproxy/pmgproxy.log' (and the user in the logline will be the e-mail-address with @quar as suffix)

I hope this helps!
 
If a user adds a mail-address to their user-lists - it should show up as POST request to /quarantine/blacklist or /quarantine/whitelist respectively
in '/var/log/pmgproxy/pmgproxy.log' (and the user in the logline will be the e-mail-address with @quar as suffix)

I hope this helps!
Yes, I saw the related operation records, thank you very much, but what I didn’t see was that I added an account and the log was not recorded. Do you know why?
 
What do you mean by 'added an account'? (a screenshot would help or a path in the GUI)
 
What do you mean by 'added an account'? (a screenshot would help or a path in the GUI)
1609896125191.png
Yes, the user adds a whitelist or blacklist on the GUI interface. Will the log record the action added, or the log shows what whitelist address is added?
 
Since the request is sent as POST it's payload is not added to the logline:
Code:
192.168.16.68 - root@pam [05/01/2021:10:43:01 +0100] "GET /api2/json/quarantine/blacklist?pmail=foo%40test.com HTTP/1.1" 200 38
- it shows which address adds the record, but not which address gets added

I hope this explains it.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!