Running spamassassin locally on mail system is causing load issues. On another system which uses Exim as an MTA shipping mail off to an array of external spamassassin systems was just a one line change in config and they were queried round-robin.
Now on a new postfix setup the transport for spamscanning looks like this in /etc/postfix/master.cf:
smtpd pass - - - - 200 smtpd -o content_filter=spamassassin
and the definition for spamassassin also in /etc/postfix/master.cf is:
spamassassin unix - n n - - pipe
user=debian-spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
I would like to get the load off of this system but cannot seem to find any documentation specifically for postfix transports for external spamassassin. The closest I have come was something I found in postfix docs http://www.postfix.org/FILTER_README.html under Advanced Content Filter Example which caused me to try editing the transport line to:
smtpd pass - - - - 200 smtpd -o content_filter=scan:<ExternalIP>:<ExternalPort>
However this rendered transport unavailable.