Spamassassin is up and running via SMTPFILTER=TRUE and spamass-milter. Looks good. One thing though.
I'm running spamass-milter with the '-r 15' flag so that it rejects spam marked over 15 points, which works fine, but sendmail or scalix then trieds to mail a rejection notice back to the sender of the spam which in turn gets passed back through the milter and is again flagged as spam over 15 and a rejection mail is then generated from <> which goes to postmaster and gets passed through the milter again and then sendmail finally savemail panics and drops the message.
How can I get sendmail/spamass-milter to drop messages over 15 without trying to send a rejection notice?
---- example log--
Apr 5 16:59:43 vm-mail sendmail[1821]: k35NxhZA001821: from=ccook@xxx.com, size=357, class=0, nrcpts=1, msgid=<443459EF.mail1EK1XC3LT@xxx.com>, relay=root@localhost
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh35001822: from=<ccook@xxx.com>, size=553, class=0, nrcpts=1, msgid=<443459EF.mail1EK1XC3LT@xxx.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: connection from localhost [127.0.0.1] at port 38643
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: using default config for jenny@yyy.com: /var/spool/spamassassin/jenny@yyy.com/user_prefs
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: processing message <443459EF.mail1EK1XC3LT@estrider.com> for jenny@yyy.com:8
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: identified spam (999.1/5.0) for jenny@yyy.com:8 in 0.1 seconds, 769 bytes.
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: result: Y 999 - ALL_TRUSTED,GTUBE,NO_REAL_NAME scantime=0.1,size=769,user=jenny@yyy.com,uid=8,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=38643,mid=<443459EF.mail1EK1XC3LT@estrider.com>,autolearn=no
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh35001822: Milter add: header: X-Spam-Flag: YES
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh35001822: Milter add: header: X-Spam-Status: Yes, score=999.1 required=5.0 tests=ALL_TRUSTED,GTUBE,\r\n\tNO_REAL_NAME autolearn=no version=3.1.1
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh35001822: Milter: data, reject=550 5.7.1 Blocked by SpamAssassin
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh35001822: to=<jenny@yyy.com>, delay=00:00:00, pri=30553, stat=Blocked by SpamAssassin
Apr 5 16:59:44 vm-mail spamd[29356]: prefork: child states: II
Apr 5 16:59:44 vm-mail sendmail[1821]: k35NxhZA001821: to=jenny@yyy.com, ctladdr=ccook@xxx.com (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30357, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable
Apr 5 16:59:44 vm-mail sendmail[1821]: k35NxhZA001821: k35NxhZB001821: DSN: Service unavailable
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh37001822: from=<>, size=2198, class=0, nrcpts=1, msgid=<200604052359.k35NxhZB001821@vm-mail.corp.yyy.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: connection from localhost [127.0.0.1] at port 38644
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: using default config for ccook@xxx.com: /var/spool/spamassassin/ccook@xxx.com/user_prefs
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: processing message <200604052359.k35NxhZB001821@vm-mail.corp.yyy.com> for ccook@xxx.com:8
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: identified spam (998.6/5.0) for ccook@xxx.com:8 in 0.2 seconds, 2446 bytes.
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: result: Y 998 - ALL_TRUSTED,GTUBE scantime=0.2,size=2446,user=ccook@xxx.com,uid=8,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=38644,mid=<200604052359.k35NxhZB001821@vm-mail.corp.airmedia.com>,autolearn=no
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh37001822: Milter add: header: X-Spam-Flag: YES
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh37001822: Milter add: header: X-Spam-Status: Yes, score=998.6 required=5.0 tests=ALL_TRUSTED,GTUBE \r\n\tautolearn=no version=3.1.1
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh37001822: Milter: data, reject=550 5.7.1 Blocked by SpamAssassin
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh37001822: to=<ccook@xxx.com>, delay=00:00:00, pri=32198, stat=Blocked by SpamAssassin
Apr 5 16:59:44 vm-mail sendmail[1821]: k35NxhZB001821: to=ccook@xxx.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31381, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable
Apr 5 16:59:44 vm-mail sendmail[1821]: k35NxhZB001821: k35NxhZC001821: return to sender: Service unavailable
Apr 5 16:59:44 vm-mail spamd[29356]: prefork: child states: II
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh39001822: from=<>, size=3894, class=0, nrcpts=1, msgid=<200604052359.k35NxhZC001821@vm-mail.corp.yyy.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: connection from localhost [127.0.0.1] at port 38645
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: using default config for postmaster@vm-mail.corp.yyy.com: /var/spool/spamassassin/postmaster@vm-mail.corp.yyy.com/user_prefs
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: processing message <200604052359.k35NxhZC001821@vm-mail.corp.yyy.com> for postmaster@vm-mail.corp.yyy.com:8
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: identified spam (998.6/5.0) for postmaster@vm-mail.corp.yyy.com:8 in 0.1 seconds, 4212 bytes.
Apr 5 16:59:44 vm-mail spamd[1819]: spamd: result: Y 998 - ALL_TRUSTED,GTUBE scantime=0.1,size=4212,user=postmaster@vm-mail.corp.yyy.com,uid=8,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=38645,mid=<200604052359.k35NxhZC001821@vm-mail.corp.airmedia.com>,autolearn=no
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh39001822: Milter add: header: X-Spam-Flag: YES
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh39001822: Milter add: header: X-Spam-Status: Yes, score=998.6 required=5.0 tests=ALL_TRUSTED,GTUBE \r\n\tautolearn=no version=3.1.1
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh39001822: Milter: data, reject=550 5.7.1 Blocked by SpamAssassin
Apr 5 16:59:44 vm-mail sendmail[1822]: k35Nxh39001822: to=<postmaster@vm-mail.corp.yyy.com>, delay=00:00:00, pri=33894, stat=Blocked by SpamAssassin
Apr 5 16:59:44 vm-mail sendmail[1821]: k35NxhZC001821: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32405, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable
Apr 5 16:59:44 vm-mail sendmail[1821]: k35NxhZB001821: Losing ./qfk35NxhZB001821: savemail panic
Apr 5 16:59:44 vm-mail sendmail[1821]: k35NxhZB001821: SYSERR(root): savemail: cannot save rejected email anywhere