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