accepting only .com and .net

JavierM

Member
Aug 7, 2018
1
0
21
37
Hello everyone.
Is there a way to filter mails so i only recive from certain domain type *.com and *.net
i understand how to allow these domain types but how could be the rule to block all the other ones like .ru and .es whitout having to write them all.
do i use just the symbol * ?
Thanks in advance
 
Is there a way to filter mails so i only recive from certain domain type *.com and *.net
yes - create 2 rules:
* one with a who-object with a regex of '.*\.(com|net)' and an action-object - accept
* one with lower priority with action block
(make sure to fit those two in at the right priorities for your rules
 
  • Like
Reactions: oguz

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!