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!
 

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!