Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fedora - Introduction to Thunderbird mail filters

#1
Introduction to Thunderbird mail filters

Everyone eventually runs into an inbox loaded with messages that they need to sort through. If you are like a lot of people, this is not a fast process. However, use of mail filters can make the task a little less tedious by letting Thunderbird pre-sort the messages into categories that reflect their source, priority, or usefulness. This article is an introduction to the creation of filters in Thunderbird.

Filters may be created for each email account you have created in Thunderbird. These are the accounts you see in the main Thunderbird folder pane shown at the left of the “Classic Layout”.

Classic Layout

There are two methods that can be used to create mail filters for your accounts. The first is based on the currently selected account and the second on the currently selected message. Both are discussed here.

Message destination folder


Before filtering messages there has to be a destination for them. Create the destination by selecting a location to create a new folder. In this example the destination will be Local Folders shown in the accounts pane. Right click on Local Folders and select New Folder… from the menu.

Creating a new folder

Enter the name of the new folder in the menu and select Create Folder. The mail to filter is coming from the New York Times so that is the name entered.

Folder creation

Filter creation based on the selected account


Select the Inbox for the account you wish to filter and select the toolbar menu item at Tools > Message_Filters.

Message_Filters menu location

The Message Filters menu appears and is set to your pre-selected account as indicated at the top in the selection menu labelled Filters for:.

Message Filters menu

Previously created filters, if any, are listed beneath the account name in the “Filter Name” column. To the right of this list are controls that let you modify the filters selected. These controls are activated when you select a filter. More on this later.

Start creating your filter as follows:

  1. Verify the correct account has been pre-selected. It may be changed if necessary.
  2. Select New… from the menu list at the right.

When you select New you will see the Filter Rules menu where you define your filter. Note that when using New… you have the option to copy an existing filter to use as a template or to simply duplicate the settings.

Filter rules are made up of three things, the “property” to be tested, the “test”, and the “value” to be tested against. Once the condition is met, the “action” is performed.

Message Filters menu

Complete this filter as follows:

  1. Enter an appropriate name in the textbox labelled Filter name:
  2. Select the property From in the left drop down menu, if not set.
  3. Leave the test set to contains.
  4. Enter the value, in this case the email address of the sender.

Under the Perform these actions: section at the bottom, create an action rule to move the message and choose the destination.

  1. Select Move Messages to from the left end of the action line.
  2. Select Choose Folder… and select Local Folders > New York Times.
  3. Select OK.

By default the Apply filter when: is set to Manually Run and Getting New Mail:. This means that when new mail appears in the Inbox for this account the filter will be applied and you may run it manually at any time, if necessary. There are other options available but they are too numerous to be discussed in this introduction. They are, however, for the most part self explanatory.

If more than one rule or action is to be created during the same session, the “+” to the right of each entry provides that option. Additional property, test, and value entries can be added. If more than one rule is created, make certain that the appropriate option for Match all of the following and Match any of the following is selected. In this example the choice does not matter since we are only setting one filter.

After selecting OK, the Message Filters menu is displayed again showing your newly created filter. Note that the menu items on the right side of the menu are now active for Edit… and Delete.

First filter in the Message Filters menu

Also notice the message “Enabled filters are run automatically in the order shown below”. If there are multiple filters the order is changed by selecting the one to be moved and using the Move to Top, Move Up, Move Down, or Move to Bottom buttons. The order can change the destination of your messages so consider the tests used in each filter carefully when deciding the order.

Since you have just created this filter you may wish to use the Run Now button to run your newly created filter on the Inbox shown to the left of the button.

Filter creation based on a message


An alternative creation technique is to select a message from the message pane and use the Create Filter From Message… option from the menu bar.

In this example the filter will use two rules to select the messages: the email address and a text string in the Subject line of the email. Start as follows:

  1. Select a message in the message page.
  2. Select the filter options on the toolbar at Message > Create Filter From Message….
Create new filters from Messages

The pre-selected message, highlighted in grey in the message pane above, determines the account used and Create Filter From Message… takes you directly to the Filter Rules menu.


The property (From), test (is), and value (email) are pre-set for you as shown in the image above. Complete this filter as follows:

  1. Enter an appropriate name in the textbox labelled Filter name:. COVID is the name in this case.
  2. Check that the property is From.
  3. Verify the test is set to is.
  4. Confirm that the value for the email address is from the correct sender.
  5. Select the “+” to the right of the From rule to create a new filter rule.
  6. In the new rule, change the default property entry From to Subject using the pulldown menu.
  7. Set the test to contains.
  8. Enter the value text to be matched in the Email “Subject” line. In this case COVID.

Since we left the Match all of the following item checked, each message will be from the address chosen AND will have the text COVID in the email subject line.

