#822 accepted
Miguel Javier

Rule to filter messages where I am the only to: recipient

Reported by Miguel Javier | June 19th, 2014 @ 11:15 AM

I would like a rule to identify messages where I am the only To: addressee. So it would only show messages that have "to:myemail@email.com", and not "to:myemail@email.com, otherperson@email.com". Let me know if there is a way to do this within the existing filters and rules. Thanks!

Comments and changes to this ticket

  • benny

    benny June 19th, 2014 @ 12:11 PM

    • State changed from “new” to “accepted”

    The long answer is in ticket #307, but it's not quite up to date. The short answer is that this is not possible using the GUI, but you can quit MailMate and then edit the following file:

    ~/Library/Application Support/MailMate/Mailboxes.plist

    Locate the rule and then change the condition from, e.g., “to.address = 'myemail@example.com'” to “to.address =[x] 'myemail@example.com'”. This tells MailMate that the comparison must be true for all addresses in the to header(s). By default, this is what happens if making a != comparison.

    I still haven't figured out how to best make this option available in the GUI.

  • Miguel Javier

    Miguel Javier June 19th, 2014 @ 01:12 PM

    Thanks for the quick response. Reading through the related ticket does make it look like a more complicated thing to add in the GUI. Will edit the plist for now.

  • benny

    benny June 19th, 2014 @ 01:19 PM

    Well, technically it's not very hard. The problem is the wording. The comparison menu already has “Case Sensitive” and “All Body Parts” (which is probably even harder to understand). Maybe “All Values” could be used as in “true for all values”. By default, it should then be disabled for “=” and enabled for “!=”.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket