Is there an easy way to block all emails from the .autos TLD from an entire email domain rather than have to go in mailbox by mailbox and make filters? We are getting dozens of these stupid rewards emails from a wide vaiety or *.autos domains every hour. Frustrated, Richard
https://www.howtoforge.com/tutorial/how-to-block-email-from-certain-tld-in-ispconfig/ Read also comments.
I am testing the following. Code: /<[^@]+@(?!(.*.)?domain.tld)[^@]+>/i That blocks *.domain.tld including sub-domains. For *.auto domains this might work, you'll have to test and report back. Code: /<[^@]+@(?!(.*.)?auto.[^@]+$)[^@]+>/i Let us know,
Thank you so much Taleman, the REGEX explained in the post was what I needed to make this happen. I thought I searched the tutorials for this but must h ave missed it or searched for the wrong thing. Regards, Richard