[Bug 119899]

2019-09-02 Thread Groachfriends-bugzilla
Yes, I saw your comment (Comment 58)

> "If the developers don't want to pre-index all the headers of every
email, then I can only suggest that when a user adds a custom header to
search with, that this action prompts a request to automatically reindex
all the email in the persons account. Alternatively just get the program
to re-download the headers of each email as it searches"

This just doesnt seem feasible to me.  Imagine an account that has a few
hundred thousand emails spread throughout 50 or more folders.  And then
a user that just added a new custom header with a view of doing a search
on the folder (example) "DEALT_2014" is now prompted (or worse,
automatically FORCED to wait for) his thunderbird client to cycle
through all 50+ folders, rebuilding them and re-downloading those
hundreds of thousands emails again.  It could take hours (being server,
network and machine environment dependant).  And after all he just wants
to find that ONE or TWO emails he knows exists in 'DEALT_2014' (that
contains only 200 emails).  It would have been better for him to simply
manually choose to Rebuild the folder 'DEALT_2104' - taking a few
seconds and getting his search results he is looking for as quick as
possible.

Is it really that hard to do 'right-click - properties - Repair Folder'?
Im sure that anyone that has the knowledge, or is learning the
knowledge, of creating 'custom header-based filters' is also very well
adapted to learning the extra part of the procedure (namely "after
creating your custom header and the filter, rebuild the desired folder
you choose to run the filter on").

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/119899

Title:
  After-the-fact Filters on custom header won't match for IMAP messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/119899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 119899]

2019-09-02 Thread Groachfriends-bugzilla
Ok, I have just done a complete re-test and confirm that it seems to be
working for me now.  To be clear, my (previously failing) test was:

1, Receive an email that may have custom headers in it. (eg, X-customheader-set)
2, set up a message filter to look for and action on that customer header 
(X-customheader-set)
3, Run Manually the new filter

The result was that the filter didnt detect the headers.

HOWEVER  after reading this  I see that Thunderbird needs to have
the CUSTOM HEADER already defined in the Message Filter Setup (and
therefore begins to record the occurrence) of the header prior to the
messages being received.  It is because the customer header is being set
up AFTER the message arrives that it is not being found.

SO THE SOLUTION IS:

After you set up a new CUSTOMER HEADER (in Message Filter setup) to
search for in the Filters List, you need to do a 'Folder Repair' (which
rebuilds the MSF file for the folder) on the folders concerned.  This
then forces Thunderbird to record the existence of the custom header in
the MSF file and you will then see that the messages are actioned
accordingly to the new filter.  Also, any NEW messages received AFTER
THE CREATION of your customer header will be actioned on automatically
(according to your filter definition)

So, to set up a NEW filter for Custom Headers on existing messages, the
process should be:

1, Receive an email that may have custom headers in it. (eg, X-customheader-set)
2, set up a message filter to look for and action on that customer header 
(X-customheader-set)
3, do FOLDER REBUILD on the folders that you will be running this filter 
against.
4, (Manually Run the new filter if you need to - depending on your Filter 
definition)
5, Any NEW messages with X-customheader-set will be actioned accordingly as per 
your Filter

For me there is now no problem regarding this 'issue'.

Using TB 31.6

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/119899

Title:
  After-the-fact Filters on custom header won't match for IMAP messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/119899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 119899]

2019-09-02 Thread Groachfriends-bugzilla
Yes, a fair point.  Maybe a switchable toggle eg, "Do not show this
again" stored in CONFIG.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/119899

Title:
  After-the-fact Filters on custom header won't match for IMAP messages

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/119899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs