How to block all mail from .xyz domains

Questions and answers about how to do stuff
Post Reply
techedge01
Posts: 1
Joined: 07 Sep 2014 22:38

How to block all mail from .xyz domains

Post by techedge01 »

We get a ton of spam lately from somename@somename.xyz and no matter how I write the black list filter *.xyz, *@*.xyz it still passes the messages. I want nothing but .com address to come through. How to at least block all of the .xyz junk????
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: How to block all mail from .xyz domains

Post by shawniverson »

Try putting xyz without the * in front:

From: @ xyz
To: default

Looks funny but may work. MailScanner/MailWatch does not like wildcards.
ryenna69
Posts: 1
Joined: 21 Jul 2016 05:44

Re: How to block all mail from .xyz domains

Post by ryenna69 »

Yes... it's work. Thanks :clap:
Post Reply