Spamassassin: how to whitelist an email domain
Add a line of the following format to the configuration file at /etc/mail/spamassassin/local.cf:
whitelist_from %MAILBOX_NAME%@%DOMAIN_NAME%For example, the following line would exclude from checks the admin@domain.com mailbox and all mailboxes of the exmaple.com domain:
whitelist_from *@exmaple.com admin@domain.comMultiple boxes can be specified in the whitelist_from directive, as well as multiple lines with the whitelist_from directive.
Restart the Spamassassin service with the following command:
systemctl restart spamassassin