Hello,
I'm receiving a lot of spam email from .top and .pro domain is there anyway to blacklist all domain with those extensions? Spamassasin score at 0 or 1.3.
blacklist
exp.: *@*.top
Thank you
blacklist .top .pro
Moderator: Moderators
Re: blacklist .top .pro
You could create a sieve script to discard any email from those TLDs? Something like this should do the trick:
If you're not comfortable with sieve scripts then you can probably achieve similar by creating a filter in Webmail.
Code: Select all
# Discard email from specified TLDs
if header :contains ["from"] ["*.top","*.pro"]
{
discard;
}
Re: blacklist .top .pro
Nice bob, where does one put this code?bobpullen wrote:You could create a sieve script to discard any email from those TLDs? Something like this should do the trick:
If you're not comfortable with sieve scripts then you can probably achieve similar by creating a filter in Webmail.Code: Select all
# Discard email from specified TLDs if header :contains ["from"] ["*.top","*.pro"] { discard; }
Re: blacklist .top .pro
In the account control centre, go to Manage Sieve filters and log into the mailbox in question. You'll need to create a new script/edit an existing one that contains the code I suggested in my previous post. There are lots of linked help articles along the way.