Permanently block domain in Gmail

by user4683   Last Updated August 10, 2015 18:01 PM

My inbox is being destroyed right now—I'm getting 3–4 messages a minute from a specific host (box432.bluehost.com) for some reason. I would really like to just prevent any and all email from his host from even getting to my inbox.

I have created a filter in Gmail, the problem is that Thunderbird, which is setup via IMAP, is placing those messages in the trash. My trash is growing by 5 messages per minute.

It’s taking its toll on Thunderbird, and my CPU usage.

Can't I just somehow prevent some known bad host, or domain, from getting into my inbox?

I don't want to “put these files in the trash”—that's just another folder in Gmail terms.

I want them to either A) be deleted not placed in a trash folder, or B) ideally never even get that far.

Is this possible?



Answers 5


From the web interface, select a few of these spammy mails & click the Report Spam button.

mvark
mvark
September 28, 2010 08:47 AM

You can do that using a Filter.

Steps to follow:

  1. Go to setting page of GMail.
  2. Click on the Filters Tab.
  3. Click on "Create a new filter" buton.
  4. In the "From" field write "*@box432.bluehost.com" (without " " - if your mails are comming from addresses like admin@box432.bluehost.com, email@box432.bluehost.com, xxx@box432.bluehost.com etc...)
  5. Click on the "Next Step" button.
  6. Check the "Delete it" and "Also apply filter to ** conversations below" (here "**" is the email count) checkboxs and click "Create Filter"

All mails from that type of email address will be deleted (including messages in the Inbox) automatically.

chanchal1987
chanchal1987
September 28, 2010 13:41 PM

I haven't tried this, but it might work.

You can enable the LAB advanced imap controls and then under labels uncheck show in imap for the thrash label. You wouldn't get the online thrash folder available in Thunderbird and therefore not all the flooding mails.

How good this will work for you depends on how you have configured your Thunderbird alas if deleted emails in Thunderbird is sent to thrash or just archived

Zerrvox
Zerrvox
September 30, 2010 20:02 PM

There is no way for you to do this directly, however you can indirectly make it happen by using the web interface to select a bunch of them and mark them as spam. Seriously after you select enough of them and mark them as spam consistently when they come in, they will get blocked upstream from your account. It's not an instant magic fix, you are going to have to wait for gmail to train itself on these messages.

In the mean time disable syncing the trash folder in your thunderbird / gmail imap settings so that you can survive the deluge. If you can't figure out how to actually disable the trash, filter them to a folder instead because it is much easier to not sync an imap folder. Just make sure you specify "skip the inbox" as well as the labeling for a folderin your filter. Then periodically open that folder from the web and mark everything as spam.

Caleb
Caleb
October 16, 2010 08:31 AM

Gmail doesn't offer end users a way to block email messages, but you could set a filter to automatically process them, i.e. mark as spam, delete them, apply a label, as you already did.

Besides this you could set which labels will sync through IMAP with email client. So you could disable the SPAM, Trash or both labels for a while, until Google block those messages for you. To do so,

  1. Go to http://gmail.com
  2. Click on Settings (cog wheel) > Settings > Labels
  3. Next to each label, click to put/remove tick marks on the related "Show in IMAP" checkbox.
Rubén
Rubén
August 10, 2015 18:46 PM

Related Questions


Archiving all in Gmail inbox--webmail vs IMAP

Updated June 15, 2015 23:01 PM

Can I see my gmail inbox tabs as IMAP labels?

Updated May 21, 2015 05:01 AM