Hi,
I use Thunderbird's Message Filters to sort my incoming mail. I have about 31 filters, some of which are long ("Delete Junk" and "Advertisements" are two, which OR m… (czytaj dalej)
Hi,
I use Thunderbird's Message Filters to sort my incoming mail. I have about 31 filters, some of which are long ("Delete Junk" and "Advertisements" are two, which OR many domains and send mail directly to trash or a specific "Adverts" folder). I also use several Linux computers and run Thunderbird on each computer for connecting to my GMail account (IMAP). I like to synchronize my filters between my Linux hosts. I've been pointed to the file for copying filters between hosts:
HOME/.thunderbird/MyProfile/ImapMail/imap.googlemail.com/msgFilterRules.dat
Copying that file between hosts (or using it as a backup after SNAP damaged my profile again) only partially works. The filter name, action, etc copies alright, but when triggered, the filter fails as the "folder" does not exist. Of course, the folder still exists and has for a long time. The following is a log entry from such a failing for a "magazine" entry for "Aeon".
[4/25/25, 12:35:15 GMT-4] Applied filter "Aeon magazine" to message from Aeon Weekly <support@aeon.co> - This week: Why AI science will be incomprehensible at 4/25/25, 12:34:22 GMT-4 moved message id = 89c6e02ebaf75bbc918731474.c3e7d573b0.20250425163412.c7ad5cda2b.7a1e170f@mail220.suw16.rsgsv.net to imap://mdalphin%40gmail.com@imap.gmail.com/Maillists/Aeon
[4/25/25, 12:35:20 GMT-4] Filter action failed: "Move failed" with error code=0x80550009 while attempting: Applied filter "Aeon magazine" to message from Aeon Weekly <support@aeon.co> - This week: Why AI science will be incomprehensible at 4/25/25, 12:34:22 GMT-4 moved message id = 89c6e02ebaf75bbc918731474.c3e7d573b0.20250425163412.c7ad5cda2b.7a1e170f@mail220.suw16.rsgsv.net to imap://mdalphin%40gmail.com@imap.gmail.com/Maillists/Aeon
The entry in msgFilterRules.dat reads as follows after the failure:
name="Aeon magazine"
enabled="no"
type="17"
action="Move to folder"
actionValue="imap://mdalphin%40gmail.com@imap.gmail.com/Maillists/Aeon"
condition="AND (from,ends with,aeon.co)"
A "diff" from a saved version of the file that worked shows that it is identical except for "enabled".
This failure happens to 100% of my filters - the "actionValue" is not recognized as I move the file between hosts or different profiles. I need to re-select the desired folder in the drop-down list of "Move to:" in the "Edit Filter" dialog.
Any idea on what is going wrong? It is as if there is some cache of recognized Imap folders that have unique IDs on a per host basis. Is there anyway I could make this copying work better without need to restore each of the 31 folders every time I make a copy?
Thanks,
Mark