Skip Spamassassin for backup MX

I have a backup MX running which also does spamchecks, postgrey, etc… So all mail coming in from this host is pretty clean…

How can I prevent my main mailserver from scanning those messages again through spamd ??


Yeah, I believe that should work. You’ll need to log into your server, and edit your SpamAssassin file (which is in /etc/spamassassin/ on Debian/Ubuntu systems).

Then, you may want to look into adding your MX host to both “internal_networks” and “trusted_networks”. You can read about the specifics of how those work here:

After that, you’d need to restart SpamAssassin. Then, run some tests and let us know how it worked :slight_smile: