[SOLVED] User blacklist with bad address *+@*+/.icu$

Oct 15, 2018

I've tried to add all domain "*.icu" to user blacklist and i have now problem to remove this line:

Method 'DELETE /quarantine/blacklist/*+@*+/.icu$' not implemented (501)

I don't know how to delete it also from pmgsh:

root@mail-gw:~# pmgsh delete quarantine/blacklist/\*+@\*+/.icu\$
no 'delete' handler for 'quarantine/blacklist/*+@*+/.icu$'
root@mail-gw:~# pmgsh delete 'quarantine/blacklist/*+@*+/.icu$'
no 'delete' handler for 'quarantine/blacklist/*+@*+/.icu$'

I've also add "icu" to global domain blacklist, but it doesn't work, but this is for other thread. :)

# pmgversion
pmg-api/5.0-61/71d9a758 (running kernel: 4.13.13-5-pve)
Last edited:
try escaping the `/` in `/.icu$` as well?
(/ is the separator for the api) - iow does:
`pmgsh delete quarantine/blacklist/\*+@\*+\/.icu\$`
Thanks for reply!

No :(

# pmgsh delete quarantine/blacklist/\*+@\*+\/.icu\$
no 'delete' handler for 'quarantine/blacklist/*+@*+/.icu$'
hm - sorry - didn't check explicitly - the API has a different specification for quarantine/blacklist:
pmgsh get /quarantine/blacklist/ -pmail '$usermailaddress'
should get you the blacklist for user with the mail $usermailaddress
deletion works like this:
pmgsh delete /quarantine/blacklist/*@*.icu -pmail '$usermailaddress'
  • Like
Reactions: Przemysław Knycz
Glad your problem is solved! Please mark the Thread as Solved, so that others know what to expect :) - Thanks!
  • Like
Reactions: Przemysław Knycz
Hi. I've used Regexp on block:


Works perfectly :)


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!