Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Filter: Require all recipients to be in an address book

  • 1 reply
  • 1 has this problem
  • 9 views
  • Last reply by Gnospen

more options

I use Thunderbird 45.2.0 and an IMAP account. I would like to create a filter that checks whether the sender is in a specific address book and all recipients are in a (different) specific address book. Unfortunately Thunderbird seems to only check whether any recipient is in the specified address book. Is this the expected result? Can the described filter method be achieved?

Also: Is there are way (perhaps an add-on?) to use logical expressions (and/or/not) to combine filter rules?

I use Thunderbird 45.2.0 and an IMAP account. I would like to create a filter that checks whether the sender is in a specific address book and all recipients are in a (different) specific address book. Unfortunately Thunderbird seems to only check whether any recipient is in the specified address book. Is this the expected result? Can the described filter method be achieved? Also: Is there are way (perhaps an add-on?) to use logical expressions (and/or/not) to combine filter rules?

All Replies (1)

more options

A good help is FiltaQuilla With that you have options like is not in my address-book A + is not in my address-book B + .....C Add sender to address-book C

Look at msgFilterRules.dat under an account in your profile-directory and you see that filters are written as logical (and, or, not)

name="any of" enabled="no" type="17" action="Mark unread" condition="OR (subject,contains,me) OR (subject,contains,you)"

name="and-or-not" enabled="no" type="17" action="Mark unread" condition="AND (subject,begins with,new) AND (subject,doesn't contain,old) AND (subject,ends with,me)"