[SOLVED] How to get user whitelist and blacklist by pmgsh

Grogory

Member
Feb 15, 2019
26
0
6
66
Moscow
Hello! Can someone tell how to get/create a specific user whitelist and blacklist by pmgsh?
Thanks in advance.
 
Hm - seems this ended up in the wrong forum? (PVE not PMG) - I'll move the thread

The path for the apis are:
/quarantine/whitelist
/quarantine/blacklist

you need to provide the mailbox as 'pmail' parameter

This is quite well shown in the api-viewer:
https://pmg.proxmox.com/pmg-docs/api-viewer/

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!