Now use the action rule to choose the destination for the messages under the Perform these actions: section at the bottom:

  1. Select Move Messages to from the left menu.
  2. Select Choose Folder… and select Local Folders > COVID in Scotland. (This destination was created before this example was started. There was no magic here.)
  3. Select OK.

OK will cause the Message Filters menu to appear, again, verifying that the new filter has been created.

The Message Filters menu


All the message filters you create will appear in the Message Filters menu. Recall that the Message Filters is available in the menu bar at Tools > Message Filters.

Once you have created filters there are several options to manage them. To change a filter, select the filter in question and click on the Edit button. This will take you back to the Filter Rules menu for that filter. As mentioned earlier, you can change the order in which the rules are apply here using the Move buttons. Disable a filter by clicking on the check mark in the Enabled column.


The Run Now button will execute the selected filter immediately. You may also run your filter from the menu bar using Tools > Run Filters on Folder or Tools > Run Filters on Message.

Next step


This article hasn’t covered every feature available for message filtering but hopefully it provides enough information for you to get started. Places for further investigation are the “property”, “test”, and “actions” in the Filter menu as well as the settings there for when your filter is to be run, Archiving, After Sending, and Periodically.

References


Mozilla: Organize Your Messages by Using Filters

MozillaZine: Message Filters



https://www.sickgaming.net/blog/2021/01/...l-filters/
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora - Contribute at the Fedora Audio, Kernel 5.11 and i18n test days xSicKxBot 0 2 6 hours ago
Last Post: xSicKxBot
  Fedora - Installing Nextcloud 20 on Fedora Linux with Podman xSicKxBot 0 26 02-16-2021, 07:51 AM
Last Post: xSicKxBot
  Fedora - Fedora Aarch64 on the SolidRun HoneyComb LX2K xSicKxBot 0 27 02-09-2021, 08:05 AM
Last Post: xSicKxBot
  Fedora - Astrophotography with Fedora Astronomy Lab: setting up xSicKxBot 0 30 02-06-2021, 04:07 AM
Last Post: xSicKxBot
  Fedora - Join Fedora at FOSDEM 2021 xSicKxBot 0 32 02-02-2021, 08:23 AM
Last Post: xSicKxBot
  Fedora - Deploy your own Matrix server on Fedora CoreOS xSicKxBot 0 44 01-21-2021, 05:40 AM
Last Post: xSicKxBot
  Fedora - Discover Fedora Kinoite: a Silverblue variant with the KDE Plasma desktop xSicKxBot 0 37 01-20-2021, 10:59 PM
Last Post: xSicKxBot
  Fedora - Java development on Fedora Linux xSicKxBot 0 35 01-20-2021, 11:29 AM
Last Post: xSicKxBot
  Fedora - A 2020 love letter to the Fedora community xSicKxBot 0 41 01-19-2021, 08:57 PM
Last Post: xSicKxBot
  Fedora - Contribute at the Fedora Test Week for Kernel 5.10 xSicKxBot 0 46 12-29-2020, 03:11 AM
Last Post: xSicKxBot

Forum Jump:

[-]
Active Threads
HOW TO: Get all steam games. (Green Luma...
Last Post: trioxyn
Today 07:28 PM
» Replies: 5
» Views: 1678
(Indie Deal) Castlevania, Pqube, Fantasy...
Last Post: xSicKxBot
Today 07:15 PM
» Replies: 0
» Views: 0
Microsoft - Digital good: How to have mo...
Last Post: xSicKxBot
Today 07:14 PM
» Replies: 0
» Views: 0
News - A Super Mario Lenticular Magnet S...
Last Post: xSicKxBot
Today 07:14 PM
» Replies: 0
» Views: 0
News - Halo Infinite's Open World Honors...
Last Post: xSicKxBot
Today 07:14 PM
» Replies: 0
» Views: 0
Blender 2.92 Released
Last Post: xSicKxBot
Today 01:09 PM
» Replies: 0
» Views: 4
Fedora - Contribute at the Fedora Audio,...
Last Post: xSicKxBot
Today 01:09 PM
» Replies: 0
» Views: 2
News - George Romero's Lost Movie The Am...
Last Post: xSicKxBot
Today 01:09 PM
» Replies: 0
» Views: 9
[Tut] How to Read a File Without Newline...
Last Post: xSicKxBot
Today 06:41 AM
» Replies: 0
» Views: 8
(Indie Deal) FREE Syberia 2 | Risk of Ra...
Last Post: xSicKxBot
Today 06:41 AM
» Replies: 0
» Views: 9

[-]
Twitter

[-]
Sponsored
Get the Deal of the Week at RefurBees.com

Copyright © SickGaming.net 2012-2020