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 ??

Howdy,

Yeah, I believe that should work. You’ll need to log into your server, and edit your SpamAssassin local.cf file (which is in /etc/spamassassin/local.cf 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:

http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html

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

-Eric