Re-discovering filters in Opera's M2

Jul 25, 2009
Updated • Jul 24, 2009

To grow accustomed to the way M2 sorts e-mails, one has to first get rid of prejudice created by most other e-mail clients about how this kind of application is meant to work. Once you get to know it, you either love or hate the way it works. In most clients, we were used to sorting messages into virtual folders where they can be moved and stored for later referenfce. By default, M2 seems to be a bit clumsy at this since it throws all your mails into one "Received" folder and as your mail database grows larger, it becomes a total mess that is seemingly hard to put in any reasonable order. This first impression is probably the main cause of people rather switching to their ol' reliable Outlook Express or similar external application. However, a good way exists to sort messages in a convenient way, in M2 called filters.

These virtual boundaries are not much different from typical folders as we know them. They too can be used as a storage place for your e-mails with one little difference - filters are by its very substance always affected by rules that you set. These can be affected by pretty much everything that the e-mail container holds, ranging from the sender's address to the entire message body contents. And besides that, they can be extended by the use of regular expressions. Messages then only appear in the filters they were assigned to. By default, they also still appear in the root "Received" folder but this can be easily changed by enabling the "Mark messages as filtered" option, which basically ensures that they don't appear anywhere else but the places they are set to, which cleans up the root folder significantly.

Let's have a simple example. Say you would like to set a filter (folder) for all newsletters. What you do is add a filter and either have it learn what messages it should draw into itself by initially moving the e-mails in it by yourself. Or, you can choose another approach. For example, you create the filter, set it to retract all messages from address and check the "Filter existing messages" option so that all existing mails in the root folder are re-labeled (virtually re-positioned). Assuming you also checked the option to Mark messages as filtered, all items from this address now only appear in this filter, nowhere else. And should a new one arrive from this address within a second, it'll be automaticly assigned to this filter. Adding new addresses to filters is very easy, all you need to do is right-click the concerned item and select Show in > Filter name > This filter and add a rule. Opera asks you if you'd like to add current sender address and you can also choose to again refilter all existing mails.

My setup using this threaded technology now works like this: All incoming messages that have not a filter assigned appear in the "Unread" folder placed at the very top of the tree. From here, I can either "Read (K)" them, thus moving to the "Received" folder, delete them right away, assign them an existing filter or create a completely new category based on the unique content of that particular item. Other messages falling into one or more categories are automatically moved into their respective categories and I can read them after switching into those particular views.

This is a rather basic setup using little of M2's strong sorting skills but it's worked for me so far and can be further extended by applying advanced rules. Along with the quick search capability based on indexing, that is built into M2, this powerful system provides you with good options to label and very quickly locate e-mails you need to refer to at any one time. The final important thing to mention is that these filters with their rules and contents can be exported into the standard *.mbs file for backup purposed.


Previous Post: «
Next Post: «


  1. dapxin said on November 11, 2009 at 6:57 pm

    To say I have now tried to get get a hang of opera M2 filters…..

    god! Its awesomeness, with cheer simplicity.

  2. DOOOMKULTUS said on July 27, 2009 at 6:57 pm

    M2+gmail + Imap = Win

  3. Tobey said on July 26, 2009 at 5:13 pm

    Hmm, using IMAP folders sounds like a nice idea too because then you needn’t backup anything in case you’re reinstalling Opera / OS. Though, I don’t think I’ll be testing that anytime soon since my mailbox provider doesn’t support imap afaik…

    And yeah.. the search tool rocks.

  4. Rarst said on July 25, 2009 at 2:00 pm

    I’ve been using M2 for a long time but never got to filters. :) In POP3 times I hadn’t use mail that much.

    Now with gmail+imap it fits my taste more to set up filters in gmail to assign tags that show up in M2 as IMAP folders.

    And of course mail search in M2 is awesome. :)

  5. dapxin said on July 25, 2009 at 12:11 pm

    The M2(not sure its still called that) client and its auto-index is just too priceless to leave.

    It used to be very buggy back in the days, but using it with google + imap these days is simply simply delicious.

    I rarely do email sorting, but to do keyword search without that prestep of indexing yourself is a dot mazing…….

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.