Code: Select all
mcedit /etc/spamassassin/local.cf
whitelist_from *@domain.com
Example:
Code: Select all
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
# Only a small subset of options are listed below
#
###########################################################################
# Add *****SPAM***** to the Subject header of spam e-mails
#
# rewrite_header Subject *****SPAM*****
# Save spam messages as a message/rfc822 MIME attachment instead of
# modifying the original message (0: off, 2: use text/plain instead)
#
# report_safe 1
dns_server 127.0.0.1
whitelist_from *@domain.com
Code: Select all
systemctl restart spamassassin