Compare Revisions

Thunderbird and Junk / Spam Messages

Revision 271684:

Revision 271684 by AliceWyman on

Revision 278240:

Revision 278240 by rtanglao on

Keywords:

junk spam configuration
junk spam configuration

Search results summary:

This article explains how Thunderbird's adaptive filter learns to identify junk mail ("spam").
This article explains how Thunderbird's adaptive filter learns to identify junk mail ("spam").

Content:

To deal with the large amount of unsolicited email ("spam" or "junk mail") that most people have to cope with, Thunderbird uses an adaptive filter that learns from your actions which messages are legitimate and which are junk. __TOC__ =Junk filter settings= == Global junk preferences == Junk filtering is enabled by default. You can set global junk preferences to control what should happen to messages marked as junk. These settings will be used by all of your email accounts (although some settings can be overridden in the account settings, as shown below). {button ≡} > {menu Preferences} > {menu Privacy & Security} > '''Junk''' [[Image: TB91-preferences-privacy-security-junk]] == Per account settings == The junk settings in the account settings for each of your email accounts will override similar settings in the global junk preferences described above. In this section, you can also select address books which will be used as a whitelist. Any messages from senders whose email address is in a whitelisted address book will not be marked as junk by Thunderbird. {button ≡} > {menu Account Settings} > '''Your Account''' > {menu Junk Settings} [[Image: TB91-account-settings-junk-settings]] =Training the junk filter= == Tell Thunderbird what is JUNK == In order for Thunderbird's junk filter to be effective, you must train it to recognize messages that you consider to be junk '''and''' messages that you consider to be '''not''' junk. So it is important to mark messages as junk before deleting them. There are several ways of marking messages as junk. * You can click on the little icon in the "junk" column of the message list: *;[[Image: TB91-thread-pane-junk-column]] * You can also click the {button Junk} button on the message header toolbar: *;[[Image: TB91-message-pane-header-buttons-junk]] * Or you can press {key J} on your keyboard to mark one or more selected messages as junk. {note}Thunderbird's junk filter has been designed to learn from the training data which you provide. Marking more messages as '''junk''' or '''not junk''' (see below) will improve the accuracy of your junk filter by adding more training data.{/note} == Tell Thunderbird what is NOT JUNK == Sometimes Thunderbird's junk filter might get it wrong and mark ''good'' messages as junk. Therefore, it is just as important to tell the filter which messages are ''not'' junk, especially on a new installation of Thunderbird. {note}'''Note:''' You should frequently (daily or weekly) check your Junk folder for ''good'' messages wrongly marked as junk by Thunderbird and mark them as '''not junk'''. This will recover the good messages and improve the correctness of the filter for the future.{/note} There are several ways of marking messages as '''not junk'''. * Click on the {button Not junk} button in the yellow junk notification below the message header: *;[[Image: TB91-message-pane-junk-notification-not-junk]] * Click on the orange junk icon in the '''junk''' column of the message list to toggle the junk status of a message: *;[[Image: TB91-thread-pane-junk-column]] * Or press {key Shift}+{key J} on your keyboard to mark one or more messages as '''not junk'''. Furthermore, you should '''regularly''' train the filter by marking a number of '''good''' messages as not junk - messages in your Inbox ''and'' messages that have been filtered into other folders. In this case, you can only use the keyboard shortcut {key Shift}+{key J}, because the {button Not Junk} button appears only for messages that have already been marked as junk. Marking several messages per week will be sufficient. You can select several messages and mark all of them at the same time. Unfortunately nothing in the user interface indicates whether a message has already been marked as "not junk". = Other ways of blocking unwanted messages = Thunderbird's adaptive junk filter is not an absolute barrier against messages from a specific address or specific types of messages. You can have stronger mechanisms to stop unwanted messages. == Create filters manually == You can manually create your own filters. Consider: * [[Blocking a sender|Block some senders]]. * [[Organize Your Messages by Using Filters#w_create-a-new-filter|Create filters]] to block messages based on subject or other criteria. == Use an external filter service == You can also use an external filter service to help classify email and block junk. # {button ≡} > {menu Account Settings} > '''Your Account''' > {menu Junk Settings} # Enable the {pref Trust junk mail headers set by} option. # Choose an external filter service in the drop-down menu. #;[[Image:TB102-Trust_junk_mail_headers_set_by]] <!-- Also, a better understanding of how the adaptive filter works can help you understand why message are and are not flagged as junk. The [http://mesquilla.com/extensions/junquilla/ JunQuilla] addon can help in that regard. -->
To deal with large amounts of unsolicited email ("spam" or "junk mail"), Thunderbird uses an adaptive filter that learns from your actions which types of messages are legitimate and which are junk. __TOC__ =Overview= Thunderbird's adaptive filter uses a Bayes algorithm plus training data you have collected to determine which messages it will automatically set as junk. But using an algorithm means a message previously marked as junk is not guaranteed to be automatically marked as junk in the future. If you want a guarantee, see [[#Create filters manually|Create filters manually]]. To guarantee that important messages will NOT be marked as junk, use [[#w_whitelisting|Whitelisting]]. Also, because junk mail constantly changes, it is recommended that you regularly train Thunderbird. If you do not train frequently, then Thunderbird will not provide good results. =Junk filter settings= == Global junk settings == Junk filtering is enabled by default. And you can set global junk settings to tune what should happen to messages marked as junk. These settings will be used for all email accounts (although some settings can be overridden in the [[#w_per-account-settings|Per account settings]], as shown below). # Click {menu ≡} > {menu Settings} > {menu Privacy & Security} # Scroll down to '''Junk'''. Adjust the settings as you see fit. #;[[Image: TB115-account-settings-junk-settings]] == Per account settings == The junk settings in the account settings for each of your email accounts will override similar settings in the [[#w_global-junk-settings|Global settings]] described above. * Click {menu ≡} > {menu Account Settings} > '''Your email address''' > {menu Junk Settings} *;[[Image: tb115-email-account-settings-junk-settings]] === How to turn off Thunderbird's adaptive filtering === * Un-tick ''Enable adaptive junk mail controls for this account'' ===Whitelisting=== Under ''Do not automatically mark mail as junk if the sender is in'' you can select address books which will be used as a whitelist. Senders whose email address is in a whitelisted address book are exempt and will not be automatically marked as junk by Thunderbird. But you can still manually marking a message containing a whitelisted address as junk. '''It is recommended that you enable whitelisting to help ensure that messages from people you most care about will not be marked as junk.''' =Training the junk filter= In order for Thunderbird's junk filter to be effective, you must train it to recognize messages that you consider to be junk '''and''' messages that you consider to be '''not''' junk. If you do not do both, then the filter will not be very effective. Note also, it is important to mark messages as junk before deleting them. Just deleting a message doesn't train the filter. == Tell Thunderbird what is JUNK == There are several ways of marking messages as junk: * You can click on the little icon in the ''Junk'' column of the [[Getting Started with the Thunderbird main window (Supernova and newer)#w_7-message-list-pane|Message List Pane]]: *;[[Image: TB115-thread-pane-junk-column]] * You can also click the {button Junk} button on the [[Getting Started with the Thunderbird main window (Supernova and newer)#w_8-message-header-pane|Message Header Pane]]: *;[[Image: TB115-message-pane-header-buttons-junk]] * Or you can press {key J} on your keyboard to mark one or more selected messages as junk. {note}Once you mark a message as junk, if you have configured your [[#w_global-junk-settings|Global junk settings]] or [[#w_per-account-settings|Per account settings]] to move junk email to a different folder, the email will disappear from the [[Getting Started with the Thunderbird main window (Supernova and newer)#w_7-message-list-pane|Message List Pane]] for the current folder. Don't worry the email is still there! It is in the folder you have configured for junk mail.{/note} {note}Thunderbird's junk filter has been designed to learn from the training data which you provide. Marking more messages as '''Junk''' or '''Not Junk''' (see below) will improve the accuracy of your junk filter by adding more training data.{/note} == Tell Thunderbird what is NOT JUNK == Sometimes Thunderbird's junk filter might get it wrong and mark ''good'' messages as junk. Therefore, it is just as important to tell the filter which messages are ''not'' junk, especially on a new installation of Thunderbird. {note}'''Note:''' You should frequently (daily or weekly) check your Junk folder for ''good'' messages wrongly marked as Junk by Thunderbird and mark them as '''Not Junk'''. This will recover the good messages and improve the correctness of the filter for the future.{/note} There are several ways of marking messages as '''Not Junk'''. * Click on the {button Not Junk} button in the yellow junk notification below the message header in the [[Getting Started with the Thunderbird main window (Supernova and newer)#w_7-message-list-pane|Message List Pane]]: *;[[Image: TB115-message-pane-junk-notification-not-junk]] * Click on the orange junk icon in the '''Junk''' column of the [[Getting Started with the Thunderbird main window (Supernova and newer)#w_7-message-list-pane|Message List Pane]] to toggle the junk status of a message: *;[[Image: TB115-thread-pane-unmark-junk-column]] * Or press {key Shift}+{key J} on your keyboard to mark one or more messages as '''Not Junk'''. {note}Once you un-mark a message as junk, the email will disappear from the current folder. Don't worry the email is still there! It will be in its original folder; the folder it was in before it was marked as junk.{/note} == Repeated training == You should '''regularly''' train the filter by marking a number of '''good''' messages as not junk - messages in your Inbox ''and'' messages that have been filtered into other folders. In this case, you can only use the keyboard shortcut {key Shift}+{key J}, because the {button Not Junk} button appears only for messages that have already been marked as junk. Marking several messages per week will be sufficient, and you can select many messages and mark all of them at the same time. Unfortunately the user interface does not help you see whether a message has already been marked as "not junk". = Other ways of blocking unwanted messages = Thunderbird's adaptive junk filter is not an absolute barrier against messages from a specific address or specific types of messages. You can have stronger mechanisms to stop unwanted messages by using the following methods. == Create filters manually == You can manually: * [[Blocking a sender|Block some senders]]. * [[Organize Your Messages by Using Filters#w_create-a-new-filter|Create filters]] to block messages based on subject or other criteria. == Use an external filter service == You can also use an external filter service to help classify email and block junk. # Click {menu ≡} > {menu Account Settings} > '''Your Account''' > {menu Junk Settings} # Enable the {pref Trust junk mail headers set by} option. # Choose an external filter service in the drop-down menu. #;[[Image:TB102-Trust_junk_mail_headers_set_by]] <!-- Also, a better understanding of how the adaptive filter works can help you understand why message are and are not flagged as junk. The [http://mesquilla.com/extensions/junquilla/ JunQuilla] addon can help in that regard. -->

Back to History