Howto: Whitelist own e-mail environment

Howto whitelist my own domain and/or network to spamassassin?

To prevent internally send e-mails to be marked or even deleted as spam you might want to whitelist your local environment.

Adding your domain to trusted senders

Add the following line to your ‘/etc/spamassassin/local.cf

whitelist_from_rcvd *@company.me

Adding your network to trusted networks

Add the following line to your ‘/etc/spamassassin/local.cf’ (both lines are equal)

trusted_networks 192.168.1. # trust all in 192.168.1.*
trusted_networks 192.168.2/8 # trust all in 192.168.2.*


See also:

Mastodon