Blocking Subdomain in Who Objects

Kottl

Member
Oct 23, 2019
3
1
23
52
Hi all,

Unfortunately, we are currently receiving a lot of spam emails from an NL service provider. Unfortunately, he sends via various IP addresses and domains. However, the email addresses / domains are almost structured like this

user@nl.domain.xx
@nl.niveauvoll.fit, @nl.mycheck.de, @nl.shopping-trend.net, @nl.youbuy.com, @nl.hotel24.eu.....

I would now like to block all domains that contain the subdomain @nl.*.

I tried it with a "Who Objects" - Regular Expression - Regex "*@nl.*.*, but that also blocks user@nlgood.com

What am I doing wrong here?

Thanks, Kottl
 
try:
'.*@nl\..*'
(with regexes '.*', matches zero or more characters not '*' - and you need to escape the literal '.' by writing '\.')

I hope this helps!
 

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!