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.
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.