{"id":87,"date":"2007-03-18T19:34:42","date_gmt":"2007-03-19T00:34:42","guid":{"rendered":"http:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain"},"modified":"2007-04-18T17:36:45","modified_gmt":"2007-04-18T22:36:45","slug":"setup-mozilla-thunderbird-to-block-all-mail-but-local-domain","status":"publish","type":"post","link":"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain","title":{"rendered":"Setup Mozilla Thunderbird to Block all Mail but Local Domain"},"content":{"rendered":"

In this tutorial you will learn how to setup Mozilla Thunderbird to delete all mail that is not sent from your local domain. This will also help you learn how to set filters for other uses.<\/p>\n

First we have to have a way to filter the mail, without downloading the entire message. Downloading the entire message will still allow viruses to get to the PC, so we will download only the headers of the message.<\/p>\n

On the menu bar go to:
\nTools – Accounts – Server Settings and Check the box the says \u201cFetch headers only\u201d then select OK.
\nSetup Mozilla Thunderbird to Block all Mail but Local Domain<\/a><\/p>\n

Now we need to setup our mail filters to block all domains but our local domain. On the menu bar go to Tools – Message Filters
\n
Speed Up Windows XP Boot and Shutdown Times<\/a><\/p>\n

Now select the New button to add a new message filter rule
\n
Setup Mozilla Thunderbird to Block all Mail but Local Domain<\/a><\/p>\n

We will now set our mail client to only download messages from our domain, which is test.com for the purpose of this tutorial. So in the Filter Name field we will enter \u201cDownload Mail from test.com\u201d, so we will know what this filter is later. Then under the \u201cIncoming Messages that:\u201d Section we will select the \u201cMatch all of the following\u201d option.
\n
Setup Mozilla Thunderbird to Block all Mail but Local Domain<\/a><\/p>\n

To download the mail from test.com we will set the filter under the \u201cFor incoming messages that:\u201d section to:
\nFrom | contains | @test.com<\/p>\n

And the \u201cPerform these actions:\u201d section to:
\nFetch from pop server<\/p>\n

Setup Mozilla Thunderbird to Block all Mail but Local Domain<\/a><\/p>\n

Click ok to save the settings<\/p>\n

Remember we only downloaded the header of the message. This rule will tell Thunderbird to download the rest of the message for all mail from test.com.<\/p>\n

Setup Mozilla Thunderbird to Block all Mail but Local Domain<\/a><\/p>\n

Now we will need to deal with the mail that we don\u201dt want to receive. We will have Thunderbird delete these messages, so we need to create a new rule.<\/p>\n

We will call this rule \u201cDelete all other messages\u201d. We will also select the \u201cMatch all of the following\u201d option.<\/p>\n

Setup Mozilla Thunderbird to Block all Mail but Local Domain<\/a><\/p>\n

This time we will set the rule \u201cFor incoming messages\u201d to:
\nFrom | Doesn\u201dt Contain | @test.com<\/p>\n

And change the \u201cPerform these actions\u201d to:
\nDelete from pop server<\/p>\n

Setup Mozilla Thunderbird to Block all Mail but Local Domain<\/a><\/p>\n

Now click ok and verify that both filters are set and the check box is marked for enabled.
\n
Setup Mozilla Thunderbird to Block all Mail but Local Domain<\/a><\/p>\n

Now you can close the window and test your configuration. The way that I test is to send a message to the email account I set the filters on from two different email accounts. One of the accounts should be let through because it will be in my domain. The other should be deleted from the pop server before hitting my PC. I will usually verify that the mail is in my inbox by checking the email through the web based service first. Then I will click the get mail button in Thunderbird and see if the files are downloaded. You may also notice that Thunderbird will say downloading message 1 of 2, but it will only download 1 message to the inbox.<\/p>\n","protected":false},"excerpt":{"rendered":"

In this tutorial you will learn how to setup Mozilla Thunderbird to delete all mail that is not sent from your local domain. This will also help you learn how to set filters for other uses.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[],"yoast_head":"\nSetup Mozilla Thunderbird to Block all Mail but Local Domain<\/title>\n<meta name=\"description\" content=\"In this tutorial you will learn how to setup Mozilla Thunderbird to delete all mail that is not sent from your local domain. This will also help you learn how to set filters for other uses.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Johnathan Ward\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/teamtutorials.com\/#website\",\"url\":\"https:\/\/teamtutorials.com\/\",\"name\":\"Team Tutorials\",\"description\":\"Learn something new today\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/teamtutorials.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/03\/mozilla-thunderbird-filter-domains-1.jpg\",\"contentUrl\":\"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/03\/mozilla-thunderbird-filter-domains-1.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#webpage\",\"url\":\"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain\",\"name\":\"Setup Mozilla Thunderbird to Block all Mail but Local Domain\",\"isPartOf\":{\"@id\":\"https:\/\/teamtutorials.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#primaryimage\"},\"datePublished\":\"2007-03-19T00:34:42+00:00\",\"dateModified\":\"2007-04-18T22:36:45+00:00\",\"author\":{\"@id\":\"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9\"},\"description\":\"In this tutorial you will learn how to setup Mozilla Thunderbird to delete all mail that is not sent from your local domain. This will also help you learn how to set filters for other uses.\",\"breadcrumb\":{\"@id\":\"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/teamtutorials.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup Mozilla Thunderbird to Block all Mail but Local Domain\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9\",\"name\":\"Johnathan Ward\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/teamtutorials.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r\",\"caption\":\"Johnathan Ward\"},\"description\":\"Johnathan Ward is an experienced developer and consultant that writes tutorials to help other developers. In his day job, he is an IBM Watson Consultant with several years of experience deploying and customizing Watson Explorer solutions.\",\"sameAs\":[\"http:\/\/johnathanward.com\",\"https:\/\/twitter.com\/spyderman4g63\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setup Mozilla Thunderbird to Block all Mail but Local Domain","description":"In this tutorial you will learn how to setup Mozilla Thunderbird to delete all mail that is not sent from your local domain. This will also help you learn how to set filters for other uses.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain","twitter_misc":{"Written by":"Johnathan Ward","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/teamtutorials.com\/#website","url":"https:\/\/teamtutorials.com\/","name":"Team Tutorials","description":"Learn something new today","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/teamtutorials.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#primaryimage","inLanguage":"en-US","url":"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/03\/mozilla-thunderbird-filter-domains-1.jpg","contentUrl":"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/03\/mozilla-thunderbird-filter-domains-1.jpg"},{"@type":"WebPage","@id":"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#webpage","url":"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain","name":"Setup Mozilla Thunderbird to Block all Mail but Local Domain","isPartOf":{"@id":"https:\/\/teamtutorials.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#primaryimage"},"datePublished":"2007-03-19T00:34:42+00:00","dateModified":"2007-04-18T22:36:45+00:00","author":{"@id":"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9"},"description":"In this tutorial you will learn how to setup Mozilla Thunderbird to delete all mail that is not sent from your local domain. This will also help you learn how to set filters for other uses.","breadcrumb":{"@id":"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/teamtutorials.com\/software-tutorials\/setup-mozilla-thunderbird-to-block-all-mail-but-local-domain#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/teamtutorials.com\/"},{"@type":"ListItem","position":2,"name":"Setup Mozilla Thunderbird to Block all Mail but Local Domain"}]},{"@type":"Person","@id":"https:\/\/teamtutorials.com\/#\/schema\/person\/3abea1fc71644afe035403357450b9d9","name":"Johnathan Ward","image":{"@type":"ImageObject","@id":"https:\/\/teamtutorials.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93d667fe5dc6df5c722e0df5eac14d40?s=96&d=mm&r=r","caption":"Johnathan Ward"},"description":"Johnathan Ward is an experienced developer and consultant that writes tutorials to help other developers. In his day job, he is an IBM Watson Consultant with several years of experience deploying and customizing Watson Explorer solutions.","sameAs":["http:\/\/johnathanward.com","https:\/\/twitter.com\/spyderman4g63"]}]}},"_links":{"self":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts\/87"}],"collection":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":0,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}