How to make a Negation Mail filter Rule

nihilanthlnxa

New Member
Sep 30, 2011
8
0
1
Greetings.

I have been trying to create a rule of negation in Proxmox Mail Gateway and nothing.

It turns out that I want to deny access or entry of messages containing more than 2 arrobas in the email address. With this regular expression I achieve it:

^ [a-zA-Z0-9 _.] + @ [a-zA-Z0-9 _.] + $

For example:

hector.suarez@teleturquino.icrt.cu (Matches)
hector.suarez@teleturquino@icrt.cu (Does not match)

But when I'm going to create a rule in the Mail Filter, I realize that I do not have the possibility to create a rule with content negation.

I have tried to create a regular expression with the denial of the aforementioned regex, but I have not succeeded, so it would be much easier to make such a negation rule on the PMG Mail Filter.

Sorry for my bad English.
 

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!