LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-28-2005, 11:32 AM   #1
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
"Run Filters on Folder" does not work automatically in Thunderbird


Slackware 10.2
Thunderbird version 1.0.7 (20050923)
Custom 2.6.13.4 kernel

This computer is a new build. On my workstation (back in China) I setup filters
in Thunderbird to move email messages to folders based upon the sender.
This isn't working automatically in this Thunderbird install that came with Slack.

This is what I've done to filter the messages:
Select an email, right-click on the address in the "From:" line in the header,
choose "Create filter from message..."
In the Filter Rules dialog box:
Filter name: <address_of_email>
For incoming messages that: Match any of the following
Sender is <address_of_email>
Perform these actions:
Move to folder: <Name> on Local Folders
OK

If I receive another message from that address, it will not filter into the
folder. If I use the Thunderbird menu and select:
Tools >
Run Filters on Folder
then it will filter any messages still left in my Inbox to the desired folder.
But when subsequent messages arrive, they stay in the Inbox rather than
getting filtered to the proper folder for that sender.

I know this has worked properly in the past, as it is a feature I always use.
 
Old 11-28-2005, 12:39 PM   #2
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
Hello Chinaman,

I've not really got a helpful reply, but I have the same trouble as you and always have had regardless of using Slackware, SuSE, Windows XP and OS X. I use Thunderbird 1.07 (GB) on all those platforms/distros.

From the small amount of research I did on the web when this bothered more than it does now, I seem to remember that the stucture of your mail folders may affect the running of the filters.

As I transferred my mail structure from Eudora (fine on Macs and Windoze but no use on Linux) I have a number of folders, referenced by four mail accounts under the all encompassing "Local Folders." I have applied all of my filters to the local folder and not to the individual accounts, and so the automatic filtering does not work. There are also "issues" when you try to copy the filters between accounts.

This might give you something to go on....

Kind regards,

dkpw

Last edited by dkpw; 11-28-2005 at 01:16 PM.
 
Old 11-28-2005, 03:05 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,334

Rep: Reputation: Disabled
Thunderbird mail filters will not run automatically when your pop account is polled, when that rule has been created for the "Local Folders".

It should start working if you copy the message rule file that contains your rule(s) to the directory for your pop account:

Code:
cd ~/.thunderbird/xxxxxxxx.default/Mail
cp ./ Local\ Folders/msgFilterRules.dat ./YOUR_POP_DIRECTORY/
but check forst that you do not accidentally overwrite an existing rule set that way. If there is already a file there with existing rules, open ./ Local\ Folders/msgFilterRules.dat in an editor like vi or nano and copy the relevant rule-lines over to ./YOUR_POP_DIRECTORY/msgFilterRules.dat .
The xxxxxxxx is a string of random characters, different for you and me.

Read http://kb.mozillazine.org/Filters_%28Thunderbird%29

Eric
 
Old 11-28-2005, 09:39 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Original Poster
Rep: Reputation: 124Reputation: 124
Eric pointed me in the right direction. Thanks mate!

To make the Message Filters work automatically...

What I did was create them in Thunderbird by right-clicking on the
"From: <address>" line of an email, then choosing "Create Filter from
Message..." but they weren't saved until I selected
Tools > Message Filters > Filter Log > Enable the Filter Log

After creating them, I copied as outlined in the above post:
Code:
bruce@silas:~$ cp /home/bruce/.thunderbird/x8wbms51.default/Mail/Local\ Folders/msgFilterRules.dat /home/bruce/.thunderbird/x8wbms51.default/Mail/mail.cotse.net/
One person tested it this afternoon, but there should
be more replies to verify in the morning.
 
Old 12-05-2005, 02:17 PM   #5
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
Yes!

Thank you Alien Bob, very nice research there. Now I just have to copy the filter dat file to four computers and I'll be synced and filtered to perfection.

Kind regards,

dkpw
 
Old 02-24-2006, 08:12 PM   #6
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
Just a quick follow up.

Thunderbird 1.5 automatically applies all filters to all folders, out of the box.

Nice one Mozilla!

dkpw
 
Old 10-09-2006, 11:27 AM   #7
nedlilly
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by dkpw
Just a quick follow up.

Thunderbird 1.5 automatically applies all filters to all folders, out of the box.

Nice one Mozilla!

dkpw
Are you sure? I'm running 1.5.0.7 (for, er, Windows) ... and am seeing the same behavior wrt Local Folders filters not running.
 
Old 10-09-2006, 02:22 PM   #8
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 14.1
Posts: 661

Rep: Reputation: 38
Quote:
Originally Posted by nedlilly
Are you sure? I'm running 1.5.0.7 (for, er, Windows) ... and am seeing the same behavior wrt Local Folders filters not running.
Well, it should. If that's not the case, it's very likely that your TB-profile is damaged. Just create an new one and copy the most important files and folders from the old into the new profile (abook.mab = adressbook, Mail = your e-mails, for example). It's recommended that after an upgrade (like from TB 1.0.7 to TB 1.5, not the securitypatches like from 1.0.6 to 1.0.7) you create a new profile, it usually prevents you for minor (or sometimes larger) problems.

Same goes for Firefox, after upgrades to a new version (FF 2.0 is almost ready!), it's better to start with a new, clean profile.

Restoring (partial) back-ups to a new profile, make sure that you leave themes and extensions out! Very often, profile-problems are due to extensions/themes.

Last edited by adriv; 10-09-2006 at 02:26 PM.
 
Old 10-10-2006, 03:54 PM   #9
nedlilly
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Rep: Reputation: 0
thanks!

I've reloaded a new profile, seems to be working better now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 08:42 AM
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 06:37 AM
"rm -rf /tmp", now Evolution shows "(no folder displayed" Ed-MtnBiker Linux - Software 7 04-10-2006 05:05 PM
"<" ">" Keyboard keys on Toshiba Satellite 1005-s157 dont work RodCas Linux - Laptop and Netbook 1 05-08-2004 05:22 PM
how can i run "sh <file>" automatically when i start linux? kublador Linux - General 6 03-02-2003 06:00 PM


All times are GMT -5. The time now is 04:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration