Re: Thunderbird filters
On 16/01/2024 12:36, David Christensen wrote: My Debian, Thunderbird, and message filters are working very well. :-) My experience is that enough garbage appears in thunderbird profiles after several years of usage. Unsubscribed NNTP groups, IMAP caches that thunderbird considered corrupted, so another one with -1 suffix appear, server-side changes of folder name encodings, etc. One complaint is that Mozilla included whitespace in file and directory names, which we all know causes grief when using the shell: .thunderbird/dpchrist/Mail/Local Folders While thunderbird is not running, you may try to rename the profile inside prefs.js and the directory on the disk. I have no idea if global search index will be affected by such rename. .thunderbird/dpchrist/Mail/Local Folders/Unsent Messages.msf .thunderbird/dpchrist/Mail/Local Folders/Unsent Messages It should be possible to use another folder for this purpose. .thunderbird/dpchrist/ImapMail/november.he.net/Deleted Messages.msf Thunderbird may use another folder. Perhaps server might insist that such name must exist. It should be possible to unsubscribe from this folder, but I would not call it a bullet-proof solution.
Re: Thunderbird filters
On 1/15/24 18:32, Max Nikulin wrote: On 16/01/2024 04:19, David Christensen wrote: $ ll -1 .thunderbird/dpchrist/*/*/msgFilterRules.dat -rw-r--r-- 1 dpchrist dpchrist 25 2024-01-15 12:50:34 .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat -rw-r--r-- 1 dpchrist dpchrist 1011 2024-01-15 13:07:32 .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat I have realized that I may be wrong. I confused november.he-3.net and november.he.net-3. Perhaps november.he-1.net was obtained from your email using an autoconfiguration protocol. However I am still surprised that 2 ImapMail directories have been updated. If you are interested in going deeper, I would check modification time of various files under november.he*.net and would had a look into .thunderbird/dpchrist/prefs.js. Currently used dirs are like mail.server.server1.directory (with various numbers). There are some open bugs related to changing server name, e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=1483485 however I am unsure that any of them may be relevant to your configuration. My Debian, Thunderbird, and message filters are working very well. :-) One complaint is that Mozilla included whitespace in file and directory names, which we all know causes grief when using the shell: 2024-01-15 21:33:56 dpchrist@laalaa ~ $ find .thunderbird/dpchrist/ -name '* *' | grep -v dpchrist- .thunderbird/dpchrist/Mail/Local Folders .thunderbird/dpchrist/Mail/Local Folders/Unsent Messages.msf .thunderbird/dpchrist/Mail/Local Folders/Unsent Messages .thunderbird/dpchrist/ImapMail/november.he.net/Deleted Messages.msf .thunderbird/dpchrist/ImapMail/november.he.net/Sent Messages.msf .thunderbird/dpchrist/ImapMail/november.he.net/Junk E-mail.msf David
Re: Thunderbird filters
On 16/01/2024 04:19, David Christensen wrote: $ ll -1 .thunderbird/dpchrist/*/*/msgFilterRules.dat -rw-r--r-- 1 dpchrist dpchrist 25 2024-01-15 12:50:34 .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat -rw-r--r-- 1 dpchrist dpchrist 1011 2024-01-15 13:07:32 .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat I have realized that I may be wrong. I confused november.he-3.net and november.he.net-3. Perhaps november.he-1.net was obtained from your email using an autoconfiguration protocol. However I am still surprised that 2 ImapMail directories have been updated. If you are interested in going deeper, I would check modification time of various files under november.he*.net and would had a look into .thunderbird/dpchrist/prefs.js. Currently used dirs are like mail.server.server1.directory (with various numbers). There are some open bugs related to changing server name, e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=1483485 however I am unsure that any of them may be relevant to your configuration.
Re: Thunderbird filters
On 1/15/24 06:08, Max Nikulin wrote: On 15/01/2024 08:25, David Christensen wrote: /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-3.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-2.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat These set of directories might mean that thunderbird had issues with the november.he.net account and only one from this set contains actual data, others might be almost garbage consuming disk space due to stale offline message cache. I am unsure concerning profile directory structure if multiple accounts are created for different users on the same server. Today, I exited Thunderbird, reviewed all of the message filter data files, combined all of the code into one file, and removed the other files: 2024-01-15 12:50:13 dpchrist@laalaa ~ $ ll -1 .thunderbird/dpchrist/*/*/msgFilterRules.dat -rw-r--r-- 1 dpchrist dpchrist 1011 2024-01-15 12:43:39 .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat 2024-01-15 12:50:51 dpchrist@laalaa ~ $ cat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat version="9" logging="no" name="nuke" enabled="yes" type="17" action="Move to folder" actionValue="imap://dpchrist%40holgerdanske@november.he.net/nuke" action="Stop execution" condition="OR (from,contains,@domain.name) OR (from,contains,user@domain.name2)" name="Inbox-copy" enabled="yes" type="17" action="Copy to folder" actionValue="imap://dpchrist%40holgerdanske@november.he.net/Inbox-copy" condition="ALL" The first filter looks for messages from specific domains or from specific users. Matching messages are moved to the IMAP folder "nuke" and no more filters are applied to that message. The second filter copies all other incoming messages to the IMAP folder "Inbox-copy". This provides me with a backup of my incoming messages. (My outgoing messages are backed up to another e-mail account via Edit -> Account Settings -> dpchr...@holgerdanske.com -> Copies & Folders -> When sending messages, automatically -> Bcc these email addresses -> redacted.u...@redacted.domain.name.) Using Thunderbird -> Tools -> Message Filters -> Filters for -> dpchr...@holgerdanske.com, I see a filter "SpamAssassinYes" and then the two filters defined above. When I close the Message Filters dialog and exit Thunderbird, I see: 2024-01-15 12:57:23 dpchrist@laalaa ~ $ ll -1 .thunderbird/dpchrist/*/*/msgFilterRules.dat -rw-r--r-- 1 dpchrist dpchrist 25 2024-01-15 12:50:34 .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat -rw-r--r-- 1 dpchrist dpchrist 1011 2024-01-15 13:07:32 .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat -rw-r--r-- 1 dpchrist dpchrist 25 2024-01-15 12:50:36 '.thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat' Two new files have appeared: 2024-01-15 13:07:39 dpchrist@laalaa ~ $ cat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat version="9" logging="no" 2024-01-15 13:08:20 dpchrist@laalaa ~ $ cat '.thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat' version="9" logging="no" David
Re: Thunderbird filters
On 15/01/2024 08:25, David Christensen wrote: /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-3.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-2.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat These set of directories might mean that thunderbird had issues with the november.he.net account and only one from this set contains actual data, others might be almost garbage consuming disk space due to stale offline message cache. I am unsure concerning profile directory structure if multiple accounts are created for different users on the same server.
Re: Thunderbird filters
On 14/01/2024 20:10, Felix Miata wrote: Most likely the location is the same as in SeaMonkey, where there is one filter file per account, which is by default, thus: /home/username/.mozilla/profilename/Mail/smtp-name/msgFilterRules.dat I believe in TB the default may be: /home/username/.thunderbird/profilename/Mail/smtp-name/msgFilterRules.dat Mozilla profiles located in other locations are supported. They need not be anywhere in /home/ if properly configured and permissioned. I generally stay away from Gene threads, because they lead to nowhere, but I found out that in the same directory that msgFilterRules.dat resides there's a filterlog.html file that might contain information about run filters. (I can't say for sure because I don't use Thunderbird filters.) Unfortunately, Gene may have already deleted his whole home directory, including ~/.thunderbird (or not - who knows), so the log is gone. In my system the directory is actually ~/.thunderbird//ImapMail//msgFilterRules.dat -- You are destined to become the commandant of the fighting men of the department of transportation. Eduardo M KALINOWSKI edua...@kalinowski.com.br
Re: Thunderbird filters
On 1/14/24 07:56, gene heskett wrote: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' [sudo] password for gene: ./libreoffice/registry/graphicfilter.xcd ./libreoffice/registry/xsltfilter.xcd ./fonts/conf.d/11-lcdfilter-default.conf ./xdg/kshorturifilterrc ./alternatives/bogofilter ./bogofilter.cf ./apache2/mods-enabled/filter.load ./apache2/mods-available/filter.load ./apache2/mods-available/ext_filter.load ./modules-load.d/cups-filters.conf gene@coyote:/etc$ I don't see anything thunderbird there. I have some macular degeneration but wouldn't call myself blind, yet... Thanks David. Cheers, Gene Heskett. On 1/14/24 08:09, Arno Lehmann wrote: > why sudo, and why in /etc ? On 1/14/24 14:00, gene heskett wrote: > I thought find was global. Its not? My mistake then. You need to tell find(1) where to start searching via the "starting-point" argument This incantation makes it explicit that find(1) should search the ".thunderbird" subdirectory in your home directory: 2024-01-14 16:56:50 dpchrist@laalaa ~ $ find $HOME/.thunderbird -iname '*filter*' /home/dpchrist/.thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-3.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-2.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat /home/dpchrist/.thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat Once you have found the files, you can look inside for the bug. David
Re: Thunderbird filters
On 1/14/24 08:13, David Wright wrote: On Sun 14 Jan 2024 at 01:57:59 (-0800), David Christensen wrote: On 1/12/24 18:17, gene heskett wrote: On 1/12/24 15:58, David Christensen wrote: Searching for the Thunderbird message filter configuration files on my computer: 2024-01-12 12:31:57 dpchrist@taz ~ $ find .thunderbird/dpchrist -iname '*filter*' .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat Did you choose those (appropriate-looking) names? No. Thunderbird did. David
Re: Thunderbird filters
On 1/14/24 17:27, Greg Wooledge wrote: On Sun, Jan 14, 2024 at 05:00:09PM -0500, gene heskett wrote: On 1/14/24 11:10, Arno Lehmann wrote: Gene, Am 14.01.2024 um 16:56 schrieb gene heskett: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' why sudo, and why in /etc ? /etc only because I was there and sudo to get around a whole passel of no permissons. I thought find was global. Its not? My mistake then. The arguments after find which don't begin with "-" are the starting point(s). In this case, your command asks find to start in "." which is the current directory. If you were to run something like find /tmp /var -iname '*.log' then it would look for pathnames ending with .log (case-insensitive) starting in /tmp and /var. . I see. I grew into linux 26 years ago, using locate but you have to updatedb first if you want the current state. I should use find more often, its realtime. Thanks Greg. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On Sun 14 Jan 2024 at 17:11:01 (-0500), gene heskett wrote: > On 1/14/24 11:13, David Wright wrote: > > On Sun 14 Jan 2024 at 01:57:59 (-0800), David Christensen wrote: > > > On 1/12/24 18:17, gene heskett wrote: > > > > On 1/12/24 15:58, David Christensen wrote: > > > > > > > Searching for the Thunderbird message filter configuration > > > > > files on my computer: > > > > > > > > > > 2024-01-12 12:31:57 dpchrist@taz ~ > > > > > $ find .thunderbird/dpchrist -iname '*filter*' > > > > > .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat > > > > > .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat > > > > > .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat > > > > Did you choose those (appropriate-looking) names? > > > that was the other David example, not mine. Precisely. And that's why I asked the question. If David chose them (wisely), then the obviousness of their names may be of no consequence. OTOH if their names (ignoring the directory part) are "standard" ones, chosen by TB, there's a glimmer of a hope that your filters may have similar names, which you can search for. > > > > I have no such directory structure where subbing my id for > > > > dpchrist might hide: > > > > gene@coyote:~/.thunderbird$ ls > > > > 'Crash Reports' f37v8icg.default-default installs.ini > > > > 'Pending Pings' profiles.ini twpgj5qd.default > > > > > > Use find(1) instead of ls(1): > > > > > > $ find . -xdev -iname '*filter*' > > > > Random website: > > > >Create Filter Rules in Mozilla Thunderbird > > > >Let’s go over the steps you need to follow to create Thunderbird rules > > that move messages from a specific sender to a folder: > Most of the "filters" I use (and there are well over a 100 of them) > are based on the src of the mailing list they go into, and were first > made by using a list mail as the filter key, move to such and such > local directory. As to where those filters are stored, I have not > found them. Well, you now know to carry on searching, because you only looked in /etc before. > > Launch Mozilla Thunderbird. > > Open the Tools menu and choose Message Filters. > > Click New to create a new filter. > > Give the filter a suitable name. > > > > … or an unsuitable one? Cheers, David.
Re: Thunderbird filters
Am 14.01.2024 um 23:00 schrieb gene heskett: On 1/14/24 11:10, Arno Lehmann wrote: Gene, Am 14.01.2024 um 16:56 schrieb gene heskett: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' why sudo, and why in /etc ? /etc only because I was there and sudo to get around a whole passel of no permissons. I thought find was global. Its not? My mistake then. It might be helpful if you either started doing exactly what gets proposed, and not something else based upon assumptions. Even better, try to *understand* what you type. The find program, for example, has a decent manual page, and it's a very old unix tool, and thus should be covered in any tutorial, manual, or introduction textbook. I guess today you'll even find youtube videos. Anyway, it seems you already decided your mails are gone, so it's pointless investigating further. Perhaps it would be useful to remove all existing filters, if they tend to delete all your mails. I would even propose to configure yll your mail accounts to avoid removing mails from servers, and probably even see if you can make the mail servers read-only. After all, nearly every program you use seems to insist on deleting your data or at least breaking your software, if not your hardware. Cheers, Arno Thanks Arno Cheers, Arno Cheers, Gene Heskett. -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück
Re: Thunderbird filters
gene heskett composed on 2024-01-14 17:11 (UTC-0500): > David Wright wrote: >>Let’s go over the steps you need to follow to create Thunderbird rules >> that move messages from a specific sender to a folder: > Most of the "filters" I use (and there are well over a 100 of them) are > based on the src of the mailing list they go into, and were first made > by using a list mail as the filter key, move to such and such local > directory. as to where those filters are stored, I have not found them. Most likely the location is the same as in SeaMonkey, where there is one filter file per account, which is by default, thus: /home/username/.mozilla/profilename/Mail/smtp-name/msgFilterRules.dat I believe in TB the default may be: /home/username/.thunderbird/profilename/Mail/smtp-name/msgFilterRules.dat Mozilla profiles located in other locations are supported. They need not be anywhere in /home/ if properly configured and permissioned. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: Thunderbird filters
On Sun, Jan 14, 2024 at 05:00:09PM -0500, gene heskett wrote: > On 1/14/24 11:10, Arno Lehmann wrote: > > Gene, > > > > Am 14.01.2024 um 16:56 schrieb gene heskett: > > > On 1/14/24 04:58, David Christensen wrote: > > > > find . -xdev -iname '*filter*' > > > gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' > > > > why sudo, and why in /etc ? > /etc only because I was there and sudo to get around a whole passel of no > permissons. > I thought find was global. Its not? My mistake then. The arguments after find which don't begin with "-" are the starting point(s). In this case, your command asks find to start in "." which is the current directory. If you were to run something like find /tmp /var -iname '*.log' then it would look for pathnames ending with .log (case-insensitive) starting in /tmp and /var.
Re: Thunderbird filters
On 1/14/24 11:45, Max Nikulin wrote: On 13/01/2024 09:17, gene heskett wrote: Go to Thunderbird -> Edit -> Account Settings -> ghesk...@shentel.net -> Server Settings. What is the value of the field "Server Type"? IMAP MAIL Server There is a little chance that messages are still on the server. Set "mark as deleted" for delete action. Messages that have not been pruned may appear overstriked. zero chance I'd say, when it went berzerkly, I sat here trying to stop it while it was busy deleting over 4500 msgs from the server is Seattle. Maybe messages have been moved to "archived". has, or had 1 msg a phishing scam. I think I killed it. yup its empty now. Thank you Max. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 1/14/24 11:13, David Wright wrote: On Sun 14 Jan 2024 at 01:57:59 (-0800), David Christensen wrote: On 1/12/24 18:17, gene heskett wrote: On 1/12/24 15:58, David Christensen wrote: Searching for the Thunderbird message filter configuration files on my computer: 2024-01-12 12:31:57 dpchrist@taz ~ $ find .thunderbird/dpchrist -iname '*filter*' .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat Did you choose those (appropriate-looking) names? that was the other David example, not mine. I have no such directory structure where subbing my id for dpchrist might hide: gene@coyote:~/.thunderbird$ ls 'Crash Reports' f37v8icg.default-default installs.ini 'Pending Pings' profiles.ini twpgj5qd.default Use find(1) instead of ls(1): $ find . -xdev -iname '*filter*' Random website: Create Filter Rules in Mozilla Thunderbird Let’s go over the steps you need to follow to create Thunderbird rules that move messages from a specific sender to a folder: Most of the "filters" I use (and there are well over a 100 of them) are based on the src of the mailing list they go into, and were first made by using a list mail as the filter key, move to such and such local directory. As to where those filters are stored, I have not found them. Launch Mozilla Thunderbird. Open the Tools menu and choose Message Filters. Click New to create a new filter. Give the filter a suitable name. … or an unsuitable one? However, I do have in my home dir, an mbox file dated the 7th: Which may result in a clue about my raid10, its msgs from SMARTCTL running as root to me I've never rx'd containing warnings about /dev/sde which is part of that raid10 that is the systems /home directory. So I'll take a break here and go investigate that. It does lead to another question, how do I incorporate that into tbird so I get important status msgs from root?. Add the filename to your list of incoming mailboxes. That should notify you whenever something comes in to any of them. How ever t-bird has so many hot keys that pop up some config page as I'm typing what looks like a legit sentence that I may have commanded something by continuing to type after the popup shows up as it steals the focus when it does. I wish there was some way to disable that crap until I actually want to do some config stuff. Edit -> Settings does not seem to offer a way to turn off hot keys (?). All I can suggest is that you slow down and concentrate on your fingers. It's difficult to prevent accidentally executing commands, but you can prevent their altering your configuration by making the latter readonly. Myself, I use that trick with mc, so that it always starts in the same state, and any configuration changes I do make (sorting, backup/hidden file visibility, etc) are temporary and local, only lasting till I quit that instance. Cheers, David. . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 1/14/24 11:10, Arno Lehmann wrote: Gene, Am 14.01.2024 um 16:56 schrieb gene heskett: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' why sudo, and why in /etc ? /etc only because I was there and sudo to get around a whole passel of no permissons. I thought find was global. Its not? My mistake then. Thanks Arno Cheers, Arno Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 13/01/2024 09:17, gene heskett wrote: Go to Thunderbird -> Edit -> Account Settings -> ghesk...@shentel.net -> Server Settings. What is the value of the field "Server Type"? IMAP MAIL Server There is a little chance that messages are still on the server. Set "mark as deleted" for delete action. Messages that have not been pruned may appear overstriked. Maybe messages have been moved to "archived".
Re: Thunderbird filters
On Sun 14 Jan 2024 at 01:57:59 (-0800), David Christensen wrote: > On 1/12/24 18:17, gene heskett wrote: > > On 1/12/24 15:58, David Christensen wrote: > > > Searching for the Thunderbird message filter configuration > > > files on my computer: > > > > > > 2024-01-12 12:31:57 dpchrist@taz ~ > > > $ find .thunderbird/dpchrist -iname '*filter*' > > > .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat > > > .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat > > > .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat Did you choose those (appropriate-looking) names? > > I have no such directory structure where subbing my id for > > dpchrist might hide: > > gene@coyote:~/.thunderbird$ ls > > 'Crash Reports' f37v8icg.default-default installs.ini > > 'Pending Pings' profiles.ini twpgj5qd.default > > Use find(1) instead of ls(1): > > $ find . -xdev -iname '*filter*' Random website: Create Filter Rules in Mozilla Thunderbird Let’s go over the steps you need to follow to create Thunderbird rules that move messages from a specific sender to a folder: Launch Mozilla Thunderbird. Open the Tools menu and choose Message Filters. Click New to create a new filter. Give the filter a suitable name. … or an unsuitable one? > > However, I do have in my home dir, an mbox file dated the 7th: > > Which may result in a clue about my raid10, its msgs from SMARTCTL > > running as root to me I've never rx'd containing warnings about > > /dev/sde which is part of that raid10 that is the systems /home > > directory. > > So I'll take a break here and go investigate that. > > > > It does lead to another question, how do I incorporate that into > > tbird so I get important status msgs from root?. Add the filename to your list of incoming mailboxes. That should notify you whenever something comes in to any of them. > > How ever t-bird has so many hot keys that pop up some config page > > as I'm typing what looks like a legit sentence that I may have > > commanded something by continuing to type after the popup shows up > > as it steals the focus when it does. I wish there was some way to > > disable that crap until I actually want to do some config stuff. > > Edit -> Settings does not seem to offer a way to turn off hot keys > (?). All I can suggest is that you slow down and concentrate on your > fingers. It's difficult to prevent accidentally executing commands, but you can prevent their altering your configuration by making the latter readonly. Myself, I use that trick with mc, so that it always starts in the same state, and any configuration changes I do make (sorting, backup/hidden file visibility, etc) are temporary and local, only lasting till I quit that instance. Cheers, David.
Re: Thunderbird filters
Gene, Am 14.01.2024 um 16:56 schrieb gene heskett: On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' why sudo, and why in /etc ? Cheers, Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück
Re: Thunderbird filters
On 1/14/24 04:58, David Christensen wrote: find . -xdev -iname '*filter*' gene@coyote:/etc$ sudo find . -xdev -iname '*filter*' [sudo] password for gene: ./libreoffice/registry/graphicfilter.xcd ./libreoffice/registry/xsltfilter.xcd ./fonts/conf.d/11-lcdfilter-default.conf ./xdg/kshorturifilterrc ./alternatives/bogofilter ./bogofilter.cf ./apache2/mods-enabled/filter.load ./apache2/mods-available/filter.load ./apache2/mods-available/ext_filter.load ./modules-load.d/cups-filters.conf gene@coyote:/etc$ I don't see anything thunderbird there. I have some macular degeneration but wouldn't call myself blind, yet... Thanks David. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Thunderbird filters
On 1/12/24 18:17, gene heskett wrote: On 1/12/24 15:58, David Christensen wrote: Go to Thunderbird -> Edit -> Account Settings -> ghesk...@shentel.net -> Server Settings. What is the value of the field "Server Type"? IMAP MAIL Server Okay. Please run the following commands and post your console session: 2024-01-12 11:49:46 root@taz ~ # cat /etc/debian_version ; uname -a 12.4 Linux coyote 6.1.0-17-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux Okay. 2024-01-12 11:49:56 root@taz ~ # dpkg-query -W thunderbird thunderbird 1:115.6.0-1~deb12u1 Okay. Searching for the Thunderbird message filter configuration files on my computer: 2024-01-12 12:31:57 dpchrist@taz ~ $ find .thunderbird/dpchrist -iname '*filter*' .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat I have no such directory structure where subbing my id for dpchrist might hide: gene@coyote:~/.thunderbird$ ls 'Crash Reports' f37v8icg.default-default installs.ini 'Pending Pings' profiles.ini twpgj5qd.default Use find(1) instead of ls(1): $ find . -xdev -iname '*filter*' However, I do have in my home dir, an mbox file dated the 7th: Which may result in a clue about my raid10, its msgs from SMARTCTL running as root to me I've never rx'd containing warnings about /dev/sde which is part of that raid10 that is the systems /home directory. So I'll take a break here and go investigate that. It does lead to another question, how do I incorporate that into tbird so I get important status msgs from root?. I have the same need for both my Debian and FreeBSD machines. Please post the contents of your Thunderbird message filter configuration files. Redact if you must, but understand that we cannot debug what we cannot see. Appreciated David. If it happens again I will do as much of the above as I can, It does seem as if my input sorting filters are working noticeably better now. This is an imap account, aliased to mail2world by my isp. I hve increased the period of the savr's whn editing a long reply, from 5 minutes to ten, but hve made no other changes. How ever t-bird has so many hot keys that pop up some config page as I'm typing what looks like a legit sentence that I may have commanded something by continuing to type after the popup shows up as it steals the focus when it does. I wish there was some way to disable that crap until I actually want to do some config stuff. Edit -> Settings does not seem to offer a way to turn off hot keys (?). All I can suggest is that you slow down and concentrate on your fingers. Typed the above before I noted the mbox file. Thanks David. New thread when I find out whats wrong. Take care, stat warm, dry and well. Cheers, Gene Heskett. Same to you. :-) David
Re: Thunderbird filters
On 1/12/24 15:58, David Christensen wrote: On 1/12/24 05:47, Arno Lehmann wrote: Am 12.01.2024 um 14:31 schrieb gene heskett: I'm using tbird as an email agent, but it just did something both strange and scary. Its filters have been working very spotty, only when the phase of the moon was right. And it missed moving a msg from the nut list to the local nut sbbdir, so I went to the filter menu and had it add a new filter based on that msg. Then told it to "run it now". Apparently a big mistake!! tbird took about an hour, totally cleaned out the inbox at my mail server of 4080 some messages, w/o adding or moving to anything, absolutely zip to any local mail directory. No local msgs were played with, but I've lost several hundred often used addresses that were stashed in my inbox. Does anybody have a clue what did that? You will have to share the actual filter and actions you configured before anybopdy can develop any clue. Also, adding the actual version of thunderbird will be useful. 115.6.0 (64-bit) And it may be relevant to have the account type, too -- pop3, imap, whatever server side, and how your local mail storage is organized. imap Until this bug is resolved, I suggest: 1. Shut down the computer. If you have Ethernet, disconnect the cable. 2. Boot the computer. Login to your user account. If you have Wi-Fi or any other network interfaces, disable them so that your comptuer cannot connect to mail server. 3. Back up the $HOME/.thunderbird folder. 4. Start Thunderbird. Go to Tools -> Message Filters and disable all filters. Close Thunderbird. Shut down your computer. 5. If you have Ethernet, connect the cable. Boot your computer. Login to your user account. If you have Wi-Fi or any other network interfaces, enable them. 6. Start Thunderbird. Verify that all message filters are disabled. Verify that you can send and receive mail. Go to Thunderbird -> Edit -> Account Settings -> ghesk...@shentel.net -> Server Settings. What is the value of the field "Server Type"? IMAP MAIL Server Please run the following commands and post your console session: 2024-01-12 11:49:46 root@taz ~ # cat /etc/debian_version ; uname -a 12.4 Linux coyote 6.1.0-17-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux 11.8 Linux taz 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux 2024-01-12 11:49:56 root@taz ~ # dpkg-query -W thunderbird thunderbird 1:115.6.0-1~deb12u1 thunderbird 1:115.6.0-1~deb11u1 STFW for "thunderbird filter plain text dump", I found: https://support.mozilla.org/en-US/questions/1147503 Searching for the Thunderbird message filter configuration files on my computer: 2024-01-12 12:31:57 dpchrist@taz ~ $ find .thunderbird/dpchrist -iname '*filter*' .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat I have no such directory structure where subbing my id for dpchrist might hide: gene@coyote:~/.thunderbird$ ls 'Crash Reports' f37v8icg.default-default installs.ini 'Pending Pings' profiles.ini twpgj5qd.default However, I do have in my home dir, an mbox file dated the 7th: Which may result in a clue about my raid10, its msgs from SMARTCTL running as root to me I've never rx'd containing warnings about /dev/sde which is part of that raid10 that is the systems /home directory. So I'll take a break here and go investigate that. It does lead to another question, how do I incorporate that into tbird so I get important status msgs from root?. My mail hosting provider is Hurricane Electric (he.het). My account is on the host november.he.net. Looking at the contexts of above files: 2024-01-12 12:34:03 dpchrist@taz ~ $ cat '.thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat' version="9" logging="no" 2024-01-12 12:34:54 dpchrist@taz ~ $ cat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat version="9" logging="no" 2024-01-12 12:38:30 dpchrist@taz ~ $ cat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat version="9" logging="no" name="nuke" enabled="yes" type="17" action="Move to folder" actionValue="imap://dpchrist%40holgerdanske@november.he.net/nuke" action="Stop execution" condition="OR (from,contains,redacted-user@redacted-host) OR (from,contains,@redacted-host) OR ...)" name="Inbox-copy" enabled="yes" type="17" action="Copy to folder" actionValue="imap://dpchrist%40holgerdanske@november.he.net/Inbox-copy" condition="ALL" Please post the contents of your Thunderbird message filter configuration files. Redact if you must, but understand that we cannot debug what we cannot see. David . Appreciated David. If it happens again I will do as much of the above as I can, It does seem as if my input sorting filters are working noticeably better now. This is
Re: Thunderbird filters
On 1/12/24 05:47, Arno Lehmann wrote: Am 12.01.2024 um 14:31 schrieb gene heskett: I'm using tbird as an email agent, but it just did something both strange and scary. Its filters have been working very spotty, only when the phase of the moon was right. And it missed moving a msg from the nut list to the local nut sbbdir, so I went to the filter menu and had it add a new filter based on that msg. Then told it to "run it now". Apparently a big mistake!! tbird took about an hour, totally cleaned out the inbox at my mail server of 4080 some messages, w/o adding or moving to anything, absolutely zip to any local mail directory. No local msgs were played with, but I've lost several hundred often used addresses that were stashed in my inbox. Does anybody have a clue what did that? You will have to share the actual filter and actions you configured before anybopdy can develop any clue. Also, adding the actual version of thunderbird will be useful. And it may be relevant to have the account type, too -- pop3, imap, whatever server side, and how your local mail storage is organized. Until this bug is resolved, I suggest: 1. Shut down the computer. If you have Ethernet, disconnect the cable. 2. Boot the computer. Login to your user account. If you have Wi-Fi or any other network interfaces, disable them so that your comptuer cannot connect to mail server. 3. Back up the $HOME/.thunderbird folder. 4. Start Thunderbird. Go to Tools -> Message Filters and disable all filters. Close Thunderbird. Shut down your computer. 5. If you have Ethernet, connect the cable. Boot your computer. Login to your user account. If you have Wi-Fi or any other network interfaces, enable them. 6. Start Thunderbird. Verify that all message filters are disabled. Verify that you can send and receive mail. Go to Thunderbird -> Edit -> Account Settings -> ghesk...@shentel.net -> Server Settings. What is the value of the field "Server Type"? Please run the following commands and post your console session: 2024-01-12 11:49:46 root@taz ~ # cat /etc/debian_version ; uname -a 11.8 Linux taz 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux 2024-01-12 11:49:56 root@taz ~ # dpkg-query -W thunderbird thunderbird 1:115.6.0-1~deb11u1 STFW for "thunderbird filter plain text dump", I found: https://support.mozilla.org/en-US/questions/1147503 Searching for the Thunderbird message filter configuration files on my computer: 2024-01-12 12:31:57 dpchrist@taz ~ $ find .thunderbird/dpchrist -iname '*filter*' .thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat My mail hosting provider is Hurricane Electric (he.het). My account is on the host november.he.net. Looking at the contexts of above files: 2024-01-12 12:34:03 dpchrist@taz ~ $ cat '.thunderbird/dpchrist/Mail/Local Folders/msgFilterRules.dat' version="9" logging="no" 2024-01-12 12:34:54 dpchrist@taz ~ $ cat .thunderbird/dpchrist/ImapMail/november.he-1.net/msgFilterRules.dat version="9" logging="no" 2024-01-12 12:38:30 dpchrist@taz ~ $ cat .thunderbird/dpchrist/ImapMail/november.he.net/msgFilterRules.dat version="9" logging="no" name="nuke" enabled="yes" type="17" action="Move to folder" actionValue="imap://dpchrist%40holgerdanske@november.he.net/nuke" action="Stop execution" condition="OR (from,contains,redacted-user@redacted-host) OR (from,contains,@redacted-host) OR ...)" name="Inbox-copy" enabled="yes" type="17" action="Copy to folder" actionValue="imap://dpchrist%40holgerdanske@november.he.net/Inbox-copy" condition="ALL" Please post the contents of your Thunderbird message filter configuration files. Redact if you must, but understand that we cannot debug what we cannot see. David