pmgsh get /quarantine/blacklist all email list

freexmonster

New Member
Nov 3, 2021
3
0
1
36
Good afternoon, I ran into the problem of displaying a list via api, how is this possible to implement?
pmgsh get /quarantine/blacklist all email list ???
 
I ran into the problem of displaying a list via api,
what exactly is the problem you ran into? - an error-message, or screenshot might help in understanding what the issue is (and then find the solution)
 
The problem is this, we have a list in User Blacklist, it works if users have marked spammers themselves, we would like to add these lists to the Global blacklist. For all. I would like to have such an opportunity in the future in the proxmox gui interface. In the meantime, I'm trying to solve this problem through api.
 
pmgsh get /quarantine/blacklist/ -pmail example@example.com | grep address
its works, but i need all users email list....
you can get the list of the users from '/quarantine/spamusers'
you need to iterate over this list to get all their blacklist entries

I hope this helps!