which of the 3 whitelists are you refering to:Am whitelisted some domains and emails
wasnt able to get list none via web and cli:which of the 3 whitelists are you refering to:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_whitelist_overview
all of them should be updated via API or `pmgsh` (they are stored in the db, but parts of it (e.g. mail-proxy whitelist is synced to a postfix config file)
check the api-viewer:
https://pmg.proxmox.com/pmg-docs/api-viewer/index.html
I hope this helps!
as the message says - when you run the command as 'root' (all invocations on the command line are as root) you need to provide pmail (primary mail - the email for which you want to get the whitelist)pmail: parameter required with role 'root'
List entries for the user with this primary email address. Quarantine users cannot speficy this parameter, but it is required for all other roles.
pmgsh get /quarantine/whitelist -pmail 'some@email.address'
great, that worked, thanksas the message says - when you run the command as 'root' (all invocations on the command line are as root) you need to provide pmail (primary mail - the email for which you want to get the whitelist)
https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/quarantine/whitelist says:
e.g. :
Code:pmgsh get /quarantine/whitelist -pmail 'some@email.address'