RealRaven2000 / FiltaQuilla

Adds many new mail filter actions to Thunderbird
http://quickfilters.quickfolders.org/filtaquilla.html
GNU General Public License v3.0
88 stars 17 forks source link

How to apply filters on "undisclosed-recipients" #231

Open jpmvferreira opened 1 year ago

jpmvferreira commented 1 year ago

Hi there, this isn't a bug report or a feature request, but rather a question.

I have several e-mails under my own domain and I use different e-mails for different services and mailing lists to keep my inboxes tidy (e.g.: github@jpferreira.me, mailing-list-X@jpferreira.me, etc.). However, some people manage to send an e-mail to me but somehow set "undisclosed-recipients" instead of who was actually sent to. Given that I got the message, the e-mail is obviously addressed to me, meaning that I am one of the undisclosed recipients, but because it simply states "undisclosed-recipients" the filter "From, To, Cc or Bcc" does not trigger.

How should I go about and fix this? Is there a more sophisticated filter that I can apply or would this require a new filter to solve? If so, how should I go about and do that?

RealRaven2000 commented 1 year ago

I don't actually know right now, I can ask on the community chat..

RealRaven2000 commented 1 year ago

I found out - you need to look for the X-Original-To or Delivered-To headers. Once you find out what it was, you can probably add these to a custom template for creating a new filter type that works well with this type of emails.

image

image

image

image

image

image

then save that as template. Next time you create a filter use it like this:

image

this should autofill the email address using the placeholder variable %delivered-to(mail)% :

image

RealRaven2000 commented 1 year ago

Sorry the instructions above are for quickFIlters (assistant) - it may still be helpful for you?

jpmvferreira commented 1 year ago

Thanks for the fast reply. Is there a community chat? I would have posted there if I knew such a thing existed.

Sorry the instructions above are for quickFIlters (assistant) - it may still be helpful for you? I use FiltaQuilla because it was the first that I found out that suits my needs, I'm not sure how it compared to quickFilters has I have never heard of it.

When it comes to the filter itself, it doesn't seem to be working. If I use the standard "From, To, CC and BCC" it works for all cases except when the "Undisclosed Recipients" is set, which as I have just found out means that I am in BCC and there is nobody in the To/CC fields. So this, at least in my mind, should trigger. Here's what my filter looks like: image