Hi, I want to block an entire TLD in global filters, I found an old thread which suggested the following regex /<.+?@.+?\.online>/ but that appears to be ignored, any other methods ?
Which old thread is that? There is tutorial, found it using Internet Search Engines with Code: block an entire TLD in global filters, site:howtoforge.com https://www.howtoforge.com/tutorial/how-to-block-email-from-certain-tld-in-ispconfig/
Hi Cheers, not sure where the thread was but it uses the same regex as in that tutorial which is not - for me at least - working.
The tutorial has comments where regex is discussed and commenters claim to have better versions. There are regex testers in the Internet, websites with regex test tool, for example https://regex101.com/ . More websites can be found using Internet Search Engines.
... and similarly does not work ... does anyone have any examples of a working format they are using in the global content filter ? even if it is for different rules ?
I think that is a working example in the tutorial you looked at. What is the exact header you are trying to match?
Hi, I want to block all incoming email from the .online TLD , not interested in domain part etc just the whole TLD.