Are there any related issues? no
What operating system are you using? Arch Linux
What version of Mailspring are you using? 1.4.2
Bug
Is this an email sync or connection issue? no
Is the issue related to a specific email provider (Gmail, Exchange, etc.)? no
I have a @krister.ee hosted by mailbox.org. If I get an email it's addressed to either of the 3:
"Anything" means I've got a catch-all set up.
So I want to create a rule that moves any email not containing krister.ee as a recipient to the spam folder.
I create a mail rule and use "Process entire mailbox" to see results:

Seems to me like the rule matches correctly only if the To field has no name (only email). If there is a Name Infront <[email protected]> then the name is matched, but not email..
Hey! Thanks for filing this鈥擨 dug in to this today and it looks like you're definitely right. I think the does not contain expression is currently implemented as any of the To components does not contain , when it should read all of the To components do not contain. So if a name is present, and the name doesn't match while the email does, it returns true.
I'll get this fixed today. 馃憤 Thanks for the detailed bug report!
Awesome, thanks :)
Hey! The fix for this shipped in v1.5.4 this afternoon. Mailspring should auto-update in the next few hours and you can also download the update directly from https://getmailspring.com/download. Happy new years!
Most helpful comment
Hey! The fix for this shipped in v1.5.4 this afternoon. Mailspring should auto-update in the next few hours and you can also download the update directly from https://getmailspring.com/download. Happy new years!