To make work a bit easier for the filter and to make sure the good mail from the good senders you know does go to the Inbox unhampered, you can tell Mac OS X Mail who you know and never to treat these sender's mail as spam.
Prevent Mac OS X Mail From Filtering Known Senders' Mail as Spam
To make sure Mac OS X Mail does not filtering as spam messages from known sender:
- Select Mail | Preferences... from the menu in Mac OS X Mail.
- Go to the Junk Mail category.
- Make sure Sender of message is in my Address Book is checked under The following types of messages are exempt from junk mail filtering:.
- Optionally, check Sender of message is in my Previous Recipients as well.
- Close the preferences window.
- Add any known sender to your Mac OS X Address Book.
- You can do that easily and fast from existing messages.
- Unfortunately, whitelisting complete domains is not possible via this route. You can whitelist "heinz@example.com" by adding that address to your Address Book, but not all mail coming from any address that ends in "example.com". You can whitelist domains using a filter, though.

