The '*' wildcard regex for the who objects aren't accepted like in pmg 7.3 version

JuanCAguilar

New Member
Feb 14, 2023
17
2
3
México
www.conafor.gob.mx
Hello to everyone

Recently we upgrade to pmg 8.1, after that the following issue is presenting...

I'm having troubles to add '*' wildcard regex objects in both blacklisted and whitelisted as well as, I did in the pmg 7.3 version. Give you an example...

*@badmail\.bad

When I try the add everything is ok...
1718829120838.png

But when I do the test for the typed regex look...
1718829199905.png

But at the adding time for the object the following error occurs...
invalid regex: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE @badmail\.bad$/ at /usr/share/perl5/PMG/Utils.pm line 1590. (500)
1718829336929.png

Would be this a bug? cause in pmg 7.3 it doesn´t happened.


Greetings

Juan Carlos
 

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!