regular expressions in PMG 7.1-4

inno-forum

Member
Oct 28, 2021
54
3
13
29
we want to select mails by using a What Object for searching patterns in the subject by regular expressions in a Match Field filter and we don't understand how it works: for example if we write the Value Mail like it is written in the PMG admin guide and our Test String is 'mail' we get a Success message. The same if we check the Test String e-some-mail with the Value e.mail
Is there a trick to search for uppercase terms in the subject or to use the dot?
 
It will match upper and lower case subject

(?i)(\W|^)(privated?|pains?|penis|pussy)(\W|$)
 
thank you for your attention, in the Match Field the test always hits uppercase and lowercase letters even if you use (test|xxx) , but we would like to search for uppercase letters only and it's also described that way in the admin guide 5.5.2. Is there a way to do it in this way?
 

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!