Skip Spamassassin for backup MX

2 posts / 0 new
Last post
#1 Thu, 01/13/2011 - 04:49
zonez

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

Thu, 01/13/2011 - 08:52
andreychek

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 :-)

-Eric

Topic locked