On 6 Jun 2018, at 18:30, Shoshanna Green wrote:

        conditions = "(from ~[c] 'my_private_addr...@example.com' and
                             #recipient.address IS NOT AMONG
                                                      frien...@example.com,
                                                      frien...@example.com,
                                                      frien...@example.com,
                                                      frien...@example.com)"

Well, if it's hardcoded then you can do `(#recipient.address != 'frien...@example.com' and #recipient.address != 'frien...@example.com' and ...)`

but this is awkward to read and maintain, especially since the actual list of approved recipients is more than 130 addresses long. I'd much rather have it in MessageVerifications.plist than in the header of a dummy email message, if possible!

It might not be much better, but you could have a mailbox (IMAP or maybe a smart mailbox based on a tag) and then do:

conditions = "(from ~[c] 'my_private_addr...@example.com' and #recipient.address != $UUID.#recipient.address)";

Replace the `UUID` with the value you get on the pasteboard if you select the mailbox and hit ⌘C.

--
Benny
https://freron.com/become_a_mailmate_patron/
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

Reply via email to