PMG What object to filter Subject:

jedo19

Active Member
Nov 16, 2018
27
3
43
49
I am trying to create regex to filter certain words in Subject line,
so I created a What object
Field: Subject:
Valie: \W*((?i)wordtofilter(?-i))\W*

but it does not accept it ? it only accepts if I put worldtofilter in field line,
what am I doing wrong?
Thanks
 
try this

(?i)(\W|^)(wordtofilter)(\W|$)
Thanks for your reply but I still get:

Parameter verification failed. (400)
field value does not match the regex pattern if I put to field name Subject: lets say ...
 

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!