Unable to whitelist / blacklist email address or domain

ishan

New Member
Nov 12, 2018
11
1
3
31
Hello,
I just installed Proxmox Mail Gateway and during testing, I am unable to whitelist or blacklist any email address or domain through User Blacklist or User Whitelist section.

I see this error -

Parameter verification failed. (400)
pmail: parameter required with role 'root'

I am logged in as root.

Version details -

# pmgversion -v
proxmox-mailgateway: 5.1-1 (API: 5.1-3/529c5439, running kernel: 4.15.18-7-pve)
pmg-api: 5.1-3
pmg-gui: 1.0-42
proxmox-spamassassin: 3.4.2-1
proxmox-widget-toolkit: 1.0-20
pve-kernel-4.15.18-7-pve: 4.15.18-27
pve-kernel-4.15: 5.2-10
libpve-http-server-perl: 2.0-11
lvm2: 2.02.168-2
pve-firmware: 2.0-5
libpve-common-perl: 5.0-41
pmg-docs: 5.1-4
pve-xtermjs: 1.0-5
libarchive-perl: 3.2.1-1
libxdgmime-perl: 0.01-3
zfsutils-linux: 0.7.11-pve1~bpo1
libpve-apiclient-perl: 2.0-5
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
16,521
324
103
Austria
www.proxmox.com
Oh, seems you use the user blacklist/whitelist configuration at "Administartion User Blacklist/Whitelist"?

Those setting are per "User", so you need to enter an email address.

Please use the rule system for global Black/whitelist (Mail Filter/Rules/Blacklist, ..)
 

ishan

New Member
Nov 12, 2018
11
1
3
31
Hello,
I just tried adding test@gmail.com , it still shows -

Parameter verification failed. (400)

pmail: parameter required with role 'root
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
4,019
365
88
31
Vienna
are you logged in the quarantine interface? if yes please use the admin interface instead
 

shakahari

New Member
Nov 7, 2019
1
0
1
44
Hi tom,

what does it mean "works here"?

I'm also logged in as "root". But I get the same error like ishan:

Parameter verification failed. (400)
pmail: parameter required with role 'root

I'm running on version 6.0.6 with a valid subscription.

Best regards,

Alex
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!