How can I make white- or blacklists?

How can I make white or blacklists for emailaddresses?

In the current version you can only make whitelisted emailaddresses in the gui. Blacklisted emailadresses can only be setup in the heurastic scanning module.

To add email addresses you have to edit local.cf file in the ./config directory. For basic white- and blacklisting the following commands are available:

whitelist_from
Used to specify addresses which send mail that is often tagged (incorrectly) as spam.

blacklist_from
Used to specify addresses which send mail that is often tagged (incorrectly) as non-spam.

whitelist_to
If the given address appears as a recipient in the message headers (Resent-To, To, Cc, obvious envelope recipient, etc.) the mail will be whitelisted. Useful if certain users dont want their mail filtered.

blacklist_to
If the given address appears as a recipient in the message headers (Resent-To, To, Cc, obvious envelope recipient, etc.) the mail will be blacklisted.

Whitelist and blacklist addresses are now file-glob-style patterns, so friend@somewhere.com, *@isp.com, or *.domain.net will all work. Specifically, * and ? are allowed, but all other metacharacters are not. Regular expressions are not used for security reasons.
Multiple addresses per line, separated by spaces, are allowed. Multiple lines of above examples are also allowed

For all available options concerning white and blacklisting, check the Mail::SpamAssassin::Conf White and Blacklist options description.