blacklist .top .pro

Need help? Ask here.

Moderator: Moderators

Post Reply
ciris
Posts: 1
Joined: Thu Apr 07, 2016 6:16 am

blacklist .top .pro

Post by ciris »

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
bobpullen
Posts: 20
Joined: Fri Jul 18, 2014 2:10 am

Re: blacklist .top .pro

Post by bobpullen »

You could create a sieve script to discard any email from those TLDs? Something like this should do the trick:

Code: Select all

# Discard email from specified TLDs

if header :contains ["from"] ["*.top","*.pro"]
{
        discard;
}
If you're not comfortable with sieve scripts then you can probably achieve similar by creating a filter in Webmail.
Elzar
Posts: 1
Joined: Sun Sep 18, 2016 5:45 am

Re: blacklist .top .pro

Post by Elzar »

bobpullen wrote:You could create a sieve script to discard any email from those TLDs? Something like this should do the trick:

Code: Select all

# Discard email from specified TLDs

if header :contains ["from"] ["*.top","*.pro"]
{
        discard;
}
If you're not comfortable with sieve scripts then you can probably achieve similar by creating a filter in Webmail.
Nice bob, where does one put this code?
bobpullen
Posts: 20
Joined: Fri Jul 18, 2014 2:10 am

Re: blacklist .top .pro

Post by bobpullen »

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.
Seth
Site Admin
Posts: 309
Joined: Sun Aug 30, 2009 10:44 pm
Location: Nevada
Contact:

Re: blacklist .top .pro

Post by Seth »

Seth Mattinen, Roller Network LLC
Post Reply