How to Whitelist a Domain in Mac OS X Mail

To whitelist all email from a specific domain in the Mail app in Mac OS X  or macOS:

To make sure the rule is executed before other rules that might act on the same message for other reasons, drag it near the top of the rules list. If you have a filter that color-codes certain messages based on keywords in the subject, for example, make sure the domain whitelist rule is above that labeling rule.