regex

  1. Filtering with match fields: RegEx not working as expected

    Hi, I have configured amongst other things these two rules: Match field: Reply-To Value: ^K2 for mails with Reply-To: K2 <ykfirxx@forestions.nl> Match field: From Value: ^Medizin-Shop for mails with From: Medizin-Shop <iftiywr@alfasells.de> Test string is ok using the part after "Reply-To: "...
  2. [SOLVED] Anchoring regex in What object

    According to https://forum.proxmox.com/threads/mail-object-test-button-not-working.78899/post-349390 regexes should implicitly be anchored, but it seems to me this is not the case (anymore), see screenshot. I would expect the test to fail. I know I can simply change my regex to start with ^...
  3. PMG Block requests from and to

    Hi, I would like to block all email arriving to admin@example.com and spam@example2.com where sender is not example3.com or example4.com I've tried to do like the following under who-object but looks like doesn't work...
  4. [SOLVED] Mail Proxy Whitelist Regex

    Hello, I'm trying to verify that my regex looks good, in theory, it should be fine, but I'm seeing this in the logs: Apr 13 18:18:11 smtp postfix/smtpd[1039]: warning: regexp map /etc/postfix/senderaccess, line 1: Invalid preceding regular expression Apr 13 18:18:11 smtp postfix/smtpd[1039]...
  5. Exclude groups in sync

    Hello everyone. Is there a way to exclude certain groups (VMs/CTs) from a sync job? I'm syncing to an usb HD. And while my PBS instance keeps a lot of backups I only want some of them in the usb storage. Can this be expressed using Group Filter? Best Regards/Viele Grüße ....Volker
  6. [SOLVED] RegEx Add Scores for TLD's doesn't contain specified domain's extensions

    Hello, I search to write "Who" rules for add scores when a domain doesn't finish with .com or .net (per example.) In documentation, I see regex patern for match expressions, eg for *.com : *@*\.com How i can combine two or more values in one expression please? And it's possible to inverse...
  7. Regex TLD Optimisation Help

    Hi All, After discovering how to apply Custom Rules, its got me down this RegEx rabbit hole. Is anyone able to help with the following that I have 'hacked' together - it is working, but not optimal IMO for both header and URI searches. (\.(fit|link)+?)(?:$|\/|\:)...
  8. Blocking Mail with specific alias part in from

    Hello, i want to block all emails from "Dr. med. Frank" <info@happynonsense.com> where the part between < .... > can be anything. So i wrote a regex in the global blacklist looking like this: ^\"Dr\.\smed\.\sFrank\" As far as i could test with regex101.com the expression should be exact...

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 your own in 60 seconds.

Buy now!