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! 🎁

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Mail filter won't match both begins with and ends with "To" field.

  • 3 antwurd
  • 1 hat dit probleem
  • 10 werjeftes
  • Lêste antwurd fan Toad-Hall

more options

I'm trying to create a mail filter that matches mail that is only sent to me. i.e. The "To:" message header contains only my email address, and no others.

I've tried "To"+"is"+"my@email.address", but that still matches when there are other addresses in the To field. I've also tried 2 filter lines: 1) "To"+"begins with"+"my@email.address" 2) "To"+"ends with"+"my@email.address" But that also behaves the same.

Surely this is a bug. Thunderbird 52.7.0 (32-bit)

I'm trying to create a mail filter that matches mail that is only sent to me. i.e. The "To:" message header contains only my email address, and no others. I've tried "To"+"is"+"my@email.address", but that still matches when there are other addresses in the To field. I've also tried 2 filter lines: 1) "To"+"begins with"+"my@email.address" 2) "To"+"ends with"+"my@email.address" But that also behaves the same. Surely this is a bug. Thunderbird 52.7.0 (32-bit)

Alle antwurden (3)

more options

You have misunderstood the use of "starts with" and "ends with".

Each address is parsed separately, so the filter is applied to each addressee in turn, not to the string containing all the addresses. "starts with" is equivalent to a wildcard for the domain part of the address. "ends with" is a wildcard character for the local part of an address. "contains" allows you to specify a substring anywhere in the address.

So your own address will always match both your "ends with" and "starts with" conditions, regardless of its position in a list of addressees.

Try filtering on other peoples' addreses. (recipient is not me). When you have dealt with messages addressed in any way to someone else, what's left over must be for you alone. So you may need two filters in order to apply specific actions to the two classes of messages.

more options

Okay, I understand that now.

I've now tried a new way. I have updated my Personal Address book to ensure it does not contain my own email address. I now have 2 filter lines: To: + isn't in my address book + Personal Address Book To: + is + my@email.address

But it still doesn't seem to work. It's matching correct messages that only contain my name in To. but it's also matching other emails where To also contains addresses from my Personal Address Book.

Can you advise if this should work, or have I misunderstood another filter aspect? Thanks.

more options

Are you saying that if you get an email which is sent to a group of people and you are one of the email address, you do not want this to be picked up?

You only want emails that are ONLY send to you; no one else is in the TO or CC field?

So you are trying to filter emails ONLY to you and to separate from other emails received where you are in a group of recipients?

The problem is that you are in both types. But the other recipients of same email are not,

What happens if you try to filter the group ones where there is more than one recipient. If in address book then move to X folder. As other recipients of email are in the address book, then those emails will get moved. If you have email only to you and you are not in address book then it will leave you in Inbox.